kopia lustrzana https://github.com/fabston/TradingView-Webhook-Bot
bitcoinbotcryptodiscorddockerflaskslacktelegramtradingtradingviewtradingview-webhook-bottweepytwitterwebhookwebhookswebhooks-json
|
|
||
|---|---|---|
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| config.py | ||
| docker-compose.yml | ||
| handler.py | ||
| main.py | ||
| requirements.txt | ||
README.md
About • Features • Installation • Images • Help
About
The TradingView Webhook Bot ⚙️ listens to TradingView alerts via webhooks using flask. All alerts can be instantly sent to Telegram, Discord, Twitter and/or Email.
Features
- Telegram Support using the Python Telegram libary
- Discord Support using webhooks
- Twitter Support using the tweepy libary
- Email Support using smtplib
- Alert channels can be enabled or disabled in
config.py - Whitelisted words can be easily added in
config.py - TradingView
{{close}},{{exchange}}etc. variables support. Read more here
💡 Got a feature idea? Open an issue and I might implement it.
Installation
⚠️ Best to run the bot on a VPS. I can recommend Hetzner.
- Clone this repository
git clone https://github.com/vsnz/TradingView-Webhook-Bot.git - Create your virtual environment
python3 -m venv TradingView-Webhook-Bot - Activate it
source TradingView-Webhook-Bot/bin/activate && TradingView-Webhook-Bot - Install all requirements
pip install -r requirements.txt - Edit and update
config.py - Setup TradingView alerts as shown here
- TradingViews variables like
{{close}},{{exchange}}etc. work as well. More can be found here - Your webhook url would be
http://<YOUR-IP>/webhook
- TradingViews variables like
- If you use a firewall be sure to open port the corresponding port
- 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.
Images
How can I help?
All kinds of contributions are welcome 🙌! The most basic way to show your support is to ⭐️ star the project, or raise 🐞 issues. You can also buy me some ☕️ coffee to help keep me productive!
Thanks again for your support, it is much appreciated! 🙏

