Giter VIP home page Giter VIP logo

yiboway / multivariate_cointegration_in_statistical_arbitrage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joaojungblut/multivariate_cointegration_in_statistical_arbitrage

0.0 0.0 0.0 12.02 MB

This repository contains codes and reports pertaining to my final CQF project. Here, I apply the Johansen approach to construct a cointegrated portfolio.

License: MIT License

Jupyter Notebook 100.00%

multivariate_cointegration_in_statistical_arbitrage's Introduction

Multivariate Cointegration in Statistical Arbitrage

This repository houses codes and reports pertaining to my final CQF project. Here, I apply the Johansen approach to construct a cointegrated portfolio.

Code Structure and Project Report Details

The Jupyter Notebook, TS_JOAORAMOSJUNGBLUT_CODE.ipynb, associated with this project encompasses the developed code, spanning various stages. Initially, it focuses on data loading and manipulation, followed by the implementation of the Johansen class, used for conducting cointegration tests and parameter estimation. The Backtest class is created for portfolio construction and backtest execution, while the Performance class is responsible for calculating risk and return measures, as well as generating graphs and result tables.

The PDF file TS_JOAORAMOSJUNGBLUT_REPORT.pdf, in turn, serves as the final project report, providing a comprehensive exposition. This document covers the models used, details the adopted trading strategy, presents the obtained results, and suggests possible improvements to be implemented in the future.

The provided Excel files, Ibovespa.xlsx, StockPrice.xlsx and MarketComposition.xlsx, constitute the databases for project development, respectively, containing information such as Bovespa index data, adjusted closing prices of stocks, and market composition.

Additionally, there is a CSV file, FF_factors.csv, that stores Fama-French factor data generated in another repository, "BR-Fama-French-Factors". These data are used for conducting robustness tests, expanding the analysis and validation of the proposed model.

multivariate_cointegration_in_statistical_arbitrage's People

Contributors

joaojungblut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.