Master's Thesis

Developing short term algorithmic pairs trading strategies using time series modeling

Afonso Villaret Frischknecht — 2021

Key information

Authors:

Afonso Villaret Frischknecht (Afonso Villaret Frischknecht)

Supervisors:

Artur Jorge Da Cunha Barreiros (Artur Jorge Da Cunha Barreiros); João Miguel Da Costa Sousa (João Miguel Da Costa Sousa)

Published in

July 21, 2021

Abstract

In this dissertation, we have applied concepts related to time series’ modeling and identification, on the implementation of speculative investment strategies. We have focused our attention on studying strategies which are independent from economic conditions, and whose returns, as a consequence, are neutral to market behaviour. More specifically, we have engaged in exploring pairs trading strategies, which involve the simultaneous opening of both a long, and a short position, in each of the traded assets. For strategies like these to be successful, it is necessary to carry out a careful and detailed analy- sis of the historical data from shares and pairs. With that in mind, we have adopted several decision methodologies based on the CAPM and on the Hurst Exponent. For each of them, we have analyzed the impact, on their respective results, of diverse indispensable parameters regarding their implementation. With this purpose, we have developed an in house automatic decision algorithm, resorting to Python. This algorithm has allowed us to perform dozens of simulations, and virtually trade hundreds of pairs across different trading periods. Ultimately, the Hurst Exponent based methodology revealed the best results. All steps of our reasoning and method will be exposed and discussed in detail. The results of all the simulations, carried out throughout this work, will also be subject to rigorous scrutiny.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

mechanical-engineering - Mechanical engineering

Publication language (ISO code)

por - Portuguese

Rights type:

Embargo lifted

Date available:

June 10, 2022

Institution name

Instituto Superior Técnico