rip out hyperopt things from strategy, add indicator populating to hyperopt
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from pandas import DataFrame
|
||||
from typing import Dict
|
||||
|
||||
|
||||
class IStrategy(ABC):
|
||||
@@ -43,15 +42,3 @@ class IStrategy(ABC):
|
||||
:param dataframe: DataFrame
|
||||
:return: DataFrame with buy column
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def hyperopt_space(self) -> Dict:
|
||||
"""
|
||||
Define your Hyperopt space for the strategy
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
def buy_strategy_generator(self, params) -> None:
|
||||
"""
|
||||
Define the buy strategy parameters to be used by hyperopt
|
||||
"""
|
||||
|
Reference in New Issue
Block a user