From cf181e5ae90689fae4a3e35524a4eabd077b6621 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 15 Jul 2017 16:28:10 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_commands.c | 2 +- iguana/exchanges/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_commands.c b/iguana/exchanges/LP_commands.c index ccff2d66c..401460235 100644 --- a/iguana/exchanges/LP_commands.c +++ b/iguana/exchanges/LP_commands.c @@ -172,7 +172,7 @@ trust(pubkey, trust)\n\ } else if ( strcmp(method,"autoprice") == 0 ) { - if ( LP_autoprice(base,rel,price,jdouble(argjson,"margin")) < 0 ) + if ( LP_autoprice(base,rel,price,jdouble(argjson,"margin")) >= 0 ) return(clonestr("{\"error\":\"couldnt set autoprice\"}")); else return(clonestr("{\"error\":\"autoprice error\"}")); } diff --git a/iguana/exchanges/install b/iguana/exchanges/install index da1ceb75a..d790f4a8d 100755 --- a/iguana/exchanges/install +++ b/iguana/exchanges/install @@ -1,4 +1,4 @@ -cp deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts +cp autoprice autofill deletemessages getmessages debug register registerall trade ordermatch bestfit orderbook autotrade client run_osx client_osx run coins disable enable forward myprice myprices getcoins getpeers getpeersIP getprices getutxos help inv lookup pub setprice status utxos ../dexscripts cd ../dexscripts #cp ../exchanges/passphrase ../exchanges/userpass . echo you will need to have a passphrase file with your passphrase and userpass file with userpass value in dexscripts dir