help futures go dry/live with auto download feature
This commit is contained in:
parent
8a501831d6
commit
c080571b7a
@ -400,7 +400,7 @@ The user can stratify the training/testing data using:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
which will split the data chronolocially so that every X data points is a testing data point. In the
|
which will split the data chronologically so that every X data points is a testing data point. In the
|
||||||
present example, the user is asking for every third data point in the dataframe to be used for
|
present example, the user is asking for every third data point in the dataframe to be used for
|
||||||
testing, the other points are used for training.
|
testing, the other points are used for training.
|
||||||
|
|
||||||
|
@ -715,10 +715,9 @@ class FreqaiDataKitchen:
|
|||||||
|
|
||||||
exchange = ExchangeResolver.load_exchange(self.config['exchange']['name'],
|
exchange = ExchangeResolver.load_exchange(self.config['exchange']['name'],
|
||||||
self.config, validate=False)
|
self.config, validate=False)
|
||||||
pairs = self.freqai_config.get('corr_pairlist', [])
|
pairs = copy.deepcopy(self.freqai_config.get('corr_pairlist', []))
|
||||||
if metadata['pair'] not in pairs:
|
if str(metadata['pair']) not in pairs:
|
||||||
pairs += metadata['pair'] # dont include pair twice
|
pairs.append(str(metadata['pair']))
|
||||||
# timerange = TimeRange.parse_timerange(new_timerange)
|
|
||||||
|
|
||||||
refresh_backtest_ohlcv_data(
|
refresh_backtest_ohlcv_data(
|
||||||
exchange, pairs=pairs, timeframes=self.freqai_config.get('timeframes'),
|
exchange, pairs=pairs, timeframes=self.freqai_config.get('timeframes'),
|
||||||
|
Loading…
Reference in New Issue
Block a user