Add get_strategy_name
This commit is contained in:
parent
2a61629014
commit
4059871c28
@ -80,6 +80,13 @@ class IStrategy(ABC):
|
|||||||
:param dataframe: DataFrame
|
:param dataframe: DataFrame
|
||||||
:return: DataFrame with sell column
|
:return: DataFrame with sell column
|
||||||
"""
|
"""
|
||||||
|
return self.strategy.populate_sell_trend(dataframe=dataframe)
|
||||||
|
|
||||||
|
def get_strategy_name(self) -> str:
|
||||||
|
"""
|
||||||
|
Returns strategy class name
|
||||||
|
"""
|
||||||
|
return self.strategy.__class__.__name__
|
||||||
|
|
||||||
def analyze_ticker(self, ticker_history: List[Dict]) -> DataFrame:
|
def analyze_ticker(self, ticker_history: List[Dict]) -> DataFrame:
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user