On a close webhook, set closePosition: true and closePercent between 1 and 100 (e.g. 50 closes half of each matched position). Omit closePercent to close 100%.

Target one strategy

Combine with label so only that strategy’s positions are scaled out. See position labels.

Example: close 50% by label

{
  "key": "YOUR_CWEBHOOK_KEY",
  "closePosition": true,
  "label": "tv-strategy-01",
  "closePercent": 50
}

Related guides