To walk through the code and for a thorough description, refer to
A. Meucci (2009) , "Review of Statistical Arbitrage, Cointegration, and Multivariate Ornstein-Uhlenbeck",
Latest version of article and code available at http://symmys.com/node/132
Added trading signals based on z-score bands and expected time before cashing in on trades
updated documentation link
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.