Jump to content

Backtesting

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by HRoestBot (talk | contribs) at 16:26, 2 September 2012 (r2.6.5) (Robot: Adding fr:Backtesting). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Backtesting can be applied to any set of historical data, but it is most common in the social and natural sciences where processes produce measurable data, take a relatively long time, and are chaotic enough to suggest a statistical approach.

Backtesting in finance and economics

In the application of backtesting techniques to capital markets, backtesting is a specific type of historical testing that determines the performance of the strategy if it had actually been employed during past periods and market conditions. Since backtesting uses real-world data, it has advantages over testing with synthesized data sets. While backtesting does not allow one to predict how a strategy will perform under future conditions, its primary benefit lies in understanding the vulnerabilities of a strategy through a simulated encounter with real-world conditions of the past. This enables the designer of a strategy to "learn from their mistakes" without actually having to make them with actual money.

A key element of backtesting that differentiates it from other forms of historical testing in that backtesting calculates how a strategy would have performed had it actually been applied in the past. This requires the backtest to replicate the market conditions of the time in question in order to get an accurate result. Examples of these market conditions include screening/buying/selling stocks that no longer exist, or using market index compositions as they were in the past, rather than current compositions. Due to the expense of obtaining these data sets, backtesting has historically been performed by institutions and professional money managers. With the advent of electronic trading and more accessible online databases, however, basic backtrading has become an option for casual traders as well and may be included as part of an investor's online brokerage account.

Various types of capital market strategies can be backtested, such as asset allocation strategies, stock screening strategies, and trading strategies. Other types of strategies are less amenable to backtesting, such as programmed trading strategies for buying or selling large quantities of a stock at the best prices by spreading the trade over a period of hours, days or weeks. This is because the act of selling large quantities of an individual issue affects the trading price for that issue, resulting in a feedback loop. Since the feedback loop is the effect being studied, backtesting is inappropriate for such strategies.

Backtesting in climate modeling

Backtesting plays a critical role in the evaluation of weather and climate models. For example, in composing a new theory of hurricane formation, a model could be backtested against actual conditions that preceded and accompanied real hurricanes. If the model accurately forecast the location, strength, trajectory and duration of a past event, it would gain credibility for future predictions. Within the field of climate modeling, backtesting plays a particularly important role due to the scale and duration of climactic events. Using historical data to test new ideas and theories enables them to be evaluated for theoretical performance within a reasonable timeframe.

See also

References