Browse Source

Test

etomic
jl777 7 years ago
parent
commit
94d2507f19
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_portfolio.c

2
iguana/exchanges/LP_nativeDEX.c

@ -716,7 +716,7 @@ void LP_pubkeysloop(void *ctx)
{
static uint32_t lasttime; cJSON *retjson; struct iguana_info *coin,*tmp;
strcpy(LP_pubkeysloop_stats.name,"LP_pubkeysloop");
LP_pubkeysloop_stats.threshold = 5000.;
LP_pubkeysloop_stats.threshold = 15000.;
sleep(10);
while ( 1 )
{

2
iguana/exchanges/LP_portfolio.c

@ -481,7 +481,7 @@ void LP_autoprice_iter(void *ctx,struct LP_priceinfo *btcpp)
relpp = LP_priceinfofind(LP_autorefs[i].rel);
if ( basepp != 0 && relpp != 0 )
{
printf("check ref-autoprice %s/%s %f\n",LP_autorefs[i].refbase,LP_autorefs[i].refrel,relpp->fixedprices[basepp->ind]);
printf("check ref-autoprice %s/%s %f %f\n",LP_autorefs[i].refbase,LP_autorefs[i].refrel,relpp->fixedprices[basepp->ind],basepp->fixedprices[relpp->ind]);
LP_autopriceset(ctx,1,basepp,relpp,0.,LP_autorefs[i].refbase,LP_autorefs[i].refrel);
}
}

Loading…
Cancel
Save