Giter VIP home page Giter VIP logo

spy-reaper's Introduction

Spy Reaper

An algorithmic trading application based off of Interactive Brokers Python API. This application connects to a running instance of Interactive Brokers' TWS (Trader Workstation) or Gateway.

The strategy of the trading algorithm is based off of the mean reversion trading theory, which states that stock prices, as they fluctuate, have a tendency to gravitate toward their mean (average) price.

The purpose of the algorithm is to manipulate mean reversion movements by stochastic analysis of stock price. When the stochastics are below a threshold, the algorithm will buy the stock. When the stochastics become high again, the algorithm will sell the stock.

The goal of the algorithm is to outperform the S&P 500, while simultaneously minimizing risk.

The manipulated stock is SPY- the S&P 500 ETF.

Requires:

  • Python 3
  • TWS API 973.05 'pythonclient' directory installed under a system path or '/opt/ibapi-beta/' (Unix/Mac) or 'C:\TWS API\' (Windows)
  • A running TWS or IB Gateway application to connect to

Project Status:

  • Initial development

spy-reaper's People

Contributors

aswathm78 avatar calerid avatar smilez8324 avatar tranceitionalmynd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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