Start free
Documentation

Versioned command syntax reference

Current command contract: action, symbol, risk or volume, price modes, statuses and non-execution reasons.

TradingView

Versioned command syntax reference

Current command contract: action, symbol, risk or volume, price modes, statuses and non-execution reasons.

Updated 11 May 2026 12:36
Step 1 Create account
Step 2 Connect broker
Step 3 Paste webhook
Delivery status Received → Routing → ACK → Delivered

Contract version

Current syntax reference: 2026-05.

Realtime safety contract

  • WebhookIngress does not currently parse ttl_ms from TradingView alerts
  • Expiry is enforced server-side in the realtime dispatch window
  • Expired live commands are never replayed
  • Trading commands do not use automatic retry

Status lifecycle

  • Received: webhook accepted by the edge
  • Rejected: syntax, quota, account or routing validation failed
  • Expired: command was too old for live execution
  • Routed: command was sent to the realtime route
  • ACK: robot/cBot acknowledged reception
  • Delivered: terminal path completed
  • BrokerRejected: broker or terminal refused the order

Explicit parameters

Prefer the fields parsed by WebhookIngress today:

  • action, with aliases side, command, type, msgtype
  • symbol, with aliases pair, ticker, instrument, market, asset
  • risk or fixed volume / lot / lots / fixedVolume
  • sl, tp and price for pending orders
  • source, id / streamId, account / accountCode, platform

Legacy planning names such as vol_lots, sl_pips, tp_pips or ttl_ms are not read by the current WebhookIngress parser. Use the account price mode to decide how sl, tp and price are interpreted.

Commands

Market: buy, long, sell, short. Pending: buylimit, buy_limit, buystop, buy_stop, selllimit, sell_limit, sellstop, sell_stop. Close/cancel supported now: closelong, closeshort, closelongshort, cancellong, cancelshort. Advanced families: partial close, breakeven / newsltp, trailing stop, reverse close and pending expiration.

Non-execution reasons

The dashboard should explain: quota exceeded, syntax rejected, account offline, expired, duplicate signal, unknown symbol or broker rejected.