Skip to content

Personal Webhook Setup

T Zacks edited this page Oct 15, 2022 · 1 revision

here are the steps

  • get a VPS I would recommend contabo.com
  • run the webhook.py

once you run it an INI file will be created and you will be asked for some data

  • secret-key = personal secret key
  • long-bot = Telegram BOT Token for LONG alerts
  • long-channel = Telegram Channel ID for LONG alerts
  • short-bot = Telegram BOT Token for SHORT alerts
  • short-channel = Telegram Channel ID for SHORT alerts

save the file after adding the details required and run the script again.

now you have your personal webhook activated . The webhook URL which will be used in setting up the TradingView Alerts will be your VPS server

image

Webhook Message in TradingView

{ "key": "personal secret key", "telegram": "Telegram long-channel", "msg": "LONG--BTC--18400--4" }

the msg contains ("LONG--BTC--18400--4" )

  • LONG = Trade direction
  • BTC = COIN name
  • 18400 = Entry Price
  • 4 = STOPLOSS