2020-04-21 14:29:54 +00:00
# TradingView Webhook Bot
2020-07-02 08:34:56 +00:00
![Python3.8 ](https://img.shields.io/badge/python-3.8-blue.svg ) ![GitHub license ](https://img.shields.io/badge/license-MIT-blue.svg )
2020-04-21 14:29:54 +00:00
2020-04-22 13:57:28 +00:00
This bot listens to [TradingView ](https://tradingview.com ) alerts via webhooks and sends them instantly to Telegram, Discord and/or Email.
2020-04-21 14:29:54 +00:00
## Usage
1. Clone this repository `git clone https://github.com/fabcx/TradingView-Webhook-Bot.git`
2020-04-21 14:32:56 +00:00
2. Create your virtual environment `python3 -m venv TradingView-Webhook-Bot`
2020-04-21 14:29:54 +00:00
3. Activate it `source TradingView-Webhook-Bot/bin/activate`
4. Install all requirements `pip install -r requirements.txt`
5. Edit and update the `config.py` file
2020-04-21 17:43:52 +00:00
6. Setup TradingView alerts as shown [here ](https://i.imgur.com/71UYTcu.png )
- TradingViews variables like `{{close}}` , `{{exchange}}` etc. work as well. More can be found [here ](https://www.tradingview.com/blog/en/introducing-variables-in-alerts-14880/ )
2020-04-21 14:29:54 +00:00
- Your webhook url would be `http://YOUR-IP/webhook`
7. Run the bot `python main.py`
*It is recommended to run flask on a different port like 8080. It is then necessary to forward port 80 to 8080.*
2020-04-21 17:43:52 +00:00
## Images
2020-07-02 08:34:56 +00:00
![Webhook Bot ](https://i.imgur.com/aAMDmpA.png )
2020-04-21 17:43:52 +00:00
2020-04-21 14:29:54 +00:00
## Donations
2020-04-24 11:30:24 +00:00
If you find the bot suitable for your needs, please consider donating whatever amount you like to:
#### Bitcoin (BTC)
```
2020-07-02 08:34:56 +00:00
bc1q33xz5sdqqku3629mkeksdglvq3th4l59de8qpz
2020-04-24 11:30:24 +00:00
```