Fix typo
This commit is contained in:
		| @@ -103,7 +103,7 @@ class IHyperOpt(ABC): | ||||
|         roi_t_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 | ||||
|         # timeframe used by the bot: | ||||
|   | ||||
| @@ -57,7 +57,7 @@ class SampleStrategy(IStrategy): | ||||
|  | ||||
|     # Hyperoptable parameters | ||||
|     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. | ||||
|     timeframe = '5m' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user