Git Product home page Git Product logo

Federico Pepe's Projects

improvingmvportfolio icon improvingmvportfolio

This code tests the basic idea of my Master thesis. I propose an improved estimator of the covariance matrix of asset returns, employed in the computation of the minimum-variance portfolio. The main.py script tests the out-of-sample performance of this estimator, which is shown to deliver much better results than the sample covariance matrix and the equally-weighted portfolio.

portfoliostrategy icon portfoliostrategy

Enhanced version of the Master thesis project. The original code has been enriched with a module that automatically downloads and stores new intraday data from Yahoo Finance, to serve as a real robo-advisor for investments. The code lets you choose between U.S. and European market, represented by stocks listed in the SP500 and STOXXE600 indices.

portfoliostrategybacktestus icon portfoliostrategybacktestus

Master thesis project. The improved estimator of the covariance matrix of asset returns is employed to derive a new trading strategy based on a two-step procedure. First, it shrinks the asset universe via a subset selection, leaving only the most suitable assets. Then, it performs the mean-variance analysis. Back-testing is carried out in the U.S. stock market between 2018 and 2020. For comparison purposes, the code also implements also other strategies, such as the widely-used momentum strategy. The proposed technique is observed to deliver a very good and much more stable performance with respect to its competitors.

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.