From 173f7c1b975b72d89f5c5b9c124085619f6871c2 Mon Sep 17 00:00:00 2001 From: olli Date: Sat, 31 Aug 2024 17:47:23 +0200 Subject: [PATCH] fix --- dabo/functions/order.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dabo/functions/order.sh b/dabo/functions/order.sh index d86d404..34a7794 100644 --- a/dabo/functions/order.sh +++ b/dabo/functions/order.sh @@ -94,6 +94,7 @@ function order { f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_stoploss}))" f_stoploss=$f_ccxt_result f_params="${f_params}'stopLossPrice': '$f_stoploss', " + fi if [ -n "$f_takeprofit" ] then f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_takeprofit}))"