and Setup IBridgePy On Windows
and Setup IBridgePy On Windows
Objective 1
Download IBridgepy 3
Troubleshooting 10
Objective
After completing this document, you will be able to install and run IBridgePy in your windows system.
Download IBridgePy
To download IBridgepy, first, you need to register on the portal here.
After the successful registration, you will be redirected to this page where you can login to your account.
Note: If there is a mismatch in Python and IBridgePy versions, then IBridgePy won’t work.
When you click the "Download" button you will see a tab in the bottom left corner of your browser.
Once you click on the tws…exe download button, a new tab will appear.
Find the TWS icon on your desktop and double-click to launch the Login box.
In the Global Configuration, click on the ‘API’ then click on ‘Setting’ and make the following changes.
Note: If you are using paper trading, change the socket port number to 7497
Note: All .py files that you want to run should be saved in the ‘Strategies’ folder of IBridgePy.
2. accountCode: accountCode is the IB account code that you can find at the right corner (besides
DATA) of IB TWS. This needs to be updated in the RUN_ME.py file.
Troubleshooting
1. Read the FAQs which is the next unit
2. For more FAQs visit: https://ibridgepy.com/learn-quant-skills-2/
3. If still not resolved, post on the Quantra community with full error stack trace, Python version, OS
detail and IBridgepy version.