Jump to navigation

Free Newsletter Modern Trader Follow

Main menu

  • Futures
    • Modern Trader Magazine
    • Commodities
    • Futures Mag Archives
    • ETFs
    • Financials
    • Forex
    • Managed Funds
    • Market Analysis
    • News
    • Options
    • Regulation
    • Technology
    • Trading Strategies
    • Education
    • Futures Op-Ed
  • Favorites
    • Alpha Pages Most Popular
    • Futures Magazine
    • Modern Trader Magazine
    • Most Popular
    • Slideshows & Lists
    • Special Topics
      • Alpha Hunters
      • Bad Boys
      • FINtech
      • High-Frequency Trading
      • Trader's Life
      • Trading Strategies
      • FUTURES MAG's 500th ISSUE
      • We asked traders
  • Traders
    • Market Data
    • Hot Charts
    • Interactive Charts
    • Trading Calendar
  • FINalternatives
  • Hard Assets
    • Home
    • Base Metals
    • Precious Metals
    • Rare Earth Metals
    • Commodities
    • Mining Investments
    • Slideshows
  • Modern Trader
    • Subscribe
    • Past Issues
  • All +
    • Follow Us +
      • FuturesMag
      • Newsletters
      • Facebook
      • Google+
      • Linkedin
      • Twitter
      • RSS Feeds
    • About Us +
      • About
      • Advertise
      • Contact
      • Contribute
      • Privacy Policy
  • !
Follow Futures          
       
more >>

We Asked Traders

We asked traders for their opinion on the launch of bitcoin futures

Sponsored Content

Trading

Equities.com launches unlimited trading via Tradier Brokerage, Transforming into a news & fintech portal

Featured Topics

more Commodities>>

Commodities

Energy demand steps back in play
Advertisement
more Volatility>>

Volatility

Volatility & opportunity in the energy sector
more Financials>>

Financials

Daily Price Action: E-mini S&P 500
more Options>>

Options

Trading Vertical Option Spreads

How to set profit targets and control losses

By Neil Rosenthal

November 27, 2012 • Reprints

Walk-forward analysis

If a system is backtested across an entire historical data series, the results of such tests will indicate only how the system would have fared had it been operational during the time period covered by the historical data. The results tell us nothing about how the system will fare going forward in real time.

One way to address this limitation is walk-forward analysis and optimization, popularized within the trading community by Robert Pardo. With this approach, the historical data are broken up into smaller periods of time. The system then can be backtested and optimized against just a portion of data, called the in-sample data. After the system parameters have been optimized, it then can be tested on the portion of the data that immediately follows, or the out-of-sample data.

The out-of-sample data period usually is a percentage of the in-sample data period. The results of the out-of-sample tests are recorded. The process then is repeated by “sliding forward” the in-sample data period and then re-optimizing the parameters. The amount by which the in-sample data is slid forward is equal to the length of the initial out-of-sample data period (see “Walk-forward testing,” below).

In the chart, the in-sample data period is six months and the out-of-sample data period is two months. The first optimization is run on the data from January through June. The test is run on the data from July through August. The out-of-sample results are recorded. The in-sample data period then slides forward by two months. A new optimization is run and the parameters are re-set accordingly. Another out-of-sample test is run September through October.

This walk forward through the data removes some of the limitations of basic backtesting. Profitable results from this method of testing should provide a higher level of confidence in the system when traded in real time in a live account.

<<< previous
Page 2 of 5
>>next >

About the Author

Neil Rosenthal is a retired dentist who trades his own account.  He also is an experienced computer programmer.  He can be reached at rightedgetrading@gmx.com.

Related Articles
Fishing With Alternative Data
Here is your free look at the Modern Trader’s annual Hedge Fund Issue
Short-term signals in E-minis, crude and gold
Unemployment drops below 5% but payrolls disappoint
Trading vs. Gambling: The age old question
Previous
Fanning profits with W.D. Gann
Next
Neural networks: The dream that won’t die
Related Terms
technical analysis 1328Education 156Risk management 32Trading Strategies 14stop losses 4Robert Pardo 4Profit targets 2Neil Rosenthal 2

Free Newsletter Modern Trader Follow

Main menu

  • Futures
    • Modern Trader Magazine
    • Commodities
    • Futures Mag Archives
    • ETFs
    • Financials
    • Forex
    • Managed Funds
    • Market Analysis
    • News
    • Options
    • Regulation
    • Technology
    • Trading Strategies
    • Education
    • Futures Op-Ed
  • Favorites
    • Alpha Pages Most Popular
    • Futures Magazine
    • Modern Trader Magazine
    • Most Popular
    • Slideshows & Lists
    • Special Topics
      • Alpha Hunters
      • Bad Boys
      • FINtech
      • High-Frequency Trading
      • Trader's Life
      • Trading Strategies
      • FUTURES MAG's 500th ISSUE
      • We asked traders
  • Traders
    • Market Data
    • Hot Charts
    • Interactive Charts
    • Trading Calendar
  • FINalternatives
  • Hard Assets
    • Home
    • Base Metals
    • Precious Metals
    • Rare Earth Metals
    • Commodities
    • Mining Investments
    • Slideshows
  • Modern Trader
    • Subscribe
    • Past Issues
  • All +
    • Follow Us +
      • FuturesMag
      • Newsletters
      • Facebook
      • Google+
      • Linkedin
      • Twitter
      • RSS Feeds
    • About Us +
      • About
      • Advertise
      • Contact
      • Contribute
      • Privacy Policy
  • !
images