fix
This commit is contained in:
parent
5e07b0450b
commit
173f7c1b97
@ -94,6 +94,7 @@ function order {
|
|||||||
f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_stoploss}))"
|
f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_stoploss}))"
|
||||||
f_stoploss=$f_ccxt_result
|
f_stoploss=$f_ccxt_result
|
||||||
f_params="${f_params}'stopLossPrice': '$f_stoploss', "
|
f_params="${f_params}'stopLossPrice': '$f_stoploss', "
|
||||||
|
fi
|
||||||
if [ -n "$f_takeprofit" ]
|
if [ -n "$f_takeprofit" ]
|
||||||
then
|
then
|
||||||
f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_takeprofit}))"
|
f_ccxt "print($STOCK_EXCHANGE.priceToPrecision('${f_symbol}', ${f_takeprofit}))"
|
||||||
|
Loading…
Reference in New Issue
Block a user