From faa1a9d56398025e278c098ce8a59e24d072ffe3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 19 Feb 2018 02:57:37 +0200 Subject: [PATCH] -prints --- iguana/exchanges/LP_prices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index 38c431ea9..142a86bd9 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -536,14 +536,14 @@ int32_t LP_mypriceset(int32_t *changedp,char *base,char *rel,double price) } else if ( (minprice= basepp->minprices[relpp->ind]) > SMALLVAL && price < minprice ) { - printf("%s/%s price %.8f less than minprice %.8f\n",base,rel,price,minprice); + //printf("%s/%s price %.8f less than minprice %.8f\n",base,rel,price,minprice); price = minprice * (1. - margin); } else if ( (maxprice= relpp->minprices[basepp->ind]) > SMALLVAL ) { if ( price > (1. / maxprice) ) { - printf("%s/%s price %.8f less than maxprice %.8f, more than %.8f\n",base,rel,price,maxprice,1./maxprice); + //printf("%s/%s price %.8f less than maxprice %.8f, more than %.8f\n",base,rel,price,maxprice,1./maxprice); price = (1. / maxprice) * (1. + margin); } }