Code Monkey home page Code Monkey logo

tradingview-to-telegram-webhook-bot's Introduction

NodeJS version GitHub issues GitHub pull requests
GitHub stars GitHub forks GitHub watchers

AboutFeaturesInstallationImagesHelp

About

The TradingView To Telegram Webhook Bot listens to TradingView alerts via webhooks using NestJS. All alerts can be instantly sent to Telegram.

Features

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

Installation

⚠️ Best to run the bot on a VPS. I can recommend Hetzner.

  1. Install NodeJS

  2. Clone this repository git clone https://github.com/raftheunis87/tradingview-to-telegram-webhook-bot.git

  3. Install all requirements npm install

  4. Set the required environment variables

    • TELEGRAM_BOT_TOKEN is the token you receive after creating a bot with the BotFather
    • TELEGRAM_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

  5. 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
  6. If you use a firewall be sure to open port the corresponding port

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

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! You can also sent me some crypto to the following addresses:

  • BTC: 16RvXgVz8DAtrC5J3tTC5TPmoUVzctzN3C
  • ETH: 0x55d1d279e20be28a1cebe48eaa879c80e7fbc3a9

Thanks again for your support, it is much appreciated! 🙏

tradingview-to-telegram-webhook-bot's People

Contributors

raf-theunis-kbc-be avatar raftheunis87 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.