This commit is contained in:
olli 2024-11-05 13:44:20 +01:00
parent fb0c346e2f
commit 5536abbd0b

View File

@ -136,7 +136,6 @@ function order {
g_echo_warn "Short Order not possible:TakeProfit ($f_takeprofit) higher then buy price ($f_price)" g_echo_warn "Short Order not possible:TakeProfit ($f_takeprofit) higher then buy price ($f_price)"
return 1 return 1
fi fi
f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_takeprofit}))" f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_takeprofit}))"
f_takeprofit=$f_ccxt_result f_takeprofit=$f_ccxt_result
f_params="${f_params}'takeProfitPrice': '$f_takeprofit', " f_params="${f_params}'takeProfitPrice': '$f_takeprofit', "