Browse Source

Test

etomic
jl777 8 years ago
parent
commit
3bad3ad52f
  1. 2
      iguana/exchanges/stats.c

2
iguana/exchanges/stats.c

@ -67,7 +67,7 @@ void stats_datenumupdate(int32_t datenum,int32_t hour,int32_t seconds,uint32_t t
if ( srcamount != 0 && destamount != 0 )
price = (double)destamount / srcamount;
else price = 0.;
printf("%d.%02d.%04d ht.%-4d %s (%s %12.8f) -> (%s %12.8f) %16.8f\n",datenum,hour,seconds,height,key,source,dstr(srcamount),dest,dstr(destamount),price);
printf("%d.%02d.%04d ht.%-4d %s (%s %12.8f) -> (%s %12.8f) %16.8f %16.8f\n",datenum,hour,seconds,height,key,source,dstr(srcamount),dest,dstr(destamount),price,1/price);
}
}

Loading…
Cancel
Save