From 8682106cfe0bb86b4cc1c886bfc67fed4800f59e Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 4 Jun 2017 17:43:03 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index 11fe322aa..c839c5182 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -320,11 +320,11 @@ cJSON *LP_autotrade(struct LP_utxoinfo *myutxo,char *base,double maxprice) if ( (price= prices[i]) != 0. && Q[i].destsatoshis != 0 ) { metric = price / bestprice; - printf("%f %f ",price,metric); + printf("%f %f %f %f ",price,metric,dstr(Q[i].destsatoshis),metric * metric * metric); if ( metric < 1.1 ) { metric = dstr(Q[i].destsatoshis) * metric * metric * metric; - printf("%f, ",metric); + printf("%f\n",metric); if ( bestmetric == 0. || metric < bestmetric ) { besti = i;