On 19 November 2026 at 09:31:50 Asia/Shanghai, the official FreqAI parameter table (HTTP 200) documented expiration_hours as the setting that avoids making predictions if a model is more than expiration_hours old, with default 0 meaning models never expire. The official FreqAI configuration page, fetched in the same minute (HTTP 200), describes do_predict == 2 as the model having expired due to exceeding expired_hours. Both live pages are cited as written; this article does not invent that the two names are the same key. Official docs do not provide a worked log walkthrough. The checklist is a planned dry-run or live log inspection, not an executed test, and it is not a trained-model, backtest, or live-account result. No performance claims.
Documentation review. AI-assisted drafting. Educational information; no individual financial advice.
Official expiration_hours, and official do_predict == 2
The official FreqAI parameter table, re-read at 09:31:50 Asia/Shanghai on 19 November 2026 (HTTP 200), still documents a parameter named expiration_hours:
> Avoid making predictions if a model is more than expiration_hours old.
The official datatype is a positive integer. The official default is 0 (models never expire).
The official FreqAI configuration page, fetched in the same minute (HTTP 200), documents df['do_predict'] as an integer between -2 and 2 that indicates whether a prediction is trustworthy. After describing how the Dissimilarity Index, an optional SVM, and optional DBSCAN can subtract 1 from do_predict, the same official cell includes this particular case:
> A particular case is when do_predict == 2, which means that the model has expired due to exceeding expired_hours.
Those two official pages were both live on 19 November 2026, and they do not use the same key name on this fetch. The parameter table uses expiration_hours. The configuration page's do_predict == 2 wording uses expired_hours. This article cites each page as written. It does not invent that the two names are the same key.
The parameter table on this fetch does not mention do_predict. The configuration page on this fetch does not mention expiration_hours. Official docs therefore still require a re-read of both pages if you want to set an expiry window and then recognize an expired-model signal.
This is a different question from how to log `do_predict` and `DI_values` on each closed trade. That live article is about recording the columns. This article is about the official expiry window and the official do_predict == 2 wording.
Nearby official parameters that are not the expiry window
The official parameter table places expiration_hours between live_retrain_hours and purge_old_models. Those neighbors are easy to mix into one "model age" setting. Official wording keeps them separate.
live_retrain_hours: "Frequency of retraining during dry/live runs." Datatype: Float > 0. Default:0(models retrain as often as possible).expiration_hours: avoid predictions if a model is older than this window. Default0means models never expire.purge_old_models: "Number of models to keep on disk (not relevant to backtesting)." Default2, "which means that dry/live runs will keep the latest 2 models on disk." Setting0keeps all models. The table also says this parameter accepts a boolean to maintain backwards compatibility.
Official docs do not say that a retrain frequency, an expiry window, and a disk-retention count are interchangeable. A model can be retrained often, left to never expire, or dropped from disk, depending on which official key you set. This checklist uses expiration_hours as the official "avoid making predictions" window, and it uses the configuration page for the official do_predict == 2 description.
The configuration page's broader do_predict description is still useful context, because 2 is not the only official value:
do_predict==1means that the prediction is trustworthy.- If the Dissimilarity Index of the input is above the configured threshold, FreqAI subtracts 1, resulting in
do_predict==0. - If
use_SVM_to_remove_outliersis active, the SVM may also subtract 1. Official wording then explains0,-1, and, with DBSCAN also active,-2. - The particular case of
do_predict == 2is the expired-model case, worded withexpired_hours.
Official docs do not provide a worked log walkthrough that shows these values in a dry-run or live log line, and they do not show a sample logger message. This article does not invent a log format.
An official-config log checklist, not an executed test
A planned log check follows from the official wording. It is not a test that was run for this article, and it is not a trained-model, backtest, or live-account result.
- Set official
expiration_hoursin the FreqAI config to a positive integer, not the official default0. The default, as written, means models never expire, so a default config is the wrong place to look for expiry behaviour. - Do not assume that
live_retrain_hoursorpurge_old_modelsis the same control. Read those official rows separately. - In dry-run or live logs, look for the official expired-model signal described on the configuration page:
do_predict == 2, "which means that the model has expired due to exceedingexpired_hours." - Cite both live page names when you record what you saw. If a log line shows
do_predictequal to 2, that matches the configuration-page wording. It does not, by itself, prove that the config key you set was spelledexpired_hours. The parameter table's official key for the window is stillexpiration_hourson this fetch. - If the official pages still disagree on the key name on the day you test, record both names. Do not invent a reconciliation.
- If you cannot find a log line that shows
do_predict, you still do not have official sample output to copy. Add logging in your own strategy or use the approach in the closed-trade `do_predict` and `DI_values` article, then look for the value2. A missing log line is not evidence that expiry is working or that it failed.
No dry-run or live bot was started for this article. No model was trained, expired, or scored. If you later run the checklist, label the run as your own dry-run or live log inspection. Do not treat this page as an executed result.
A short official-source reminder
The 15 November 2026 evening Asia/Shanghai fetch already showed this key-name split. The 19 November 2026 morning re-fetch still shows it: expiration_hours on the parameter table, expired_hours in the configuration page's do_predict == 2 wording. That persistence is an observation about two official pages on two dated fetches. It is not a claim that the names will never change, and it is not a claim that they are aliases.
For nearby FreqAI and evaluation context on this site, see train_period_days versus backtest_period_days, how to evaluate a trading bot, the backtest statistics tool, and recursive analysis and startup candle count. Those pages are about leakage, evaluation, and warmup. They are not a substitute for the expiry-window checklist above.
What was not observed
No FreqAI dry-run or live process was started on 19 November 2026, and no log line showing do_predict == 2 was collected from any bot. The checklist is of official wording on the dated fetches above. The official pages define expiration_hours and describe do_predict == 2 with the wording expired_hours, but they do not provide a worked log walkthrough, and this article does not invent one. A planned log check is not an executed test.
TradeBotBench carries exchange affiliate links elsewhere; this post contains none. This article makes no performance claims about FreqAI models, expiry windows, or any trading results.
Sources & method
What this article adds
A dated official-config log checklist, as the FreqAI parameter table and configuration pages stood on 19 November 2026 at 09:31:50 Asia/Shanghai: set official expiration_hours (default 0 means models never expire), then look in dry-run or live logs for the official expired-model signal do_predict == 2. Each live page is cited under the key name it actually uses (expiration_hours on the parameter table, expired_hours in the configuration-page do_predict == 2 wording). The split was already present on the 15 November 2026 evening fetch and was still present today. A planned log check is labeled as not executed. No performance claims.
How it was prepared
The official FreqAI parameter table and configuration HTML pages were fetched with curl on 19 November 2026 at 09:31:50 Asia/Shanghai (both HTTP 200). Quoted wording is from those live HTML bodies. No dry-run or live FreqAI process was started, no model was trained, and no log line was collected. The checklist is documentation-derived and is not a trained-model, backtest, or live-account result. Demand remains unmeasured / HYPOTHESIS. No performance claims.
- Freqtrade docs: FreqAI parameter table Checked 2026-11-19
- Freqtrade docs: FreqAI configuration (do_predict wording) Checked 2026-11-19
expiration_hours, its default, live_retrain_hours, and purge_old_models come from the official parameter table. The do_predict range and the do_predict == 2 sentence that uses expired_hours come from the official configuration page. The two key names are cited separately and are not reconciled by invention.
For corrections, contact the publisher. Editorial policy · Affiliate disclosure