
In simple English
This tool listens for price alerts sent from TradingView charts. When an alert arrives, it triggers custom Python code that you write. You can use it to send messages to Discord or connect to a broker API and execute trades. It requires some programming knowledge to set up and run. You need a server running all the time to catch alerts as they happen.
What it is
Tradingview-webhooks-bot is an event-driven Python framework built with Flask (a lightweight web framework for Python). It provides a web server to receive webhooks (automated messages sent by websites) and a command-line interface to manage actions.
What it is good for
Solo builders who want to automate their trading strategies using TradingView alerts without building a webhook server from scratch.
Status
No code changes since 2024-02-29.
- Event-driven structure makes it easy to add custom actions.
- Includes a local web interface to inspect incoming webhooks and view events.
- Provides Docker support for easier deployment on a remote server.
- Requires Python programming skills to write custom trading logic.
- Does not connect to brokers by itself, so you must write and maintain broker integration code.
- Requires a continuously running server with a public IP address to receive alerts from the internet.
Writing a custom Flask webhook server from scratch
ccxt
- freqtrade/freqtrade56k stars
A complete crypto trading bot with built-in exchange connectors rather than a blank webhook framework.
- jesse-ai/jesse8.7k stars
A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.
- hummingbot/hummingbot20k stars
A free framework for writing and running automated trading programs on cryptocurrency exchanges.
- lballabio/QuantLib7.7k stars
The long-established free library for pricing and risk-managing financial instruments.
git clone https://github.com/robswc/tradingview-webhooks-bot.git cd tradingview-webhooks-bot docker-compose run app start