freqai backtesting - add startup_candle_count at function description

This commit is contained in:
Wagner Costa Santos 2022-09-10 14:45:42 -03:00
parent a1f88cca80
commit 311ae8bf1f

View File

@ -466,7 +466,8 @@ class FreqaiDataKitchen:
) -> DataFrame: ) -> DataFrame:
""" """
Function which takes the backtesting time range and Function which takes the backtesting time range and
remove training data from dataframe remove training data from dataframe, keeping only the
startup_candle_count candles
""" """
startup_candle_count = self.config.get('startup_candle_count', 0) startup_candle_count = self.config.get('startup_candle_count', 0)
tf = self.config['timeframe'] tf = self.config['timeframe']