IG Trading Algos and Scripts in Python
This project is a collection of my work over 2 years building IG Trading Algorithms + Scripts, and Donations would be much appreciated.
The Data Folder holds instrument data, raw and cleaned: .csv files are intended to be used for pandas dataframes
The algorithms follow a mvc format each controller calls a algorithm to run (some have been commented out)
Create a file holding your API keys and state its path in predefined_functions -> initialisation.py
Add your own details to trading_ig_config.py
Check the video for more details:
Subscribe to my youtube channel to find similar content.
Just a few more notes: The core scripts used in trading_IG (license in root folder) and some of the scripts in test and the config are from: https://github.com/ig-python/ig-markets-api-python-library
All the other scripts + algos have been developed by me.
This project has a number of different algorithms, some had interesting results and others not so: The most interesting of those, I’ve documented in my videos:
https://www.youtube.com/watch?v=9i5Rvi8XLwE - create positions on both sides of a single instrument (this has a part 2 at the end screen)
https://www.youtube.com/watch?v=VO9KsEVHeBk - create working orders before markets opens