TradingView Interactive Brokers Integration using Webhooks
https://www.youtube.com/watch?v=zsYKfzCNPPU
Visit Interactive Brokers
Buy Me a Coffee
https://buymeacoffee.com/parttimelarry
- Requires redis, Python3, and packages installed
pip3 install -r requirements.txt
export FLASK_APP=webapp
export FLASK_ENV=development
flask run
- ngrok - https://ngrok.com - provides tunnel to localhost
- Flask - https://flask.palletsprojects.com/ - webapp
- Redis - https://pypi.org/project/redis/ - Redis client for Python
- ib_insync - https://ib-insync.readthedocs.io
- Redis pubsub - https://www.twilio.com/blog/sms-microservice-python-twilio-redis-pub-sub, https://redislabs.com/ebook/part-2-core-concepts/chapter-3-commands-in-redis/3-6-publishsubscribe/
- asyncio snippet - https://stackoverflow.com/questions/54153332/schedule-asyncio-task-to-execute-every-x-seconds
- ib_insyc examples - https://github.com/hackingthemarkets/interactive-brokers-demo/blob/main/order.py
- I'm labeling instruments with the following in trading view: pink is BOW watchlist, orange is my TV Ichimoku scanner, green is IB active morning scanner, red will be Discord ideas