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

EventDescription
trade.executedCopy trade filled on a follower
trade.failedFollower order rejected
listener.connectedMaster WebSocket connected
listener.disconnectedMaster WebSocket dropped
risk.drawdownAccount hit drawdown limit
proxy.rotatedIP rotation on any account
account.connectedNew 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.executed

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