Skip to content

Commit

Permalink
X5: fix for doom stops date check.
Browse files Browse the repository at this point in the history
  • Loading branch information
iterativv committed Nov 27, 2024
1 parent 43f6a21 commit a7276cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NostalgiaForInfinityX5.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class NostalgiaForInfinityX5(IStrategy):
INTERFACE_VERSION = 3

def version(self) -> str:
return "v15.1.247"
return "v15.1.248"

stoploss = -0.99

Expand Down Expand Up @@ -24275,7 +24275,7 @@ def long_exit_stoploss(
/ trade.leverage
)
)
and (self.has_valid_entry_conditions("long", last_candle) == False)
# and (self.has_valid_entry_conditions("long", last_candle) == False)
# temporary
and (trade.open_date_utc.replace(tzinfo=None) >= datetime(2024, 9, 13) or is_backtest)
):
Expand Down Expand Up @@ -41317,7 +41317,7 @@ def short_exit_stoploss(
/ trade.leverage
)
)
and (self.has_valid_entry_conditions("short", last_candle) == False)
# and (self.has_valid_entry_conditions("short", last_candle) == False)
# temporary
and (trade.open_date_utc.replace(tzinfo=None) >= datetime(2024, 9, 13) or is_backtest)
):
Expand Down

0 comments on commit a7276cd

Please sign in to comment.