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}))"