fastbot
All guides
TradingView

Connect TradingView via webhook

Let TradingView alerts place orders through Fastbot: JSON templates for Binance, DNSE and eToro, plus the limits worth knowing.

3 min read·Updated September 29, 2026

If you run a strategy on TradingView, Fastbot can take your alerts over a webhook and place the orders for you — on all three exchanges.

How it works

TradingView posts a JSON payload to your bot's own webhook address whenever an alert fires. Fastbot verifies it with a secret, places the order, then messages you the result on Telegram.

Get your webhook address and secret

Message @fastbot_support for the two values that belong to your bot:

  • Webhook URL — your bot's own address.
  • Secret — the string that proves a signal came from you.

Create the alert on TradingView

  1. Create an Alert as usual.
  2. Under Notifications → Webhook URL: paste your webhook address.
  3. Under Message: paste the JSON from a template below.
  4. Save the alert. When the condition triggers, Fastbot places the order and messages you.

Template — Binance

{
  "secret": "your-secret-here",
  "exchange": "binance",
  "market": "futures",
  "symbol": "BTCUSDT",
  "action": "buy",
  "orderType": "market",
  "qty": 100,
  "qtyType": "usdt"
}

market is required for Binance: spot or futures. qtyType takes coin, usdt or percent. action takes buy, sell, close, close_and_reverse or cancel.

With an automatic take-profit and stop-loss:

{
  "secret": "your-secret-here",
  "exchange": "binance",
  "market": "futures",
  "symbol": "BTCUSDT",
  "action": "buy",
  "orderType": "market",
  "qty": 100,
  "qtyType": "usdt",
  "tp": { "type": "limit", "price": 72000 },
  "sl": { "type": "market", "triggerPrice": 67000 }
}

Template — Vietnamese stocks (DNSE)

{
  "secret": "your-secret-here",
  "exchange": "dnse",
  "symbol": "HPG",
  "action": "buy",
  "orderType": "market",
  "qty": 150,
  "qtyType": "shares"
}

Use "qtyType": "vnd" to size by amount instead. Fastbot splits the board lot and odd lot exactly as it does for a manual order.

Template — US stocks (eToro)

{
  "secret": "your-secret-here",
  "exchange": "etoro",
  "symbol": "SPY",
  "action": "buy",
  "orderType": "market",
  "qty": 100,
  "qtyType": "usd"
}

Crypto versus stocks

BinanceDNSE & eToro
marketRequiredNot used
actionbuy, sell, close, close_and_reverse, cancelbuy and sell only
orderTypemarket, limit, stop_market, stop_limitmarket and limit only
tp / sl on the orderSupportedRejected

The two stock exchanges only accept signals during their trading hours. Outside them Fastbot refuses and tells you which session is currently running.

Things to remember

Treat the secret like a password. Anyone holding it can send signals into your bot. If you suspect it leaked, message support for a new one.

The .P suffix is handled. TradingView sends perpetual symbols as BTCUSDT.P; Fastbot strips the suffix itself.

Pause blocks webhooks too. Tapping ⏸ Pause Bot under ⚙️ Settings makes Fastbot ignore incoming signals until you resume. It is the fastest way to stop a strategy that is misbehaving.

Leverage still comes from Binance. A webhook signal cannot change leverage — it runs at whatever you already set for that pair on Binance.

Need a JSON template for your specific strategy? Message @fastbot_support.

Ready to start?

Message @fastbot_support on Telegram to get free access.

Sign up via @fastbot_support