backtesting

Multiple Factor Model – Building 130/30 Index

March 5, 2012 | systematicinvestor

Nico brought to my attention the 130/30: The New Long-Only (2008) by A. Lo, P. Patel paper in his comment to the Multiple Factor Model – Building CSFB Factors post. This paper presents a very detailed step by step guide to building 130/30 Index using average CSFB Factors as the alpha model and MSCI ... [Read more...]

Time Series Matching strategy backtest

January 17, 2012 | systematicinvestor

This is a quick post to address comments raised in the Time Series Matching post. I will show a very simple example of backtesting a Time Series Matching strategy using a distance weighted prediction. I have to warn you, the strategy’s performance is worse then the Buy and Hold. ... [Read more...]

Backtesting Rebalancing methods

December 15, 2011 | systematicinvestor

I wrote about Rebalancing in the Asset Allocation Process Summary post. Deciding how and when to rebalance (update the portfolio to the target mix) is one of the critical steps in the Asset Allocation Process. I want to study the portfolio performance and turnover for the following Rebalancing methods: Periodic ... [Read more...]

Backtesting Minimum Variance portfolios

December 12, 2011 | systematicinvestor

I want to show how to combine various risk measures I discussed while writing the series of posts about Asset Allocation with backtesting library in the Systematic Investor Toolbox. I will use Minimum Variance portfolio as an example for this post. I recommend reading a good discussion about Minimum Variance ... [Read more...]

Simple and Profitable

December 8, 2011 | systematicinvestor

The end of the month effect was examined by MarketSci in the The Last Day of the Month Blahs post. The idea is simple: buy on the last day of the month and sell a few days later. This idea was put into a strategy by Quanting Dutchman in the ... [Read more...]

Multi-Asset Backtest : Rotational Trading Strategies

December 5, 2011 | systematicinvestor

I want to discuss the implementation of Rotational Trading Strategies using the backtesting library in the Systematic Investor Toolbox.The Rotational Trading strategy switches investment allocations throughout the time, betting on few top ranked assets. For example, the ranking can be based on relative strength or momentum. A few examples ... [Read more...]

Backtesting with Short positions

December 1, 2011 | systematicinvestor

I want to illustrate Backtesting with Short positions using an interesting strategy introduced by Woodshedder in the Simple, Long-Term Indicator Near to Giving Short Signal post. This strategy was also analyzed in details by MarketSci in Woodshedder’s Long-Term Indicator post. The strategy uses the 5 day rate of change (ROC5) ... [Read more...]

Trading Strategy Sensitivity Analysis

November 28, 2011 | systematicinvestor

When designing a trading strategy, I want to make sure that small changes in the strategy parameters will not transform the profitable strategy into the loosing one. I will study the strategy robustness and profitability under different parameter scenarios using a sample strategy presented by David Varadi in the Improving ... [Read more...]

Backtesting Part 4: random strategies

October 21, 2011 | Zach Mayer

Note: This post is NOT financial advice!  This is just a fun way to explore some of the capabilities R has for importing and manipulating data.   In part 2, we found that our 200-day high, hold 100 days strategy yielded average annual return... [Read more...]

Last Time That Happened

June 30, 2011 | Milk Trader

I bought a lottery ticket yesterday. I hardly ever buy them. The last time I did I lost a dollar. Actually, every time I've bought a ticket I've lost.  Yesterday I was at the local gas station in line behind a bloke who had a comprehensive folder ...
[Read more...]

A Super-Easy, Simple-Dimple Backtester in R

April 9, 2011 | Milk Trader

I cut my finger on a paring knife this morning. Don't use a sharp knife to spread butter on your toast. It's better to limit yourself to using dull kitchen utensils until the caffeine kicks in. No matter, I still have most of my digits to type in a sim...
[Read more...]

Programming a custom Backtest Profile in R

January 6, 2010 | Milk Trader

One of the many issues with systems trading is trying to make sense of the vast amounts of data you accumulate with the backtest of a system. Historical backtesting is the first step in testing your trading idea. If it is a trading idea that ought to w...
[Read more...]
1 2

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)