Browse Source

Test

etomic
jl777 7 years ago
parent
commit
8a6adb04ca
  1. 4
      iguana/exchanges/LP_nativeDEX.c

4
iguana/exchanges/LP_nativeDEX.c

@ -755,11 +755,11 @@ void LP_price_broadcastloop(void *ctx)
if ( basepp != 0 && relpp != 0 && (price= basepp->myprices[relpp->ind]) > SMALLVAL)
{
//printf("automated price broadcast %s/%s %.8f\n",relpp->symbol,basepp->symbol,price);
LP_pricepings(ctx,LP_myipaddr,LP_mypubsock,basepp->symbol,relpp->symbol,price);
LP_pricepings(ctx,LP_myipaddr,LP_mypubsock,basepp->symbol,relpp->symbol,1./price);
}
}
}
sleep(60);
sleep(LP_ORDERBOOK_DURATION * .9);
}
}

Loading…
Cancel
Save