update code to use one prediction file / pair

This commit is contained in:
Wagner Costa
2022-11-22 15:15:42 -03:00
parent 91779bb28b
commit d09157efb8
3 changed files with 39 additions and 15 deletions

View File

@@ -260,6 +260,7 @@ class IFreqaiModel(ABC):
self.pair_it += 1
train_it = 0
dk.load_prediction_pair_file()
# Loop enforcing the sliding window training/backtesting paradigm
# tr_train is the training time range e.g. 1 historical month
# tr_backtest is the backtesting time range e.g. the week directly