Add sell signal hyperopt

This commit is contained in:
Matthias
2019-01-06 10:16:30 +01:00
parent b731973c7a
commit 68ba1e1f37
5 changed files with 144 additions and 2 deletions

View File

@@ -37,6 +37,13 @@ class IHyperOpt(ABC):
Create a buy strategy generator
"""
@staticmethod
@abstractmethod
def sell_strategy_generator(params: Dict[str, Any]) -> Callable:
"""
Create a sell strategy generator
"""
@staticmethod
@abstractmethod
def indicator_space() -> List[Dimension]:
@@ -44,6 +51,13 @@ class IHyperOpt(ABC):
Create an indicator space
"""
@staticmethod
@abstractmethod
def sell_indicator_space() -> List[Dimension]:
"""
Create a sell indicator space
"""
@staticmethod
@abstractmethod
def generate_roi_table(params: Dict) -> Dict[int, float]: