Backtesting Trading Systems: How Long is REALLY Enough? (2024)

Backtesting Trading Systems: How Long is REALLY Enough? (1)

  • Report this article

Bharat Jhunjhunwala, MFTA, CMT, CFTe,MSTA Backtesting Trading Systems: How Long is REALLY Enough? (2)

Bharat Jhunjhunwala, MFTA, CMT, CFTe,MSTA

Founder @ Opulence Capital Inc | Chartered Market Technician

Published Feb 15, 2024

+ Follow

Frustrated by conflicting advice on how long to backtest your trading strategies? Years of data seem excessive, but short tests feel unreliable. It's time to cut through the confusion and get the answers you need to optimize your trading game.

  • The Backtesting Balancing Act: It's a delicate dance between gathering enough data for validity and avoiding irrelevant or outdated marketregimes. Let's break down the factors crucial to finding your backtesting 'sweet spot.'
  • Strategy Frequency: Dictates Data Needs: The more often you trade, the less historical data you require. Think logically – do you need a decade of history to test a day trading strategy? A focus on recent, relevant conditions provides more actionable results.
  • Beyond Timeframes: Aim for Trade Counts: Forget arbitrary years of data; your goal is a statistically significant sample of trades. Aim for at least 200 trades in your backtest, but 500-600 offers even greater reliability for informed decision-making.
  • Beware of "Data Fatigue": Excessively long backtests can mislead you by including drastically different market regimes. Prioritize capturing current and expected market behaviors over sheer volume of data points.
  • When Longer CAN Be Better: For swing traders and position traders, longer backtests are necessary to fully evaluate a strategy's performance during various market cycles.

Tired of chasing your tail with arbitrary backtesting periods? Share your biggest backtesting dilemmas and questions in the comments. Let's crack the code together.

#backtesting #tradingstrategies #technicalanalysis #fintech #investing #quants

Help improve contributions

Mark contributions as unhelpful if you find them irrelevant or not valuable to the article. This feedback is private to you and won’t be shared publicly.

Contribution hidden for you

This feedback is never shared publicly, we’ll use it to show better contributions to everyone.

Like
Comment

5

To view or add a comment, sign in

More articles by this author

No more previous content

  • From Idea to Strategy: The Evolution of Trading Methods Mar 24, 2024
  • Why Infrastructure Investment Trusts (InvITs) Are The New Investment Spotlight Mar 17, 2024
  • The Trading Reboot Guide for the Frustrated Trader: You Are Not Alone. Mar 14, 2024
  • 7 Reasons Why Traders Disagree Over the SAME Chart (and Why They're All Right) Mar 11, 2024
  • Master Your Mindset, Master Consistent Profits: The 7-Step Trader Transformation Mar 9, 2024
  • Why 90% of Traders Fail (and How to Avoid Their Fate) Mar 3, 2024
  • Do Brokers Hunt Your Stop Losses? The TRUTH About Stop-Loss Manipulation in India Feb 27, 2024
  • Top 5 Backtesting Mistakes New Traders Make (And How to Fix Them) Feb 18, 2024
  • Your Trading Losses Aren't Your Fault (Here's the Real Problem) 🤔 Feb 13, 2024

No more next content

See all

Sign in

Stay updated on your professional world

Sign in

By clicking Continue to join or sign in, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

New to LinkedIn? Join now

Insights from the community

  • Technical Analysis What are the best practices for selecting and preparing historical data for backtesting trading strategies?
  • Technical Analysis What are some common pitfalls and challenges of backtesting trend following strategies?
  • Technical Analysis What are the benefits and drawbacks of backtesting your trading strategies?
  • Technical Analysis How can you identify the most reliable technical indicators for a market or asset?
  • Technical Analysis What are the most effective ways to use pattern recognition for trading?
  • Technical Analysis How do you create and test a technical trading system?
  • Technical Analysis How can you avoid survivorship bias when backtesting a trading strategy?
  • Technical Analysis How do you test and validate your hypotheses with technical indicators?
  • Technical Analysis Here's how you can navigate conflicts between different trading methodologies as a technical analyst.
  • Technical Analysis What's the best way to set up technical indicators and trading rules?

Others also viewed

  • Mastering Technical Indicators: Overcoming Limitations and Enhancing Your Trading Strategy Bharat Jhunjhunwala, MFTA, CMT, CFTe,MSTA 8mo
  • 5 Big Don'ts in TradingView Backtesting Sunil Guglani 7mo
  • Technical analysis and alt data Saeed Amen 3y
  • Trader Tales: Thriving with Eightcap's Dynamic Trading Tools | PART 2 | Acuity Eightcap Partners 3mo
  • Bear Bull Traders' paper on "The Holy Grail" - not so fast. Seth Lingafeldt 2mo
  • VIP Indicators: Your Gateway to Profitable Trading Emma J 2mo
  • Do Your Trading Rules Still Get You The Results You Want? Maybe It's Time To ReThink How You Select Your Trades William Dennis 8y
  • "Mind the #milliseconds"- "#Commodity #trading #analytics" Ajay Koomar 9y
  • 🎯 Navigating the Trader's Maze: Spotting High-Probability Trade Setups 🚀 Kartik Saini 8mo
  • Market Manipulation: (Spoofing – Part 2): Giving up Priority Jayesh Solanki 2y

Explore topics

  • Sales
  • Marketing
  • Business Administration
  • HR Management
  • Content Management
  • Engineering
  • Soft Skills
  • See All
Backtesting Trading Systems: How Long is REALLY Enough? (2024)

FAQs

Backtesting Trading Systems: How Long is REALLY Enough? ›

Aim for at least 200 trades in your backtest, but 500-600 offers even greater reliability for informed decision-making. Beware of "Data Fatigue": Excessively long backtests can mislead you by including drastically different market regimes.

How long should you backtest a trading system? ›

When you are backtesting a day trading strategy (15-minute timeframe or lower), it is usually enough to go back two to three months and start your backtest there. When you are backtesting a strategy on a higher timeframe, you will have to go back 6 to 12 months.

What is a good backtesting result? ›

A well-conducted backtest that yields positive results assures traders that the strategy is fundamentally sound and is likely to yield profits when implemented in reality. In contrast, a well-conducted backtest that yields suboptimal results will prompt traders to alter or reject the strategy.

Which is the fastest backtesting framework? ›

Backtesting.py is a small and lightweight, blazing fast backtesting framework that uses state-of-the-art Python structures and procedures (Python 3.6+, Pandas, NumPy, Bokeh). It has a very small and simple API that is easy to remember and quickly shape towards meaningful results.

How to properly backtest a trading strategy? ›

How to backtest a trading strategy
  1. Define the strategy parameters.
  2. Specify which financial market​ and chart timeframe​ the strategy will be tested on. ...
  3. Begin looking for trades based on the strategy, market and chart timeframe specified. ...
  4. Analyse price charts for entry and exit signals.

How much backtesting data is enough? ›

Beyond Timeframes: Aim for Trade Counts: Forget arbitrary years of data; your goal is a statistically significant sample of trades. Aim for at least 200 trades in your backtest, but 500-600 offers even greater reliability for informed decision-making.

What is a good expectancy for a trading system? ›

The answer to this question depends on a number of factors. Generally speaking, a good trading expectancy should be positive and ideally above 0.25%.

What are the pitfalls of backtesting? ›

One of the most prevalent pitfalls in back-testing is over-optimization, also known as “curve-fitting.” This occurs when a trading strategy is excessively tailored to historical data, performing exceptionally well in the past but failing to generalize to future market conditions.

Does backtesting really work? ›

This is that a profitable backtest does not prove that a strategy “worked”, even in the past. This is because most backtests do not achieve any kind of “statistical significance”. As everyone knows, it's trivial to tailor a strategy that works beautifully on any given piece of historical data.

What is expectancy in backtesting? ›

What is expectancy? Expectancy is what it sounds like. It helps you understand how winners, losers, gains and losses relate to each other over the long term. This process helps you understand what your trading system profits should be, and helps validate your backtesting.

What is the best platform to backtest trading? ›

Top best backtesting software for stocks 2024
  1. Amibroker. Amibroker is a comprehensive and highly customizable backtesting platform that allows traders to develop, test, and optimize their trading strategies. ...
  2. TradeStation. ...
  3. MetaTrader 4/5. ...
  4. NinjaTrader. ...
  5. Backtrader. ...
  6. Quant Rocket. ...
  7. Trade Ideas. ...
  8. MultiCharts.
Apr 24, 2024

What is the best backtesting software without coding? ›

Capitalise.ai has emerged as a game-changer in the realm of trading automation and analysis, allowing traders with no coding skills to test and fully automate their trading strategies. The platform's backtesting feature allows users to analyze their trading strategies using an easy and intuitive text-based interface.

Is TradingView good for backtesting? ›

In summary, TradingView provides powerful tools for both manual and automated backtesting. However, remember that backtesting is just one part of strategy development. Past performance doesn't guarantee future results, so always trade with caution and proper risk management.

How do you backtest a trading strategy automatically? ›

Here's an example of one of the methods:
  1. Navigate to the indicators and trading systems window.
  2. Select the trading system you want to backtest.
  3. Open the trading system and input your test parameters.
  4. Run your test and analyse the results.
  5. Optimise by testing different input parameters (eg stop-loss values and limit orders)

How to backtest a trading algorithm? ›

To conduct a backtest, you will typically start by selecting a time period and gathering relevant data such as stock prices, economic indicators, and news events. Next, you will apply your chosen investment strategy or algorithm to this historical data set and measure its results.

How do you calculate slippage in backtesting? ›

Slippage is then calculated as the difference in order prices between the model and production environments of your trading system, and historical performance from this internal data can help determine trends or sources of the slippage.

How long is the backtest time frame for Tradingview? ›

It is Backtest Calculator For Essential and Plus plan holders, the length of available intraday data is calculated as follows: from now to 6 weeks back multiplied by timeframe(in minutes), i.e. you can go 6 weeks back on the 1-minute chart, 12 weeks back on the 2-minute chart, 30 weeks back on the 5-minute chart, 90 ...

What is the backtest limit on Tradingview? ›

Please note that the maximum length of historical data per calculation is 2 million bars. If the period used for a backtest covers more than 2 million bars, the strategy will execute on the most recent 2 million bars within the selected period.

Should you wait for retest trading? ›

Allow the Stock to Retest: This is the most critical step. When a stock price breaks a resistance level, old resistance becomes new support.

Top Articles
Latest Posts
Article information

Author: Delena Feil

Last Updated:

Views: 6631

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Delena Feil

Birthday: 1998-08-29

Address: 747 Lubowitz Run, Sidmouth, HI 90646-5543

Phone: +99513241752844

Job: Design Supervisor

Hobby: Digital arts, Lacemaking, Air sports, Running, Scouting, Shooting, Puzzles

Introduction: My name is Delena Feil, I am a clean, splendid, calm, fancy, jolly, bright, faithful person who loves writing and wants to share my knowledge and understanding with you.