diff --git a/strategies/example.strategy.sh b/strategies/example.strategy.sh index c28f0c4..9410f96 100644 --- a/strategies/example.strategy.sh +++ b/strategies/example.strategy.sh @@ -205,7 +205,7 @@ do [[ $side = short ]] && entry_price=${v[${asset}_levels_1w_next_up]} # if entry price not given set to current price - [ -z "$entry_price" ] && entry_price=${v[BTCUSDT_price]} + [ -z "$entry_price" ] && entry_price=${v[${asset}_price]} # check for updates if order with entry price is already defined if [ -n "${o[${asset}_open_${side}_entry_price]}" ]