Giter VIP home page Giter VIP logo

quantop's Introduction

Quantop

Problem: How to predict the stock pricing and generate a portfolio with hedging in a medium time period (longer than one month and shorter than one year)?

Solution: The Quantop will apply multiple Machine Learning and statistical models (including linear regression and LSTM networks) to predict the price of stocks and generate portfolios with hedging strategies to achieve higher excess return and lower risk of volatility. The multi-factor model with share prices data and fundamentals data are utilized in generating the portfolio and hedging strategy is used to reduce the beta of the portfolio (which is a measure of systematic risk). The Quantop will also introduce RESTful APIs for automated trades.

Claim1: The portfolio using hedge strategy can achieve higher excess returns than traditional strategies.
Claim2: The portfolio using hedge strategy can achieve lower risk of volatility than traditional strategies.
Claim3: The Quantop can offer RESTful APIs for automated trades. (It will be completed before the end of October)

  • Train a model using RNN on AAPL.csv
python3 stock_prediction.py --stock_symbol=AAPL --train=True --lstm_size=128 --max_epoch=500
  • Load a model trained by AAPL.csv
python3 stock_prediction.py --stock_symbol=GOOG --train=False --lstm_size=128 --max_epoch=50
  • Calculate the ROI and sharpe ratio of the portfolio
python3 model_evaluation.py --with_hedging=True --top_num=5

Todo list:

  1. API Design
  2. Database Design
  3. Backend Design

quantop's People

Contributors

deqingqu avatar

Stargazers

Kai Li avatar

Watchers

James Cloos avatar  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.