This repository is a customized version of Interactive Brokers Gateway Docker , forked to meet specific requirements for educational materials.
Interactive Brokers Gateway Docker is a docker image that enables the running of the Interactive Brokers Gateway Application without any human interaction on a docker container.
The original project can be found on GitHub at Interactive Brokers Gateway Docker
This repository allows for the quick launch of TradingBoat using Docker. TradingBoat is a trading platform that receives alert messages via webhooks from TradingView and translates these into orders for Interactive Brokers. TradingBoat utilizes NGROK, Flask (TVWB), Redis, TBOT, and the IB Gateway as depicted in the images below.
Some of the environment variables used for the Docker configuration are inherited from the Interactive Brokers Gateway Docker project. Additionally, this repository introduces its own environment variables that control other components such as NGROK, Flask, Redis, and TBOT.
Clone the repository:
git clone https://github.com/PlusGenie/ib-gateway-docker
Copy dotenv into the root directory:
cd ib-gateway-docker
cp stable/tbot/dotenv .env
Open the dotenv file using a text editor and update the values of:
TWS_USERID: The account name used to log in to TWS / IB Gateway
TWS_PASSWORD: The password used to log in to TWS / IB Gateway
VNC_SERVER_PASSWORD
NGROK_AUTH: Authentication Token for NGROK as needed.
Once these steps are complete, you can run Tbot on Tradingboat Docker using the following command:
docker-compose up --build
After the docker starts, you can use two interfaces. Firstly, use VNC Viewer to access IB Gateway. Secondly, use the web application to track orders from TradingView to Interactive Brokers.
Please use VNC Viewer to access the IB Gateway via the VNC server.
VNC Server: 127.0.0.1:5900
After running docker-compose successfully, you can access the web application using a browser. The Dockerfile pulls the source of the web application from https://github.com/PlusGenie/tradingview-webhooks-bot .
Then go to http://127.0.0.1:5000
Here's how to launch TBOT on TradingBoat using Docker in just 5 minutes. Watch the demo on YouTube.
- Deploying TradingBoat Docker on a Public Cloud Computer Using AWS EC2
- TBOT on TradingBoat: Unleash the Power of Automated Trading
- Brief Introduction to Trading Systems: Overcoming Challenges and Unlocking Potential #1
- Brief Introduction to Trading Systems: Overcoming Challenges and Unlocking Potential #2
- Brief Introduction to Trading Systems: Overcoming Challenges and Unlocking Potential #3
- A Quick Demo of Trading Robot
-
Optimizing Execution Time: Improving TradingView to Interactive Brokers Delay with AWS Cloud
-
Decoding TradingView Alerts and Mastering ib_insync: A Comprehensive Guide