diff --git a/dabo/functions/get_positions.sh b/dabo/functions/get_positions.sh index 465e97e..c96c099 100644 --- a/dabo/functions/get_positions.sh +++ b/dabo/functions/get_positions.sh @@ -71,6 +71,8 @@ select(.entryPrice != 0) | [ -n "$f_takeprofit" ] && sed -i "/^$f_symbol,.*,${p[${f_asset}_side]},/s/^\(\([^,]*,\)\{7\}\)[^,]*/\1$f_takeprofit/" CCXT_POSITIONS fi + return 0 + done }