Skip to content

Trading Algorithms for IB using Machine Learning in Python (includes datasets)

Notifications You must be signed in to change notification settings

hzargar2/algorithmic_trading_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alogirthmic Trading Bot using LSTM Neural Network and Random Forest Classifier

Trading Algorithms for IB using Machine Learning in Python (includes datasets)

This my first personal project. It involves algorithmic trading bots created using machine learning in python. This project is a product of patching code from other projects with my own to create the trading bots. The feature engineering and machine learning model portions are strictly my own.

Dependencies:

numpy pandas sklearn matplotlib pickle sys backtrader argparse datetime keras time pytz ta seaborn utils scipy

Quickstart instructions:

Run LSTM_IB_demo.py (LSTM neural network) and RF_IB_demo.py (Random Forest Classifier) with updated host and port configurations for your Interactive Brokers demo account to test out the algorithms. They use the model, weights, and scaler files that are created through the trainers. Run *_TRAINERS.py files to train the models with your own custom configurations and/or see how the models perform on historical data.

About

Trading Algorithms for IB using Machine Learning in Python (includes datasets)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages