more logging commented out
This commit is contained in:
@@ -2483,7 +2483,7 @@ int64_t komodo_pricecorrelated(uint64_t seed,int32_t ind,uint32_t *rawprices,int
|
|||||||
}
|
}
|
||||||
if ( price >= lowprice && price <= highprice )
|
if ( price >= lowprice && price <= highprice )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"%.1f ",(double)price/10000);
|
//fprintf(stderr,"%.1f ",(double)price/10000);
|
||||||
sum += price;
|
sum += price;
|
||||||
correlation++;
|
correlation++;
|
||||||
if ( correlation > (PRICES_DAYWINDOW>>1) )
|
if ( correlation > (PRICES_DAYWINDOW>>1) )
|
||||||
@@ -2521,7 +2521,7 @@ int64_t komodo_pricecorrelated(uint64_t seed,int32_t ind,uint32_t *rawprices,int
|
|||||||
if ( nonzprices[i] != 0 )
|
if ( nonzprices[i] != 0 )
|
||||||
break;
|
break;
|
||||||
firstprice = nonzprices[i];
|
firstprice = nonzprices[i];
|
||||||
fprintf(stderr,"firsti.%d: ",i);
|
//fprintf(stderr,"firsti.%d: ",i);
|
||||||
for (i=0; i<PRICES_DAYWINDOW; i++)
|
for (i=0; i<PRICES_DAYWINDOW; i++)
|
||||||
{
|
{
|
||||||
if ( (price= nonzprices[i]) != 0 )
|
if ( (price= nonzprices[i]) != 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user