Giter Site home page Giter Site logo

doudoud / computational_investing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ntrang086/computational_investing

0.0 0.0 0.0 322 KB

modeling the behavior of stock markets: create a market simulator, technical indicator, and a strategy that generates orders

Python 100.00%

computational_investing's Introduction

Computational investing

There are two parts:

1 Compute stock return using Capital Asset Pricing Model (CAPM)

2 Projects:

a) Market simulator: Read in an orders file that contains trade orders (buy and sell), compute a portfolio value for all the trades and other statistics and compare the portfolio's performance with that of $SPX

b) Technical analysis: Implement a basic technical indicator and an advanced one (Bollinger value) to detect events of interest, plot them and output events as trades to be fed into a market simulator

Setup

You need Python 2.7+, and the following packages: pandas, numpy, scipy and matplotlib.

Data

Data files can be downloaded from this link or from Yahoo Finance

Place the data into a directory named 'data' and it should be one level above this repository.

Run

To run any script file, use:

python <script.py>

Source: Part 2 of Machine Learning for Trading by Georgia Tech

computational_investing's People

Contributors

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