This repository is a customized version of robswc/tradingview-webhooks-bot, forked to meet specific requirements for educational materials.
Tradingview-webhooks-bot (TVWB) is a small, Python-based framework that allows you to extend or implement your own logic using data from Tradingview's webhooks. TVWB is not a trading library, it's a framework for building your own trading logic.
The original TVWB can be found on GitHub at robswc/tradingview-webhooks-bot: a framework for trading with tradingview webhooks!
This web application is based on TVWB, but has been customized to meet specific needs.
It registers a single event and action, and then receives pre-defined TradingView messages, pushing them into Redis Pub/Sub or Redis streams. The application serves as a Redis Publisher or Redis Stream Adder.
TradingView messages are demultiplexed by the web application according to clientID (IBKR clientID), and are directed to different Redis channels or streams.
TradingView's webhooks are generated by a custom PineScript library, PineTradingbotWebhook
This web application can read TradingView webhook alerts or IBKR contracts (orders) from an SQL database, and display them on web pages. However, the SQL database is created by a separate application, TBOT, which is not part of this repository.
In the image below, this web application is represented by the red box:
If you choose to install TradingBoat using Docker from https://github.com/PlusGenie/ib-gateway-docker, the customized TVWB application will be automatically installed within Docker containers.
If you are new to this customized TVWB, we recommend considering the Docker installation from https://github.com/PlusGenie/ib-gateway-docker to gain a comprehensive understanding of the application.
Additionally, this is a demo video showcasing the functionality of the web application.
Web application demo
WEBAPP-DEMO-720P.mov
- 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