Back-testing Portfolios

In my previous blog “Back-testing Strategies” I discussed how SAMOA back-tests a single strategy. SAMOA can also back-test a portfolio of strategies, through the function ssRunPortfolioS.

The portfolio simulation workflow is similar to the that of a single strategy, with a few additions:

  1. All the strategies are simulated at the same time. The events throughout all the strategies are produced chronologically.
  2. Besides from the strategy book, there is a portfolio book. All the calls to methods of the Book object are automatically duplicated into a portfolio book.
  3. The JScript has access to both the strategy book and the portfolio book during the simulation.
  4. Finally it’s possible to provide portfolio allocation schemas for the simulation.

Portfolio Simulation

Leave a Reply

CAPTCHA Image