View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Pairs Trading Strategy

Be the first to rate this file! 20 Downloads (last 30 days) File Size: 126 KB File ID: #41540 Version: 1.0
image thumbnail

Pairs Trading Strategy



A pairs trading strategy implemented in MATLAB.

| Watch this File

File Information

This demo uses MATLAB and the Technical Analysis (TA) Developer Toolbox ( to develop and backtest a pairs trading strategy. In particular, it is shown how a statistical arbitrage model can be created and backtested over a period of 10 years of historical data. The performace of the model is evaluated and a parameter sweep is performed. The resulting trading strategy is easily adaptable to any other pair of correlated financial instruments.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Other requirements TA Developer Toolbox
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
14 Oct 2016 lowrence fan

try it

Comment only
20 May 2013 Mirko

Mirko (view profile)

Good idea and good work but this can only be run together with the Commercial solution offered by the author and is not a stand alone.

Comment only

Contact us