This commit is contained in:
olli 2024-08-31 17:47:23 +02:00
parent 5e07b0450b
commit 173f7c1b97

View File

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