About • Features • Installation • Images • Help
The TradingView To Telegram Webhook Bot listens to TradingView alerts via webhooks using NestJS. All alerts can be instantly sent to Telegram.
- Telegram Support using the NestJS Telegram libary
- TradingView
{{exchange}}
,{{ticker}}
etc. variables support. Read more here
💡 Got a feature idea? Open an issue and I might implement it.
⚠️ Best to run the bot on a VPS. I can recommend Hetzner.
-
Install NodeJS
-
Clone this repository
git clone https://github.com/raftheunis87/tradingview-to-telegram-webhook-bot.git
-
Install all requirements
npm install
-
Set the required environment variables
TELEGRAM_BOT_TOKEN
is the token you receive after creating a bot with the BotFatherTELEGRAM_CHAT_ID
is the id of the telegram group or channel in which the bot will give the TradingView alerts.
More information on how to set environment variables for your specific os can be found here
-
Setup TradingView alerts as shown here
- TradingViews variables like
{{exchange}}
,{{ticker}}
etc. work as well. More can be found here - Your webhook url would be
http://<YOUR-IP>/bot/v1/alerts
- TradingViews variables like
-
If you use a firewall be sure to open port the corresponding port
-
Run the bot
npm run build && npm run start:prod
This application will run at port 4000 by default. It is then necessary to forward port 80 to 4000. If you want to run this on a different port, you can set a PORT
environment variable with the port number of your own choice.
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! You can also sent me some crypto to the following addresses:
- BTC: 16RvXgVz8DAtrC5J3tTC5TPmoUVzctzN3C
- ETH: 0x55d1d279e20be28a1cebe48eaa879c80e7fbc3a9
Thanks again for your support, it is much appreciated! 🙏