Skip to content

Commit e1be978

Browse files
committed
sell_stoploss: rework.
1 parent 9d56978 commit e1be978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NostalgiaForInfinityX.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class NostalgiaForInfinityX(IStrategy):
113113
INTERFACE_VERSION = 2
114114

115115
def version(self) -> str:
116-
return "v11.0.337"
116+
return "v11.0.338"
117117

118118
# ROI table:
119119
minimal_roi = {
@@ -2498,7 +2498,7 @@ def sell_stoploss(self, current_profit: float, max_profit: float, max_loss: floa
24982498
and (last_candle['sma_200_dec_20'])
24992499
and (last_candle['cmf'] < -0.0)
25002500
# temporary
2501-
and (trade.open_date_utc.replace(tzinfo=None) > datetime(2022, 2, 8) or is_backtest)
2501+
and (trade.open_date_utc.replace(tzinfo=None) > datetime(2022, 2, 20) or is_backtest)
25022502
):
25032503
return True, 'sell_stoploss_doom'
25042504

0 commit comments

Comments
 (0)