Browse Source

Test

etomic
jl777 8 years ago
parent
commit
924d73ae02
  1. 3
      iguana/exchanges/DEXstats.h

3
iguana/exchanges/DEXstats.h

@ -771,8 +771,9 @@ struct DEXstats_priceinfo *stats_prices(char *symbol,char *dest,struct DEXstats_
if ( strcmp(Prices[i].symbol,symbol) == 0 )
{
pp = &Prices[i];
if ( datenum >= pp->firstdatenum && datenum < pp->firstdatenum+pp->numdates )
if ( leftdatenum >= pp->firstdatenum && leftdatenum < pp->firstdatenum+pp->numdates )
{
printf(" (%s) numdates %d 1st %d left %d\n",symbol,pp->numdates,pp->firstdatenum,leftdatenum);
for (j=0; j<pp->numdates; j++)
{
datenum = pp->firstdatenum+j;

Loading…
Cancel
Save