set_dcp
Set automatic order cancellation when connection is lost. Specify time window in seconds and product type to protect your open orders.
Instructions
Set Disconnect Cancel All (DCP) - auto-cancel orders on disconnect.
Args: time_window: Time window in seconds (3-300). product: Product type: OPTIONS, DERIVATIVES, SPOT (default: OPTIONS).
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": {
"time_window": "<time_window>"
},
"name": "set_dcp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time_window | Yes | ||
| product | No | OPTIONS |