rip out hyperopt things from strategy, add indicator populating to hyperopt

This commit is contained in:
Janne Sinivirta
2018-01-23 16:56:12 +02:00
parent a6cbc1ba16
commit c400d15ed1
6 changed files with 272 additions and 187 deletions

View File

@@ -164,15 +164,3 @@ class Strategy(object):
:return: DataFrame with buy column
"""
return self.custom_strategy.populate_sell_trend(dataframe)
def hyperopt_space(self) -> Dict:
"""
Define your Hyperopt space for the strategy
"""
return self.custom_strategy.hyperopt_space()
def buy_strategy_generator(self, params) -> None:
"""
Define the buy strategy parameters to be used by hyperopt
"""
return self.custom_strategy.buy_strategy_generator(params)