setDcp
Set the time window for automatic order cancellation upon WebSocket disconnection. Specify a duration between 3 and 300 seconds for derivatives, options, or spot products.
Instructions
Configure the time window for automatic order cancellation when WebSocket connection drops.
Institutional users only; must be enabled via account manager
Supports options, derivatives (futures), and spot products
Time window range: 3-300 seconds
After setting, activate DCP stream on private WebSocket to enable triggering
Allow ~10 seconds for system propagation
Agent hint: Use this endpoint to set the DCP time window. When WebSocket disconnects for longer than this window, all orders for the specified product are automatically cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | No | OPTIONS | |
| timeWindow | Yes |