Strategy Research

Why Profitable Backtests Can Fail in Live Trading: From Simulation to Broker Execution

Understand why simulated trading results differ from live execution: costs, fill assumptions, overfitting, rollover, alerts and broker reconciliation.

By TradeLuma Research··8 min read
On this page+
Educational content: this guide explains trading technology and workflow concepts. It is not financial advice, a recommendation, or a promise of trading results.
Hypothetical simulated-versus-live trading comparison. All displayed returns, win rates and drawdowns are fictional examples.

A strategy can show positive historical results and still lose money in a live account. The difference may arise from assumptions used in the research, the behaviour of real markets, or errors in the path from a chart signal to the broker. Diagnosing the gap requires comparing like with like rather than blaming every discrepancy on the strategy. The percentages shown on the cover are fictional examples, not TradeLuma results or a real account comparison. TradeLuma has a commercial interest in its own protected TradingView strategy scripts. The catalogue below provides first-party product information, not an independent ranking, recommendation or guarantee of returns. Futures are leveraged and losses can exceed initial margin.

Separate research error from execution error

Begin with three records: the original strategy's signal and assumptions, the order request transmitted to the execution service, and the broker's actual response. A strategy can produce a valid event while the corresponding order is rejected, delayed or mapped incorrectly.

A research error instead arises when the simulated advantage is not supported by a fair evaluation. Both can occur together. Preserve the exact version and settings before investigating differences.

Why simulated fills can be too optimistic

TradingView uses a broker emulator for strategy orders. Historical bar data cannot reproduce every intrabar transaction or available order-book quantity. Calculation timing, assumptions about price movements within candles and limit-order settings affect the simulated result.

Bar Magnifier can use finer-resolution data where available, improving some aspects of a simulation. It does not supply actual historical queue position, broker latency or an assurance of execution.

How trading costs can erase a small edge

Suppose a hypothetical model averages $9 gross per round trip over 300 trades. That is $2,700 before costs. If average commission and execution friction are $11, the estimated net is minus $600. These invented figures demonstrate sensitivity and are not evidence about a named strategy.

Use contract-specific tick values to translate slippage into money. Count entry and exit costs consistently, and avoid subtracting costs twice when they already appear in a report.

Overfitting and changes in market behaviour

Trying many parameter combinations and retaining the most attractive result can select chance patterns. A test on the same data used to select rules is not independent evidence. A rule can also become less effective when volatility, market participation or spreads change.

Reserve untouched data, document parameter selection and compare results across periods. Avoid repeatedly changing live rules simply to explain the most recent loss; first establish whether the observed difference falls outside the prior assumptions.

Futures expiry and continuous-chart differences

A continuous price series combines contract months using a defined roll convention. A live order targets a specific tradable month. Price adjustment, basis between maturities, different liquidity and roll timing can create discrepancies even when both instruments refer to the same underlying market.

Document the mapping used during testing and compare it with the broker contract in an actual order. Review expiry and delivery obligations separately. Paper tests can help establish whether symbol mapping and position handling are consistent.

Alerts, routing and broker acknowledgement

The event generated by a strategy is distinct from an alert delivery, accepted order and actual fill. Rejected orders, duplicate messages, partial fills and unavailable sessions can cause the chart's simulated position to diverge from the account.

Reconcile using broker identifiers and timestamps before retrying a request with an uncertain outcome. A status of received or submitted is not the same as filled. Keep alerts and broker state observable.

A practical forward-testing comparison

Use a fixed script version, instrument, settings and test window. Log signal time, reference price, transmitted request, acknowledged order, fill quantity, fill price and fees. Compare unmatched events separately from price differences among matched trades.

An example worksheet may classify each event as matched, missed, rejected, partially filled or unmatched. Paper fills have their own limitations. The purpose is to discover discrepancies, not to demonstrate that a future live account will be profitable.

How strategy research and execution infrastructure fit together

TradeLuma offers its own script catalogue and separately describes automated trading infrastructure. The existence of either does not eliminate model risk or guarantee fills. Verify supported features, compatible accounts and actual access arrangements before relying on any service.

Our educational guide treats the strategy and broker path as distinct systems. Review the existing automation and paper-trading resources for operational concepts. The chart and figures on the cover are illustrative, not actual observed performance.

Frequently asked questions

Why can a profitable backtest lose live?+

Costs, different fills, overfitting, market changes and operational discrepancies can all contribute.

Does Bar Magnifier guarantee realistic fills?+

No. It improves historical price detail in some situations but cannot replicate all execution conditions.

What is slippage?+

The difference between a reference execution price and the actual or simulated fill price.

Why does futures rollover affect results?+

Different contract months can have different prices, liquidity and expiry mechanics.

Is an alert proof of execution?+

No. Broker acknowledgements and fills must be checked separately.

Does paper trading reproduce live liquidity?+

Not fully; it is a separate environment.

What should be logged?+

Version, signal, request, acknowledgement, fills, timestamps and costs.

Are the cover percentages real?+

No. They are hypothetical editorial examples, not actual TradeLuma or customer results.

Futures workflows

Explore the strategy side of TradeLuma.

Browse TradeLuma's futures strategy catalogue and the chart, rollover, and reference methodology used for each published strategy.

Explore futures strategies →

Continue learning

Related guides.