Delete a GTT (dry run by default)
delete_gtt_orderDelete an active GTT so it can no longer fire; default dry run previews the stored GTT and requires confirmation to send.
Instructions
Delete an ACTIVE GTT so it can no longer fire. DRY RUN BY DEFAULT, confirmed like place_gtt_order (deleting a stop-loss GTT can increase risk, so it is not exempt). Caps do not apply to deletions; the allow-lists do, judged on the orders the GTT would have placed. The dry run shows the stored GTT. Returns the trigger_id when sent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trigger_id": "<trigger_id>"
},
"name": "delete_gtt_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true (default): validate and preview only, nothing is sent. false: send it live, which needs live trading enabled on the server and the confirmation_token from a dry run | |
| trigger_id | Yes | the GTT's trigger_id (see get_gtts) | |
| confirmation_token | No | the confirmation_token returned by a dry run of this exact call (single use) |