IHyperopt: all methods static, somef ixes for mypy
This commit is contained in:
@@ -45,7 +45,8 @@ class SampleHyperOpts(IHyperOpt):
|
||||
dataframe['sar'] = ta.SAR(dataframe)
|
||||
return dataframe
|
||||
|
||||
def buy_strategy_generator(self, params: Dict[str, Any]) -> Callable:
|
||||
@staticmethod
|
||||
def buy_strategy_generator(params: Dict[str, Any]) -> Callable:
|
||||
"""
|
||||
Define the buy strategy parameters to be used by hyperopt
|
||||
"""
|
||||
|
Reference in New Issue
Block a user