Fix typo
This commit is contained in:
parent
41cb2a6451
commit
9d4b5cc6bb
@ -103,7 +103,7 @@ class IHyperOpt(ABC):
|
|||||||
roi_t_alpha = 1.0
|
roi_t_alpha = 1.0
|
||||||
roi_p_alpha = 1.0
|
roi_p_alpha = 1.0
|
||||||
|
|
||||||
timeframe_min = timeframe_to_minutes(self.ticker_interval)
|
timeframe_min = timeframe_to_minutes(self.timeframe)
|
||||||
|
|
||||||
# We define here limits for the ROI space parameters automagically adapted to the
|
# We define here limits for the ROI space parameters automagically adapted to the
|
||||||
# timeframe used by the bot:
|
# timeframe used by the bot:
|
||||||
|
@ -57,7 +57,7 @@ class SampleStrategy(IStrategy):
|
|||||||
|
|
||||||
# Hyperoptable parameters
|
# Hyperoptable parameters
|
||||||
buy_rsi = IntParameter(low=1, high=50, default=30, space='buy', optimize=True, load=True)
|
buy_rsi = IntParameter(low=1, high=50, default=30, space='buy', optimize=True, load=True)
|
||||||
sell_rsi = IntParameter(low=50, high=100, defualt=70, space='buy', optimize=True, load=True)
|
sell_rsi = IntParameter(low=50, high=100, default=70, space='sell', optimize=True, load=True)
|
||||||
|
|
||||||
# Optimal timeframe for the strategy.
|
# Optimal timeframe for the strategy.
|
||||||
timeframe = '5m'
|
timeframe = '5m'
|
||||||
|
Loading…
Reference in New Issue
Block a user