Add sell column to avoid runtime failures
This commit is contained in:
@@ -91,4 +91,6 @@ class CustomStoplossWithPSAR(IStrategy):
|
||||
:param dataframe: DataFrame
|
||||
:return: DataFrame with buy column
|
||||
"""
|
||||
# Deactivated sell signal to allow the strategy to work correctly
|
||||
dataframe.loc[:, 'sell'] = 0
|
||||
return dataframe
|
||||
|
||||
Reference in New Issue
Block a user