<?xml version='1.0' encoding='utf-8'?>
<rss version="2.0"><channel><title>TradeBotBench articles</title><link>https://tradebotbench.com/blog/</link><description>Guides, worked examples and research from TradeBotBench</description><language>en</language><item><title>FreqAI feature expansion count before training: timeframes, periods, shifted candles, and correlated pairs</title><link>https://tradebotbench.com/blog/freqai-feature-expansion-count-timeframes-periods-shifted-candles-corr-pairs/</link><guid>https://tradebotbench.com/blog/freqai-feature-expansion-count-timeframes-periods-shifted-candles-corr-pairs/</guid><description>Official FreqAI expansion factors and the 3 x 3 x 3 x 2 x 2 = 108 example, with a labelled predicted-dimension worksheet. Not an exported dataframe.</description><pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI &#x27;Could not find any features&#x27;: prefixes, hook placement, and template version</title><link>https://tradebotbench.com/blog/freqai-could-not-find-any-features-prefix-hook-template-version/</link><guid>https://tradebotbench.com/blog/freqai-could-not-find-any-features-prefix-hook-template-version/</guid><description>Official FreqAI % prefix and feature_engineering_* rules, plus a version-aware checklist. Issue #8143 is recorded as an incomplete merge, not a current prefix defect.</description><pubDate>Wed, 25 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI continual_learning versus fresh retraining: why PCA is disabled, and how to preregister a comparison</title><link>https://tradebotbench.com/blog/freqai-continual-learning-vs-fresh-retraining-pca-disabled-preregister-comparison/</link><guid>https://tradebotbench.com/blog/freqai-continual-learning-vs-fresh-retraining-pca-disabled-preregister-comparison/</guid><description>Official FreqAI continual_learning reuses a prior model state and disables PCA, with a labelled preregistration for fresh versus stateful training.</description><pubDate>Thu, 26 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI PyTorch classifier &#x27;Found non defined labels&#x27;: check string targets against class_names</title><link>https://tradebotbench.com/blog/freqai-pytorch-classifier-found-non-defined-labels-class-names/</link><guid>https://tradebotbench.com/blog/freqai-pytorch-classifier-found-non-defined-labels-class-names/</guid><description>Official PyTorch classifier contract: string labels, declared class_names, and the Found non defined labels guard, with a labelled up/down/flat mismatch.</description><pubDate>Thu, 26 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI weight_factor recency weighting: how to calculate decay before changing training data</title><link>https://tradebotbench.com/blog/freqai-weight-factor-recency-weighting-how-to-calculate-decay/</link><guid>https://tradebotbench.com/blog/freqai-weight-factor-recency-weighting-how-to-calculate-decay/</guid><description>Official FreqAI recency-weight formula, a labelled synthetic table for n=100 and alpha=0.5, and dated source mapping for alpha.</description><pubDate>Fri, 27 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI TensorBoard: no dashboards, event files, log directory, and supported models</title><link>https://tradebotbench.com/blog/freqai-tensorboard-no-dashboards-event-files-log-directory/</link><guid>https://tradebotbench.com/blog/freqai-tensorboard-no-dashboards-event-files-log-directory/</guid><description>Official FreqAI TensorBoard support, identifier log directory, and a document-only split between startup warnings and missing event files.</description><pubDate>Fri, 27 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Freqtrade producer-consumer: check get_producer_df analyzed-at so you are not trading stale data</title><link>https://tradebotbench.com/blog/freqtrade-producer-consumer-get-producer-df-analyzed-at-stale-check/</link><guid>https://tradebotbench.com/blog/freqtrade-producer-consumer-get-producer-df-analyzed-at-stale-check/</guid><description>Dated official-config checklist: on a Freqtrade consumer, read the analyzed-at timestamp from get_producer_df, which the official example discards, and check official timeouts.</description><pubDate>Tue, 24 Nov 2026 12:38:15 +0000</pubDate></item><item><title>Constrain an LLM trading agent with official min-size and increment checks, and log every rejection</title><link>https://tradebotbench.com/blog/llm-trading-agent-min-size-increment-checks-rejected-order-log-replay/</link><guid>https://tradebotbench.com/blog/llm-trading-agent-min-size-increment-checks-rejected-order-log-replay/</guid><description>Dated paper-trading harness: require an LLM place or amend tool to pass official min-size and increment checks before sending, and log every rejected order with the reason.</description><pubDate>Tue, 24 Nov 2026 12:38:15 +0000</pubDate></item><item><title>FreqAI identifier: how official docs say to avoid silent reuse of saved models</title><link>https://tradebotbench.com/blog/freqai-identifier-prevent-silent-reuse-of-saved-models/</link><guid>https://tradebotbench.com/blog/freqai-identifier-prevent-silent-reuse-of-saved-models/</guid><description>Dated official-config checklist: change identifier or delete user_data/models/&lt;unique-id&gt; before a new FreqAI experiment, so a new run does not reload another run&#x27;s saved models.</description><pubDate>Mon, 23 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Backtesting --fee versus the exchange default: what official export docs let you confirm</title><link>https://tradebotbench.com/blog/freqtrade-backtesting-fee-flag-vs-exchange-default-in-exported-trades/</link><guid>https://tradebotbench.com/blog/freqtrade-backtesting-fee-flag-vs-exchange-default-in-exported-trades/</guid><description>Dated official-page checklist: --fee is a ratio applied twice; a config fee key or the exchange default may apply instead. Official export docs do not confirm which ratio was used.</description><pubDate>Mon, 23 Nov 2026 00:00:00 +0000</pubDate></item><item><title>freqtrade lookahead-analysis: results table and official bias caveats</title><link>https://tradebotbench.com/blog/freqtrade-lookahead-analysis-results-table-false-positive-false-negative-freqai-targets/</link><guid>https://tradebotbench.com/blog/freqtrade-lookahead-analysis-results-table-false-positive-false-negative-freqai-targets/</guid><description>A freqtrade 2026.10 lookahead-analysis run on SampleStrategy: official defaults stopped at 20 trades, the fuller table was No on 37 signals, and a fixture showed Yes.</description><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Log LLM agent tool calls with client order id and last closed candle</title><link>https://tradebotbench.com/blog/llm-trading-agent-tool-call-log-client-order-id-last-closed-candle-replay/</link><guid>https://tradebotbench.com/blog/llm-trading-agent-tool-call-log-client-order-id-last-closed-candle-replay/</guid><description>A Freqtrade paper-trading replay log for each place, cancel, or amend tool call, with client order id and last closed candle, checked by an offline fixture.</description><pubDate>Tue, 17 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI label_period_candles vs include_shifted_candles: a leakage check</title><link>https://tradebotbench.com/blog/freqai-label-period-candles-vs-include-shifted-candles-leakage-check/</link><guid>https://tradebotbench.com/blog/freqai-label-period-candles-vs-include-shifted-candles-leakage-check/</guid><description>Official FreqAI parameter wording plus a labeled synthetic dataframe check: labels look forward, and include_shifted_candles only adds past candles to later rows.</description><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate></item><item><title>A bar-close replay harness that blocks an LLM agent from the next candle</title><link>https://tradebotbench.com/blog/llm-trading-agent-bar-close-replay-harness-cannot-read-next-candle/</link><guid>https://tradebotbench.com/blog/llm-trading-agent-bar-close-replay-harness-cannot-read-next-candle/</guid><description>Harness design from official Freqtrade lookahead-analysis wording, plus a labeled synthetic fixture that freezes market data at candle t and rejects a read of candle t+1.</description><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate></item><item><title>FreqAI expiration_hours versus do_predict 2: a log check for expired models</title><link>https://tradebotbench.com/blog/freqai-expiration-hours-vs-do-predict-2-expired-model-log-check/</link><guid>https://tradebotbench.com/blog/freqai-expiration-hours-vs-do-predict-2-expired-model-log-check/</guid><description>Dated official-config checklist: set FreqAI expiration_hours, then look in dry-run or live logs for do_predict == 2 as the official expired-model signal.</description><pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate></item><item><title>adjust_trade_position: partial entries and exits, and the live vs backtest warning</title><link>https://tradebotbench.com/blog/freqtrade-adjust-trade-position-partial-entries-exits-live-vs-backtest/</link><guid>https://tradebotbench.com/blog/freqtrade-adjust-trade-position-partial-entries-exits-live-vs-backtest/</guid><description>Dated official-callback readout of freqtrade adjust_trade_position partial entries and exits, plus the official warning that dry/live call frequency can deviate from backtesting.</description><pubDate>Thu, 19 Nov 2026 00:00:00 +0000</pubDate></item><item><title>freqtrade backtesting --export trades: open the zip and reconcile it with the summary table</title><link>https://tradebotbench.com/blog/freqtrade-export-trades-reconcile-backtest-summary/</link><guid>https://tradebotbench.com/blog/freqtrade-export-trades-reconcile-backtest-summary/</guid><description>freqtrade 2026.10 exports a zip, not a bare JSON. We matched 35 trades to the summary in seven checks, reran it, and found four traps the table hides.</description><pubDate>Mon, 16 Nov 2026 00:00:00 +0000</pubDate></item><item><title>freqtrade download-data timerange vs backtest timerange: check with list-data that startup candles are on disk</title><link>https://tradebotbench.com/blog/freqtrade-download-data-timerange-list-data-startup-candles/</link><guid>https://tradebotbench.com/blog/freqtrade-download-data-timerange-list-data-startup-candles/</guid><description>download-data ignores startup_candle_count, and backtesting silently moves its start when warmup data is missing. Check the first candle with list-data and prepend.</description><pubDate>Sun, 15 Nov 2026 00:00:00 +0000</pubDate></item><item><title>How to log FreqAI do_predict and DI_values on each closed trade for a reproducible experiment</title><link>https://tradebotbench.com/blog/freqai-log-do-predict-di-values-closed-trades/</link><guid>https://tradebotbench.com/blog/freqai-log-do-predict-di-values-closed-trades/</guid><description>A labeled offline fixture that records official FreqAI do_predict and DI_values at entry and at exit on each closed trade. FreqAI was not run, and no performance is claimed.</description><pubDate>Sun, 15 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Freqtrade backtest with and without --enable-protections, measured</title><link>https://tradebotbench.com/blog/freqtrade-enable-protections-cooldown-stoplossguard-backtest/</link><guid>https://tradebotbench.com/blog/freqtrade-enable-protections-cooldown-stoplossguard-backtest/</guid><description>Freqtrade applies a strategy's protections in backtesting only with --enable-protections. Without it, they are silently skipped, which is the subject of closed GitHub issue #12753. In our measured run of a SampleStrategy variant (−3% stop, 6-candle CooldownPeriod, StoplossGuard 2 losing stops in 72 candles locks 36), the flag cut trades from 209 to 181 and stoploss exits from 63 to 55, and recorded 194 locks. The loss changed from −56.741 to −54.434 USDT. Both runs lost money.</description><pubDate>Thu, 12 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Pick freqtrade startup_candle_count from recursive-analysis output</title><link>https://tradebotbench.com/blog/freqtrade-recursive-analysis-startup-candle-count/</link><guid>https://tradebotbench.com/blog/freqtrade-recursive-analysis-startup-candle-count/</guid><description>Read the recursive-analysis table row by row for the indicators your entries and exits use. Pick the smallest startup value where their variance is close to 0%, rather than chasing exact zero. In our real run of freqtrade 2026.10 SampleStrategy on BTC/USDT 5m (2026-09-01 to 2026-11-01), a startup of 100 still left adx at 0.624%, macdhist at −8.347% and htsine at −34.395%. At 199, every printed value was within ±0.002%, so the shipped 200 is enough for its signal indicators.</description><pubDate>Thu, 12 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Freqtrade --timeframe-detail before and after: a measured comparison</title><link>https://tradebotbench.com/blog/freqtrade-timeframe-detail-before-after-backtest/</link><guid>https://tradebotbench.com/blog/freqtrade-timeframe-detail-before-after-backtest/</guid><description>We backtested freqtrade 2026.10 SampleStrategy on four USDT pairs (2026-08-01 to 2026-11-01) with and without --timeframe-detail. At 5m with 1m detail, all 93 trades kept their entries and profit, and totals were identical (0.119 USDT), but 68 trades closed at a different minute. At 1h with 5m detail, totals moved from −13.253 to −13.256 USDT, 28 shared trades closed at different times, and one entry moved by 10 minutes. Read trade-level differences, not only the totals.</description><pubDate>Thu, 12 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Store Freqtrade dry-run trades in a separate SQLite database</title><link>https://tradebotbench.com/blog/freqtrade-dry-run-separate-sqlite-database/</link><guid>https://tradebotbench.com/blog/freqtrade-dry-run-separate-sqlite-database/</guid><description>Give each Freqtrade dry-run its own SQLite file with an explicit --db-url (or db_url). Official CLI and configuration defaults are sqlite:///tradesv3.dryrun.sqlite in dry-run and sqlite:///tradesv3.sqlite in live mode; this article still recommends an explicit, fresh path so runs do not share a file. After the window, inspect the same URL with freqtrade show-trades, optionally --print-json. Use a different file for a second run, and never point a live bot at a database that already holds dry-run trades.</description><pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Freqtrade backtest vs dry-run vs live: official differences, and why this page has no executed logs</title><link>https://tradebotbench.com/blog/freqtrade-dry-run-vs-backtest-fills/</link><guid>https://tradebotbench.com/blog/freqtrade-dry-run-vs-backtest-fills/</guid><description>Official freqtrade differences between backtesting, dry-run, and live, dated 29 Nov 2026, plus an honest limit: no executed logs were published.</description><pubDate>Tue, 01 Dec 2026 00:00:00 +0000</pubDate></item><item><title>Paper-test Freqtrade stoploss on exchange vs local</title><link>https://tradebotbench.com/blog/freqtrade-stoploss-on-exchange-vs-local/</link><guid>https://tradebotbench.com/blog/freqtrade-stoploss-on-exchange-vs-local/</guid><description>A local Freqtrade stoploss is evaluated in the bot; stoploss_on_exchange places a stop order on the venue after the entry fills, and official docs say a failed placement triggers an emergency_exit (default market). In dry-run, official text assumes an on-exchange stop is filled at the stop price, so a paper test can compare timing and fallback logs but cannot demonstrate a live exchange trigger. Recheck Freqtrade's supported-exchange table for your market. This is an operational comparison, not a return test.</description><pubDate>Wed, 11 Nov 2026 00:00:00 +0000</pubDate></item><item><title>A grid cycle’s profit after both trading fees</title><link>https://tradebotbench.com/blog/grid-cycle-profit-after-costs/</link><guid>https://tradebotbench.com/blog/grid-cycle-profit-after-costs/</guid><description>A completed spot grid cycle’s modeled net profit is quantity × (sell price − buy price), less buy and sell execution fees and any fixed cost allocated to that cycle. A positive cycle result does not include losses on inventory that remains unsold, and cannot establish profitable total bot performance.</description><pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Split freqtrade hyperopt into in-sample and out-of-sample timeranges</title><link>https://tradebotbench.com/blog/freqtrade-hyperopt-in-sample-out-of-sample-timerange-split/</link><guid>https://tradebotbench.com/blog/freqtrade-hyperopt-in-sample-out-of-sample-timerange-split/</guid></item><item><title>Read freqtrade backtesting-analysis enter_tag and exit_reason groups</title><link>https://tradebotbench.com/blog/freqtrade-backtesting-analysis-enter-tag-exit-reason-groups/</link><guid>https://tradebotbench.com/blog/freqtrade-backtesting-analysis-enter-tag-exit-reason-groups/</guid></item><item><title>Freqtrade stake_amount unlimited vs fixed: what changes in a backtest</title><link>https://tradebotbench.com/blog/freqtrade-stake-amount-unlimited-vs-fixed-backtest/</link><guid>https://tradebotbench.com/blog/freqtrade-stake-amount-unlimited-vs-fixed-backtest/</guid></item><item><title>How to read a third-party dry-run vs 45-day backtest board</title><link>https://tradebotbench.com/blog/tradingagentstack-strategy-lab-dry-run-vs-backtest/</link><guid>https://tradebotbench.com/blog/tradingagentstack-strategy-lab-dry-run-vs-backtest/</guid><pubDate>Sat, 14 Nov 2026 00:00:00 +0000</pubDate></item><item><title>Check FreqAI train_period_days and backtest_period_days windows for leakage</title><link>https://tradebotbench.com/blog/freqai-train-period-days-vs-backtest-period-days-leakage/</link><guid>https://tradebotbench.com/blog/freqai-train-period-days-vs-backtest-period-days-leakage/</guid><pubDate>Sat, 14 Nov 2026 00:00:00 +0000</pubDate></item></channel></rss>