Simplify strategy interface by removing explicit self.freqai_info assignment
This commit is contained in:
@@ -180,8 +180,6 @@ class FreqaiExampleStrategy(IStrategy):
|
||||
|
||||
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
|
||||
|
||||
self.freqai_info = self.config["freqai"]
|
||||
|
||||
# All indicators must be populated by populate_any_indicators() for live functionality
|
||||
# to work correctly.
|
||||
|
||||
|
Reference in New Issue
Block a user