Git Product home page Git Product logo

portfolio-management-of-crypto-assets's Introduction

Portfolio Management of Crypto Assets (Skoltech ML project, 2020)

Team members: Aiusha Sangadiev, Andrey Poddubny, Kirill Stepanov, Kirill Bubenchikov

This repository contains the datasets and code needed to reproduce experiments from our project "Portfolio management of crypto assets".

Setup and dependencies

  • Python
  • Numpy, pandas, scipy
  • Matplotlib
  • PyTorch

Setup:

  1. download all the necessary datasets from data folder (everything except for csvs);
  2. run .ipynbs on local machine \ colab, change data PATHs if needed:
    Cryptoportfolio_management - main file, contains neural network and portfolio construction experiments;
    Model_Best_Stock - contains best stock model;
    Get_A_matrix_function - graph generation (there exists a pre-generated graph Amatrix for use already).

Content

  1. directory "/data" contains datasets used in this projects;
  2. directory "/model" contains trained lstm weights (load as state dict);
  3. directory "/image" contains the image used in this readme.

Results

In this project, we proposed a meethod of cryptocurrency portfolio optimization using long-short term memory (LSTM) recurrent neural network coupled with temporal graph embedding ("Temporal Relational Ranking" Feng et al., 2018) to produce return forecasts for the crypto tokens. Later, these forecasts were used in mean variance portfolio (risky portfolio) optimization and Black-Litterman model to produce the portfolio weights.

You can see the resulting portfolios in the picture above - risk-based portfolio optimization and Black-Litterman optimization based on neural network returns outperform other methods, including the Markowitz mean variance portfolio model.

portfolio-management-of-crypto-assets's People

Contributors

asangt 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.