key is always required. Never share it publicly.

Open market order (minimum)

  • symbolId
  • tradeSide (1 buy, 2 sell)
  • volumeType and volume (type 1) or volumePercent (type 2)
{
  "key": "YOUR_CWEBHOOK_KEY",
  "symbolId": 1,
  "tradeSide": 1,
  "volumeType": 1,
  "volume": 0.01
}

Volume types

  • volumeType 1 — fixed lot size via volume (e.g. 0.01).
  • volumeType 2 — percentage of account balance via volumePercent (e.g. 1 = 1% of balance). Common on demo for risk-based sizing.

Stop loss and take profit

relativeStopLoss and relativeTakeProfit are in pips, not points or price. Trailing: set relativeStopLoss and trailingStopLoss: true on the opening webhook.

Limit orders

Add limitOrder: true and limitPrice with your entry price. Use Alert generators → Entry execution → Limit to build the JSON.

Close only

closePosition: true; optional symbolId, tradeSide, label, closePercent. Ideal for TradingView strategy exit alerts.

Modify

modifyPosition: true, label, plus at least one SL/TP field. See modify stops guide.

closeOpenPosition

When closeOpenPosition is true on an entry webhook, Cwebhook closes the current open position on that symbol/side (if any) before opening the new one. Best when you only run one position at a time per symbol.

Rate limits

Typical limits: demo 30 requests/minute and 100/day; live 120/minute. Valid JSON can still return HTTP 429 if you exceed limits or hit dashboard trading restrictions. See errors & limits.

Related guides