“Reverse engineering” a financial market

Wiesinger, Sornette, and Satinover (2013), of the Swiss Institute of Technology, Zurich, developed a method to “reverse engineer” real-world financial time series. They modeled financial markets as made of a large number of interacting rational Agent Based Models (ABMs). In effect, the ABMs are virtual investors. Like real investors and traders, they have limited knowledge of the detailed properties of the markets they participated in. They have access to a finite set of strategies to take only a small number of actions at each time-step and have restricted adaptation abilities.

Given the time series training data, genetic algorithms were used to determine what set of agents, with which parameters and strategies, optimized the similarity between the actual data and that generated by an ensemble of virtual stock markets peopled by software investors. By optimizing the similarity between the actual data and that generated by the reconstructed virtual stock market, the researchers obtained parameters and strategies that revealed some of the inner workings of the target stock market. They validate their approach by out-of-sample predictions of directional moves of the Nasdaq Composite Index.

The following five types of ABMs were employed:

  • Minority Game. Here, an agent is rewarded for being in the minority. An agent has the possibility not to trade thus allowing for a fluctuating number of agents in the market.
  • Majority Game. An agent is rewarded for being in the majority instead of in the minority.
  • Delayed Majority Game. Like the majority game, but the return following the decision is delayed by one time step.
  • Delayed Minority Game. This game is like the minority game, except for the delayed payoff.
  • Mixed Game. Here 50% of the agents obey the rules of the majority game and the other 50% obeying the rules of the minority game.

The models were trained on simulated market data using a genetic algorithm. They were then tested on out-of-sample, actual data from the Nasdaq Composite Index. The results, as shown in the following chart:

Based on data from Weisinger, Sornette, and Satinover (2013).

Based on data from Weisinger, Sornette, and Satinover (2013).

All agent based models performed to a level of statistical significance. This was largely due to the success of the models in trending markets. Interestingly, both the trend-following and contrarian strategies worked well during the trending markets. Similar results are reported by active traders.

Note: This blog was excerpted from my article to be published in the Fall 2013 issue of FORESIGHT: THE INTERNATIONAL JOURNAL OF APPLIED FORECASTING. To see the entire article, click here: Future of Financial Forecasting

Posted in scientific understanding of financial markets Tagged with: , , , , , , , , , , , , , , , , , , , ,

Book Three: Trading With The News

Learn about a news-based trading system that yielded a back-tested, average annualized, compounded return from 2000 to 2011 of 58.6%.

“Only once you’ve done your homework will you be able to understand how the stock market works and learn to distinguish between news and noise.” Maria Bartiromo, Use The News

Book Two: Technical Analysis

Learn about the "trend recalling" algorithm that yielded researchers a simulated annual return of greater than 400% in multiple tests.

“The scientific method is the only rational way to extract useful knowledge from market data and the only rational approach for determining which technical analysis methods have predictive power.”
David Aronson, Evidence Based Technical Analysis

Book One: Analysts’ Forecasts

Learn the strategy, based on analysts' revised forecasts, that yielded researchers an average of 1.13% - 2.19% profit per trade, for trades lasting one to two days?

Learn how certain analysts' recommendations, following brokerage hosted investment conferences, yielded profits of over 3% during a two-day holding period?

Learn how researchers found an average profitability of 1.78% for two-hour trades following an earnings announcement?

"This set of tools can help both ordinary and professional investors alike to re-think and re-vitalize their stock picking, timing and methods. A young, aspiring Warren Buffet could put this book to good use."
James P. Driscoll, PhD, investor

Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments by David Aronson (software included)

Evidence-Based Technical Analysis by David Aronson

Archive of Earlier Posts