From 55079831a13af3d95913343f025bdde2b1e7ecca Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 15 Jun 2019 13:45:50 +0200 Subject: [PATCH] Don't explicitly validate backtest data (it's done while loading now). --- freqtrade/optimize/backtesting.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index b9d874fc0..bb72cbada 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -350,7 +350,7 @@ class Backtesting(object): row = ticker[pair][indexes[pair]] except IndexError: # missing Data for one pair at the end. - # Warnings for this are shown by `validate_backtest_data` + # Warnings for this are shown during data loading continue # Waits until the time-counter reaches the start of the data for this pair. @@ -422,9 +422,7 @@ class Backtesting(object): all_results = {} min_date, max_date = history.get_timeframe(data) - # Validate dataframe for missing values (mainly at start and end, as fillup is called) - history.validate_backtest_data(data, min_date, max_date, - timeframe_to_minutes(self.ticker_interval)) + logger.info( 'Backtesting with data from %s up to %s (%s days)..', min_date.isoformat(),