Giter Site home page Giter Site logo

quantdev's Introduction

Building Quantitative Strategy for Personal Trading

Simplified Quantopian System, locally download data, building strategy, bask testing, paper trading

Data Source

Data is imported from yahoo finance, I wrapped sp500 stocks from 2000-01-01 to 2018-08-08. You're free to add more stocks using the template. I personally add TSLA, YHOO, BABA.

I used mysql to manage the stocks daily data and provide table to create/insert/update query for reference. It is easy to migrate the data with mysql.

Later, when I introduce the text analysis model, I may use mongo db to manager the text data I wrapped from the web.

Example,

Here is an example, I use sklearn template to make this sample. Using the close price - open price as input, find their kernals and try to cluster those stocks with similiar change pattern.

alt text

Install

This project requires Python 2.7 and the following Python libraries installed:

Main References

  1. Gareth James • Daniela Witten • Trevor Hastie • Robert Tibshirani, An Introduction to Statistical Learning, 4th Edition.
  2. CHAN, N. T.; SHELTON, C. An electronic market-maker. 2001.

License

The contents of this repository are covered under the Apache 2.0 License.

quantdev's People

Contributors

kamarajukusumanchi avatar lizhicq avatar

Stargazers

 avatar

Watchers

 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.