From 818e4d86bf2ef0ebd427ed2ed562a8788e7da4c3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 25 Jul 2024 06:39:35 +0200 Subject: [PATCH] docs: explain that the strategy may be called with dataframe of length 1 --- docs/freqai-running.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/freqai-running.md b/docs/freqai-running.md index 1b721b658..d506ac3ce 100644 --- a/docs/freqai-running.md +++ b/docs/freqai-running.md @@ -83,6 +83,10 @@ To change your **features**, you **must** set a new `identifier` in the config t To save the models generated during a particular backtest so that you can start a live deployment from one of them instead of training a new model, you must set `save_backtest_models` to `True` in the config. +!!! Note + To ensure that the model can be reused, freqAI will call your strategy with a dataframe of length 1. + If your strategy requires more data than this to generate the same features, you can't reuse backtest predictions for live deployment and need to update your `identifier` for each new backtest. + ### Backtest live collected predictions FreqAI allow you to reuse live historic predictions through the backtest parameter `--freqai-backtest-live-models`. This can be useful when you want to reuse predictions generated in dry/run for comparison or other study.