feature(custom_stoploss_with_psar): add populate_sell_trend()

so it's a valid IStrategy
This commit is contained in:
Joe Schr
2021-03-05 15:41:25 +01:00
parent 26aa5c582e
commit a126b0444c
@@ -82,3 +82,12 @@ class CustomStoplossWithPSAR(IStrategy):
'buy'] = 1
return dataframe
def populate_sell_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
"""
Placeholder Strategy: does nothing
Based on TA indicators, populates the sell signal for the given dataframe
:param dataframe: DataFrame
:return: DataFrame with buy column
"""
return dataframe