Set label when you open a trade (e.g. "label": "tv-strategy-01"). Use the same label on later webhooks with closePosition or modifyPosition so only those positions are affected.
Why labels matter
If you run more than one strategy on the same account or symbol, a generic close can wipe the wrong trades. Labels scope closes, partial exits, and stop modifications to one strategy.
Open with a label
Include label on every entry webhook for that strategy. Keep the string short, stable, and unique per strategy.
Close by label
{
"key": "YOUR_CWEBHOOK_KEY",
"closePosition": true,
"label": "tv-strategy-01"
}Modify stops by label
Send modifyPosition: true with the matching label and new SL/TP fields. Details: modify stop loss and take profit.
Related guides