diff --git a/NostalgiaForInfinityX4.py b/NostalgiaForInfinityX4.py index 784d649f3b..3e4c60b968 100644 --- a/NostalgiaForInfinityX4.py +++ b/NostalgiaForInfinityX4.py @@ -68,7 +68,7 @@ class NostalgiaForInfinityX4(IStrategy): INTERFACE_VERSION = 3 def version(self) -> str: - return "v14.1.309" + return "v14.1.310" stoploss = -0.99 @@ -16424,10 +16424,10 @@ def long_adjust_trade_position_no_derisk( for order2 in filled_orders: if order2.ft_order_side == "buy": current_amount += order2.safe_filled - if order2.ft_order_side == "sell": + elif order2.ft_order_side == "sell": current_amount -= order2.safe_filled if order2 is order: - if current_amount < (start_amount * 0.99): + if current_amount < (start_amount * 0.95): is_derisk = True # found sells for all modes if rebuy_is_sell_found and grind_1_is_sell_found and grind_2_is_sell_found and grind_3_is_sell_found: