Send TradingView strategy and indicator alerts to a TradersPost webhook, and TradersPost places the orders in the broker accounts you connect.
By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.

Alert webhookReceived
{
"ticker": "AAPL",
"action": "buy"
}
Ask your agent how our TradingView integration is right for you.
1. Signal source
TradingView Chart alert (fixed for this page)
TradingView · Create alert
Message
{ "ticker": "{{ticker}}", "action": "{{strategy.order.action}}" }
TradingView webhook · buy AAPLAccepted
| Account | Order | Status |
|---|---|---|
| Alpaca account 1 | Buy 10 AAPL | Sent |
| Alpaca account 2 | Buy 10 AAPL | Sent |
| Tradier account | Buy 10 AAPL | Sent |
A TradingView alert for AAPL reaches TradersPost and becomes a market buy for 10 shares on 2 Alpaca accounts and 1 Tradier account.
TradingView · Create alert
Message
{ "ticker": "{{ticker}}", "action": "{{strategy.order.action}}" }
TradingView webhook · buy AAPL 270115C200Accepted
| Account | Order | Status |
|---|---|---|
| tastytrade account 1 | Buy 1 AAPL 270115C00200000 | Sent |
| tastytrade account 2 | Buy 1 AAPL 270115C00200000 | Sent |
| Tradier account | Buy 1 AAPL270115C00200000 | Sent |
A TradingView alert for AAPL 270115C200 reaches TradersPost, which sends it to tastytrade as AAPL 270115C00200000, and becomes a market buy for 1 contract on 2 tastytrade accounts and 1 Tradier account.
TradingView · Create alert
Message
{ "ticker": "{{ticker}}", "action": "{{strategy.order.action}}", "price": "{{close}}" }
TradingView webhook · buy ESH2027Accepted
| Account | Order | Status |
|---|---|---|
| Tradovate account 1 | Buy 1 ESH2027 | Sent |
| Tradovate account 2 | Buy 1 ESH2027 | Sent |
| TradeStation account | Buy 1 ESH27 | Sent |
A TradingView alert for ESH2027 reaches TradersPost and becomes a market buy for 1 contract on 2 Tradovate accounts and 1 TradeStation account. The alert also carries a price, because Tradovate sends no quotes.
TradingView · Create alert
Message
{ "ticker": "{{ticker}}", "action": "{{strategy.order.action}}", "price": "{{close}}" }
TradingView webhook · buy ESH2027Accepted
| Account | Order | Status |
|---|---|---|
| Lucid Trading account 1 | Buy 1 ESH2027 | Sent |
| Lucid Trading account 2 | Buy 1 ESH2027 | Sent |
| Lucid Trading account 3 | Buy 1 ESH2027 | Sent |
+ 2 more accounts, same order
A TradingView alert for ESH2027 reaches TradersPost and becomes a market buy for 1 contract on 5 of your Lucid Trading accounts through Tradovate. The alert also carries a price, because Tradovate sends no quotes.
TradingView · Create alert
Message
{ "ticker": "{{ticker}}", "action": "{{strategy.order.action}}" }
TradingView webhook · buy BTC-USDAccepted
| Account | Order | Status |
|---|---|---|
| Kraken account 1 | Buy 0.01 BTCUSD | Sent |
| Kraken account 2 | Buy 0.01 BTCUSD | Sent |
| Coinbase account | Buy 0.01 BTC-USD | Sent |
A TradingView alert for BTC-USD reaches TradersPost, which sends it to Kraken as BTCUSD, and becomes a market buy for 0.01 BTC on 2 Kraken accounts and 1 Coinbase account.
What you build on the TradingView side and what TradersPost does with each alert.
The message is a short JSON payload pasted into the TradingView alert. Which one you need depends on what your script is.
One alert per ticker. TradingView fills in the order the strategy just generated, so entries, exits and reversals all come through the same alert.
{
"ticker": "{{ticker}}",
"action": "{{strategy.order.action}}",
"sentiment": "{{strategy.market_position}}",
"quantity": "{{strategy.order.contracts}}",
"price": "{{close}}"
}
The sentiment field tells TradersPost what the position should be after the order: long, short or flat.
One alert per condition. An indicator has no orders of its own, so each signal you want to trade gets its own alert and message.
{
"ticker": "{{ticker}}",
"action": "buy",
"price": "{{close}}"
}
Create another alert with "action": "sell", or "exit", for the other side.
TradingView webhooks can arrive from 2 or 3 seconds to a minute or more late, and TradingView considers 25 to 45 seconds normal. Build the strategy on a timeframe longer than the delay. TradersPost is not designed for sub-minute strategies.
Alert webhooks delay (opens in a new tab)A script can change a signal during the live bar, or use data a past bar did not have, so a trade on the chart may never produce a live alert. Read the repainting notes before you send a script to a broker, and run the alert on a paper broker first.
Pine Script repainting (opens in a new tab)The strategy message can carry the quantity of the order the script generated, as in the template above.
Strategy alerts (opens in a new tab)Every signal that fires becomes a real order in your broker account.
In TradingView
Create the alert in TradingView
In TradingView
Paste the webhook and message
{
"ticker": "{{ticker}}",
"action": "{{strategy.order.action}}",
"quantityType": "fixed_quantity",
"quantity": "{{strategy.order.contracts}}"
}
In TradersPost
Connect your broker to the strategy
Pick your strategy as the condition and turn on the Webhook URL option.
Paste your TradersPost webhook URL and the JSON message into the alert.
Link your Tradovate account. Every TradingView signal now places an order.
The alert is the same for every connection. Each connection page lists the asset classes and order types that broker accepts.
Free 7-day trial
Set-up in 3 minutes
Paper account for testing
By continuing, you agree to the TradersPost Terms of Service and Privacy Policy. This site is protected by reCAPTCHA.