Incoming Webhook to telegram message
 
 
Go to file
sixBit 30665e8051 Added Telegram Markdown support 2020-07-16 09:09:36 +02:00
.github Minor changes to the readme 2020-07-11 10:08:51 +02:00
.gitignore Initial commit 2020-04-21 16:05:31 +02:00
LICENSE Few minor updates 2020-07-04 09:38:38 +02:00
README.md Added Telegram Markdown support 2020-07-16 09:09:36 +02:00
config.py Added option to whitelist words 2020-07-12 09:48:57 +02:00
handler.py Added Telegram Markdown support 2020-07-16 09:09:36 +02:00
main.py Added option to whitelist words 2020-07-12 09:48:57 +02:00
requirements.txt Added Twitter support 2020-04-24 13:30:24 +02:00

README.md

Python version GitHub license GitHub issues GitHub pull requests
GitHub stars GitHub forks GitHub watchers

AboutFeaturesInstallationImagesHelp

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 vultr.

  1. Clone this repository git clone https://github.com/sixBit/TradingView-Webhook-Bot.git
  2. Create your virtual environment python3 -m venv TradingView-Webhook-Bot
  3. Activate it source TradingView-Webhook-Bot/bin/activate && TradingView-Webhook-Bot
  4. Install all requirements pip install -r requirements.txt
  5. Edit and update config.py
  6. 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
  7. If you use a firewall be sure to open port the corresponding port
  8. 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

Webhook Bot

How can I help?

All kinds of contributions are welcome! The most basic way to show your support is to ⭐️ star the project, or to raise 🐞issues.