From 4b6e001e6da0c8a57ddf2d9772596cec047df17a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 31 Mar 2018 14:15:07 +0300 Subject: [PATCH] Autoprice with USD pegs --- iguana/exchanges/LP_portfolio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_portfolio.c b/iguana/exchanges/LP_portfolio.c index 9bd158908..73d621e1e 100644 --- a/iguana/exchanges/LP_portfolio.c +++ b/iguana/exchanges/LP_portfolio.c @@ -592,7 +592,7 @@ void LP_autoprice_iter(void *ctx,struct LP_priceinfo *btcpp) } if ( factor > 0. ) { - printf("USD %.8f KMDBTC %.8f pricebtc %.8f price %.8f -> factor %.8f %.8f\n",price_usd,kmd_btc,price_btc,price,factor,(price * factor) + offset); + //printf("USD %.8f KMDBTC %.8f pricebtc %.8f price %.8f -> factor %.8f %.8f\n",price_usd,kmd_btc,price_btc,price,factor,(price * factor) + offset); price = (price * factor) + offset; } newprice = (price * (1. + buymargin));