Git Product home page Git Product logo

algorithmic-trading-'s Introduction

Paper-Trading-

This is an algorithmic paper trading bot that uses the following APIs: Alpaca, financialmodelingprep, yahoofinance. With these tools and use of deep learning, we can create an intelligent trading bot that can automate trades in the market. For testing purposes we will trade paper money.

Development

Steps to run locally:

  1. create an alpaca account and generate api keys (secret and reg)
  2. clone the repo into a local directory using git clone https://github.com/ZacharyJWyman/Algorithmic-Trading-.git
  3. Create a config.py file using the terminal by touch config.py and create variables API_KEY = 'key' & API_SECRET_KEY = 'secret_key' within config.py file. You can use notepad for this step.
  4. cd in master directory and create a virtual env using virtualenv venv
  5. cd into virtual environment cd venv and then instantiate using .\Scripts\activate (Windows activation)
  6. navigate to directory where requirements.txt is located while virtualenv is activate and install dependencies pip install -r requirements.txt
  7. to run GUI python gui.py in the terminal.

Current:

Currently the bot is linked to a paper trading account and can make paper trades when the market is open. There is also a fully functional GUI that incorporates a deep learning model to predict stock prices. The GUI can make trades for you and store past orders as well as fetch current stock price and predicted price for stocks publicly traded in the U.S.

What comes next?

  • Integrate future forecasting (10-Day & 30-Day) periods.
  • Flag buy and sell periods with model for smart trading.
  • Create a more robust model (ideas: stock sentiment (news), seasonality trends).

Using the GUI

Video

Author

Created by Zachary Wyman

algorithmic-trading-'s People

Contributors

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