save predictions with date and merge by date

This commit is contained in:
Wagner Costa Santos
2022-11-08 10:32:18 -03:00
parent d59b3e2359
commit 9c5ba0732a
2 changed files with 16 additions and 9 deletions

View File

@@ -301,7 +301,7 @@ class IFreqaiModel(ABC):
self.model = self.dd.load_data(pair, dk)
pred_df, do_preds = self.predict(dataframe_backtest, dk)
append_df = dk.get_predictions_to_append(pred_df, do_preds)
append_df = dk.get_predictions_to_append(pred_df, do_preds, dataframe_backtest)
dk.append_predictions(append_df)
dk.save_backtesting_prediction(append_df)