This function performs the classical pairs trading framework over a matrix of prices using MatLab. The basic idea of pairs trading is to take advantage of market mean reversion behavior in order to make profit out of short and long positions. More details about this type of quantitative trading strategy can be found at the word document in the zip file. This function will calculate the total raw and excessive return for each type of trade and also the total with input parameters d,window,t and ut.
83469.zip
(408.93 KB, 需要: 5 个论坛币)
本附件包括:- Example_Data.mat
- trades.m
- normdata.m
- pairs.m
- pairstrading.m
- Description_of_Pairs_Trading.pdf