Skip to content

Commit 1519f06

Browse files
committed
sell_stoploss: rework.
1 parent d209656 commit 1519f06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

NostalgiaForInfinityX.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class NostalgiaForInfinityX(IStrategy):
107107
INTERFACE_VERSION = 2
108108

109109
def version(self) -> str:
110-
return "v10.9.71"
110+
return "v10.9.72"
111111

112112
# ROI table:
113113
minimal_roi = {
@@ -2362,9 +2362,9 @@ def sell_stoploss(self, current_profit: float, max_profit: float, max_loss: floa
23622362
and (last_candle['rsi_14'] > (last_candle['rsi_14_1h'] + 20.0))
23632363
and (last_candle['sma_200_dec_20'])
23642364
and (last_candle['sma_200_dec_24'])
2365-
and (current_time - timedelta(minutes=4320) > trade.open_date_utc)
2365+
and (current_time - timedelta(minutes=5760) > trade.open_date_utc)
23662366
# temporary
2367-
and (trade.open_date_utc + timedelta(minutes=8000) > current_time )
2367+
and (trade.open_date_utc + timedelta(minutes=9000) > current_time )
23682368
):
23692369
return True, 'sell_stoploss_u_e_1'
23702370

0 commit comments

Comments
 (0)