From 5adfc2920f245adfbbb00220304c6eb4fb81f176 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 3 Dec 2024 20:35:20 +0100 Subject: [PATCH] fix --- dabo/functions/get_positions.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dabo/functions/get_positions.sh b/dabo/functions/get_positions.sh index c96c099..eea135c 100644 --- a/dabo/functions/get_positions.sh +++ b/dabo/functions/get_positions.sh @@ -70,11 +70,9 @@ select(.entryPrice != 0) | [ -n "$f_stoploss" ] && sed -i "/^$f_symbol,.*,${p[${f_asset}_side]},/s/^\(\([^,]*,\)\{6\}\)[^,]*/\1$f_stoploss/" CCXT_POSITIONS [ -n "$f_takeprofit" ] && sed -i "/^$f_symbol,.*,${p[${f_asset}_side]},/s/^\(\([^,]*,\)\{7\}\)[^,]*/\1$f_takeprofit/" CCXT_POSITIONS fi - - return 0 - done - + + return 0 } function get_position_array {