setDcp
Set the time window for automatic order cancellation when WebSocket disconnects. Orders for specified products are cancelled if the connection drops longer than this window.
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 |