Senin, 23 Desember 2013

Walk Forward Optimization

In his book, THE EVALUATION AND OPTIMIZATION OF TRADING STRATEGIES (2nd Edition), Bob Pardo wrote: "I have always viewed Walk-Forward Analysis as an idiot-proof wayof optimizing a trading strategy."

With such a tool available, I'd be an idiot not to use it.

Walk Forward optimization has been available for a while in most of the platforms I use: NinjaTrader, MultiCharts and TradeStation. All allow me to optimize a strategy and then show the strategy unseen data and see how it would have performed. All of the above 3 platforms performs WFO adequately. However, the one that currently provides the most statistical information about a WFO is TradeStation. The WFO in TradeStation is The Grail which TS purchased some years ago now and integrated into TradeStation. The  developer of The Grail working for TS was part of the deal.

A key issue in WFO is the data. Probably the best quality historical data currently available to retail traders at a reasonable price is the IQ Feed and its twin, Kinetick if you are a NinjaTrader user.

As long as I can get the data issue resolved, I can use one platform to do my research an another to do the trading. Why would I want to do this? For a number of reasons including:
1. Preference
2. Running multiple algos on the same underlying and needing different broker accounts for each algo of the same symbol
3. Spreading risk between brokers (This is an issue for me since MF Global and PFG Best - I dodged both those bullets but am nevertheless gun shy).

Optimization is meaningless unless the WFO test is passed.

A good walked forward algo should have stats such as the ones below from one of the longer term flobots I run currently run on the ES:




Again, passing all these tests is no guarantee of future profitability bt it is the best way I know of getting a great flobot. The repeated profitability and good stats in the Out Of Sample data as the WFO rolls forward gives me the confidence of robustness.

Lastly, Happy Holidays to everyone. Snow has finally arrived here in the Haute Savoie. The house is full of family although not everyone is here this year - 4 are in Oz - I am jealous that they can go to the beach.

Tidak ada komentar:

Posting Komentar