рддрдХрдиреАрдХреА рдЧрд╛рдЗрдб

Backtesting Trading Strategies and Overfitting

A backtest simulates how a trading strategy would have behaved on historical data under stated assumptions; it is not live investment performance.

рдЗрд╕ рдЧрд╛рдЗрдб рдХреЛ рд╕реБрдиреЗрдВрдПрдЖрдИ-рдиреИрд░реЗрдЯреЗрдб ┬╖ ~3 min

рдЗрд╕ рдкреГрд╖реНрда рдкрд░3 рдорд┐рдирдЯ рд▓рд╛рд▓
  1. рд╕рд┐рдВрд╣рд╛рд╡рд▓реЛрдХрди
  2. рдЧрд╣рд░рд╛ рдЧреЛрддрд╛
  3. рд╡рд╛рд╕реНрддрд╡рд┐рдХ рд╡рд┐рд╢реНрд╡ рдХрд╛рд░реНрдпрд╛рдиреНрд╡рдпрди
  4. The Future of Backtesting Trading Strategies and Overfitting
  5. рдЗрд╕реЗ рд╡реНрдпрд╡рд╣рд╛рд░ рдореЗрдВ рд▓рд╛рдирд╛
  6. рдЕрдиреНрд╡реЗрд╖рдг рдХрд░рддреЗ рд░рд╣реЗрдВ
  7. рдЕрдХреНрд╕рд░ рдкреВрдЫреЗ рдЬрд╛рдиреЗ рд╡рд╛рд▓реЗ рдкреНрд░рд╢реНрдиреЛрдВ

рд╕рд┐рдВрд╣рд╛рд╡рд▓реЛрдХрди

Trying many variations and selecting the best result can overfit the history, so evaluation must account for data leakage, costs, selection and uncertainty.

рдЧрд╣рд░рд╛ рдЧреЛрддрд╛

A backtest replays a trading rule against historical prices or other market data to estimate how it might have behaved. It is useful for debugging, comparing hypotheses and examining drawdowns, but the researcher chooses the strategy and assumptions after seeing some of the same history. This creates opportunity for look-ahead bias, survivorship bias, data snooping, unrealistic execution and parameter tuning. A strong in-sample result can disappear when costs, delays or later market conditions are included. Bailey and coauthors analyze the probability of backtest overfitting and explain why ordinary holdout methods can be unreliable when many investment configurations are tested. Record all trials, reserve genuinely untouched evaluation periods where possible, use time-aware methods, and estimate performance after fees, slippage, liquidity limits and operational constraints. A later test is not fully independent if choices were repeatedly changed after inspecting it. Avoid using future information, and check whether the historical universe includes assets that later disappeared. Report the test window, data source, parameter-selection process, costs, comparison baseline and uncertainty. If results are advertised, U.S. SEC investment-adviser marketing rules impose conditions on hypothetical performance, including information about assumptions and the audience; applicability depends on the communication and adviser. Backtests are not proof of future returns and do not guarantee that a strategy can be implemented. This guide is educational, not investment advice. The estimate is conditional on the data and assumptions used.

рд╡рд╛рд╕реНрддрд╡рд┐рдХ рд╡рд┐рд╢реНрд╡ рдХрд╛рд░реНрдпрд╛рдиреНрд╡рдпрди

A researcher freezes a strategy before testing it on a later period that was not used to tune parameters.

A backtest includes transaction costs, slippage and realistic position constraints instead of assuming free execution.

An analyst records every strategy variant tried before reporting the best historical Sharpe ratio.

An adviser labels hypothetical performance and provides the assumptions and limitations required for its intended audience.

The Future of Backtesting Trading Strategies and Overfitting

Markets and trading infrastructure change, making historical results fragile when strategy logic or costs shift. Researchers continue to develop methods for assessing selection bias and robustness, but no diagnostic certifies future profitability. Keep research records complete, evaluate realistic implementation constraints and treat hypothetical results carefully when communicating them. Re-test when the data universe, execution venue or assumptions change. Historical markets, instruments and execution venues change. Review a strategyтАЩs capacity, data provenance, fees and drawdowns before relying on simulations. If hypothetical results are shared with clients, follow applicable disclosure and audience requirements. No validation metric removes investment risk.

рдЗрд╕реЗ рд╡реНрдпрд╡рд╣рд╛рд░ рдореЗрдВ рд▓рд╛рдирд╛

рдпрд╣ рдХреНрдпреЛрдВ рдорд╛рдпрдиреЗ рд░рдЦрддрд╛ рд╣реИ?

  • рд▓рд╛рдЧрдд рдФрд░ рдмрдЬрдЯ. рд╡рд╛рд╕реНрддреБрдХрд▓рд╛ рд╕рдВрдмрдВрдзреА рдирд┐рд░реНрдгрдп рд╡рд░реНрд╖реЛрдВ рддрдХ рдкреНрд░рджрд░реНрд╢рди рдФрд░ рдкрд░рд┐рдЪрд╛рд▓рди рд▓рд╛рдЧрдд рдХреЛ рд╕рдВрдЪрд╛рд▓рд┐рдд рдХрд░рддреЗ рд╣реИрдВред
  • рд╕реНрдкрд╖реНрдЯ рдирд┐рд░реНрдгрдп. рддрдХрдиреАрдХреА рд╢рд┐рдХреНрд╖рд╛ рдЯреАрдореЛрдВ рдХреЛ рд╕рд╣реА рд╕реНрдЯреИрдХ рдЪреБрдирдиреЗ рдореЗрдВ рдорджрдж рдХрд░рддреА рд╣реИ, рди рдХрд┐ рдХреЗрд╡рд▓ рдирд╡реАрдирддрдо рд╕реНрдЯреИрдХ рдЪреБрдирдиреЗ рдореЗрдВред
  • рдЧреБрдгрд╡рддреНрддрд╛ рдирд┐рдпрдВрддреНрд░рдг. рдмреЗрд╣рддрд░ рдЗрдВрдЬреАрдирд┐рдпрд░рд┐рдВрдЧ рд╡рд┐рдХрд▓реНрдк рдЙрддреНрдкрд╛рджрди рдореЗрдВ рд╡рд┐рд╢реНрд╡рд╕рдиреАрдпрддрд╛ рдХреА рдШрдЯрдирд╛рдУрдВ рдХреЛ рдХрдо рдХрд░рддреЗ рд╣реИрдВред

рдХрд╛ рдзреНрдпрд╛рди рд░рдЦреЗрдВ

  • рдПрдХ рдмреЗрдВрдЪрдорд╛рд░реНрдХ рдХреЛ рдЕрдиреБрдХреВрд▓рд┐рдд рдХрд░рдиреЗ рд╕реЗ рд╡реНрдпрд╛рдкрдХ рд╕рд┐рд╕реНрдЯрдо рдХрдордЬреЛрд░рд┐рдпреЛрдВ рдХреЛ рдЫреБрдкрд╛рдпрд╛ рдЬрд╛ рд╕рдХрддрд╛ рд╣реИред
  • рдмреБрдирд┐рдпрд╛рджреА рдврд╛рдВрдЪреЗ рдФрд░ рд░рдЦрд░рдЦрд╛рд╡ рдХреА рд▓рд╛рдЧрдд рдХреЛ рдЕрдХреНрд╕рд░ рдХрдо рдХрд░рдХреЗ рдЖрдВрдХрд╛ рдЬрд╛рддрд╛ рд╣реИред
  • рдЬреИрд╕реЗ-рдЬреИрд╕реЗ рд╕рд┐рд╕реНрдЯрдо рдЕрдзрд┐рдХ рдЬрдЯрд┐рд▓ рд╣реЛрддреЗ рдЬрд╛рдПрдВрдЧреЗ рд╕реБрд░рдХреНрд╖рд╛ рдФрд░ рдЕрд╡рд▓реЛрдХрди рд╕рдВрдмрдВрдзреА рдЕрдВрддрд░рд╛рд▓ рдмрдврд╝ рд╕рдХрддреЗ рд╣реИрдВред

рдЕрдЧрд▓реЗ рдЪрд░рдг

  1. рдХрд╛рд░реНрдпрд╛рдиреНрд╡рдпрди рд╕реЗ рдкрд╣рд▓реЗ рд╡рд┐рд▓рдВрдмрддрд╛, рдЧреБрдгрд╡рддреНрддрд╛ рдФрд░ рд▓рд╛рдЧрдд рд▓рдХреНрд╖реНрдп рдкрд░рд┐рднрд╛рд╖рд┐рдд рдХрд░реЗрдВред
  2. рдпрдерд╛рд░реНрдерд╡рд╛рджреА рд▓реЛрдб рдФрд░ рдбреЗрдЯрд╛ рд╕реНрдерд┐рддрд┐рдпреЛрдВ рдХреЗ рддрд╣рдд рдмреЗрдВрдЪрдорд╛рд░реНрдХред
  3. рддреНрд░реБрдЯрд┐рдпреЛрдВ, рдмрд╣рд╛рд╡ рдФрд░ рдЙрдкрдпреЛрдЧрдХрд░реНрддрд╛ рдкреНрд░рднрд╛рд╡ рдХреЗ рд▓рд┐рдП рдЙрдкрдХрд░рдг рдирд┐рдЧрд░рд╛рдиреАред
  4. рд╕реНрдХреЗрд▓рд┐рдВрдЧ рд╕реЗ рдкрд╣рд▓реЗ рд░реЛрд▓рдмреИрдХ рдФрд░ рдШрдЯрдирд╛ рдкреНрд░рддрд┐рдХреНрд░рд┐рдпрд╛ рдкрде рддреИрдпрд╛рд░ рдХрд░реЗрдВред

рдЕрдиреНрд╡реЗрд╖рдг рдХрд░рддреЗ рд░рд╣реЗрдВ

рдореБрдлрд╝реНрдд рдиреНрдпреВрдЬрд╝рд▓реЗрдЯрд░

рджреИрдирд┐рдХ рдПрдЖрдИ рдмреНрд░реАрдлрд┐рдВрдЧ рдкреНрд░рд╛рдкреНрдд рдХрд░реЗрдВ

рд╣рд░ рдХрд╛рд░реНрдпрджрд┐рд╡рд╕ рдХреА рд╕реБрдмрд╣ рддреАрди рд╕рддреНрдпрд╛рдкрд┐рдд рдПрдЖрдИ рдХрд╣рд╛рдирд┐рдпрд╛рдБ, рд╕рд╛рджреЗ рдЕрдВрдЧреНрд░реЗрдЬреА рдореЗрдВ рд▓рд┐рдЦреА рдЧрдИрдВред рд╣рдореЗрд╢рд╛ рдХреЗ рд▓рд┐рдП рдореБрдлрд╝реНрдд, рдХреЛрдИ рд╡рд┐рдЬреНрдЮрд╛рдкрди рдирд╣реАрдВред

рдкреНрд░рддреНрдпреЗрдХ рд╕рдкреНрддрд╛рд╣ рдХреЗ рджрд┐рди рдПрдХ рдИрдореЗрд▓. рдПрдХ рдХреНрд▓рд┐рдХ рдореЗрдВ рд╕рджрд╕реНрдпрддрд╛ рд╕рдорд╛рдкреНрдд рдХрд░реЗрдВ. рд╣рдо рдЖрдкрдХрд╛ рдкрддрд╛ рдХрднреА рдирд╣реАрдВ рдмреЗрдЪрддреЗ рдпрд╛ рд╕рд╛рдЭрд╛ рдирд╣реАрдВ рдХрд░рддреЗред

рд╕реНрд╡рдпрдВ рдХреА рдЬрд╛рдВрдЪ рдХрд░реЛ

Take the Backtesting Trading Strategies and Overfitting quiz

рдкреНрд░рддреНрдпреЗрдХ рдЙрддреНрддрд░ рдкрд░ рддреНрд╡рд░рд┐рдд рдкреНрд░рддрд┐рдХреНрд░рд┐рдпрд╛, рдФрд░ рдкрд╛рдареНрдпрдХреНрд░рдо рдкрд╛рд╕ рдХрд░рдиреЗ рдХреЗ рдмрд╛рдж рдПрдХ рд╕рддреНрдпрд╛рдкрди рдпреЛрдЧреНрдп рдЖрдИрдбреА рдХреЗ рд╕рд╛рде рдПрдХ рд╕рд╛рдЭрд╛ рдХрд░рдиреЗ рдпреЛрдЧреНрдп рдкреНрд░рдорд╛рдгрдкрддреНрд░ред

рдкреНрд░рд╢реНрдиреЛрддреНрддрд░реА рдкреНрд░рд╛рд░рдВрдн рдХрд░реЗрдВ

рдирд┐рдГрд╢реБрд▓реНрдХ рдПрдЖрдИ рд╢рд┐рдХреНрд╖рд╛ рдХрд╛ рд╕рдорд░реНрдерди рдХрд░реЗрдВред AI Understanding рдПрдХ 501(c)(3) рдЧреИрд░-рд▓рд╛рднрдХрд╛рд░реА рд╕рдВрд╕реНрдерд╛ рд╣реИ - рдХреЛрдИ рд╡рд┐рдЬреНрдЮрд╛рдкрди рдирд╣реАрдВ, рдХреЛрдИ рдкреЗрд╡реЙрд▓ рдирд╣реАрдВред рджрд╛рди рдХрд░реЗрдВ

рдЕрдХреНрд╕рд░ рдкреВрдЫреЗ рдЬрд╛рдиреЗ рд╡рд╛рд▓реЗ рдкреНрд░рд╢реНрдиреЛрдВ

What is Backtesting Trading Strategies and Overfitting?

A backtest simulates how a trading strategy would have behaved on historical data under stated assumptions; it is not live investment performance. Trying many variations and selecting the best result can overfit the history, so evaluation must account for data leakage, costs, selection and uncertainty.

What does a backtest measure?

The guide defines a backtest as a historical simulation under stated assumptions.

Why can trying many strategy variants create overfitting?

The guide explains that selecting a winner from many trials can overfit historical noise.

Which costs should a realistic backtest consider?

The guide lists transaction costs, slippage, liquidity and implementation constraints.

Why can one untouched holdout be inadequate after many strategy searches?

The paper discusses limits of ordinary holdout when many investment configurations are tested.

What should a researcher record before reporting a selected strategy?

The guide recommends recording all trials, not only the winner.

рд╕реАрдЦрддреЗ рд░рд╣реЛ

рд╕рдВрдмрдВрдзрд┐рдд рдорд╛рд░реНрдЧрджрд░реНрд╢рд┐рдХрд╛рдПрдБ

рдЗрд╕ рд╡рд┐рд╖рдп рдХреЗ рд▓рд┐рдП рдЕрдзрд┐рдХ рдорд╛рд░реНрдЧрджрд░реНрд╢рд┐рдХрд╛рдПрдБ рдЪреБрдиреА рдЧрдИрдВ

рдЖрдЧреЗрдЕрдЧрд▓реА рдЧрд╛рдЗрдб

рдПрдХ рдмрдирд╛рдо рдЖрд░рд╛рдо рдФрд░ рдПрдХ рдмрдирд╛рдо рдПрдХ рд░рдгрдиреАрддрд┐рдпрд╛рдБ

рддрдХрдиреАрдХреА

рдирд┐рдГрд╢реБрд▓реНрдХ AI рдкреНрд░рдорд╛рдгрдкрддреНрд░ рдкреНрд░рд╛рдкреНрдд рдХрд░реЗрдВрдПрдХ рд╕рдВрдХреНрд╖рд┐рдкреНрдд рдирд┐рдГрд╢реБрд▓реНрдХ рдкрд╛рдареНрдпрдХреНрд░рдо рдФрд░ рдкрд░реАрдХреНрд╖рд╛ред рдХреЛрдИ рдХреАрдордд рдирд╣реАрдВ, рдХреЛрдИ рдХрд╛рд░реНрдб рдирд╣реАрдВ. рд▓рдЧрднрдЧ 2.5 рдШрдВрдЯреЗ.рдирд┐рдГрд╢реБрд▓реНрдХ рдкреНрд░рд╛рд░рдВрдн рдХрд░реЗрдВ тЖТ