Webhooks (Pro+)
Receive real-time HTTP callbacks for trade executions, listener events, risk alerts, and proxy rotations.
Setup
1Go to Profile > Webhooks
2Click + Add Webhook
3Enter your endpoint URL (e.g.,
https://your-server.com/tradevanish)4Select the events you want to receive
5Click Create Webhook
You'll receive a webhook secret (whsec_...) for signature verification.
Events
| Event | Description |
|---|---|
| trade.executed | Copy trade filled on a follower |
| trade.failed | Follower order rejected |
| listener.connected | Master WebSocket connected |
| listener.disconnected | Master WebSocket dropped |
| risk.drawdown | Account hit drawdown limit |
| proxy.rotated | IP rotation on any account |
| account.connected | New broker account added |
Payload Format
{
"event": "trade.executed",
"timestamp": 1713000000,
"data": {
"ticker": "NQ",
"side": "Buy",
"qty": 2,
"price": 21500.50,
"follower": "Tradovate Account #1",
"latency_ms": 45
}
}Signature Verification
Every webhook includes an X-Tradevanish-Signature header:
X-Tradevanish-Signature: <hmac_sha256>
X-Tradevanish-Event: trade.executedVerify with:
const crypto = require('crypto');
const signature = crypto
.createHmac('sha256', webhookSecret)
.update(timestamp + '.' + rawBody)
.digest('hex');Testing
Click Test next to any webhook in the dashboard to send a test payload to your endpoint.