Skip to content
Algo Trade Analytics Docs

Webhook API Reference

Technical reference for the JSON alert signal accepted by the webhook endpoint.

FieldTypeDescription
auth_keystringYour unique webhook authentication key.
tickerstringTrading symbol (e.g., “AAPL”).
directionstringlong (Buy) or short (Sell).
marketPricenumberCurrent price for slippage calculations.
FieldTypeDefaultDescription
qtynumber1Shares/contracts quantity.
orderTypestringmarketmarket, limit, stop, stop_limit.
limitPricenumber-Required for limit and stop_limit.
stopPricenumber-Required for stop and stop_limit.
{
"auth_key": "YOUR_AUTH_KEY",
"ticker": "AAPL",
"positionDirection": "entryLong",
"orderType": "market",
"qty": 100,
"marketPrice": 150.50,
"metadata": {
"timestamp": "2024-11-25T14:30:00.000Z",
"strategy": "MA Crossover",
"signal": "Golden Cross"
}
}
{
"auth_key": "YOUR_AUTH_KEY",
"ticker": "SPY",
"positionDirection": "entryLong",
"orderType": "stop_limit",
"qty": 100,
"marketPrice": 420.25,
"stopPrice": 420.00,
"limitPrice": 421.00,
"metadata": {
"timestamp": "2024-11-25T14:30:45.000Z",
"strategy": "Breakout Entry",
"signal": "Volume Spike"
}
}