Change of entrust
Type: Websocket Push Description: Entrust (trigger order) change notification
Parameters
| name | type | mandatory | default | description |
|---|---|---|---|---|
| – | – | false | N/A | No parameters required, subscribe to the trigger topic to receive updates |
Notes
- This push notification is triggered when a trigger/entrust order changes.
- Subscription format:
trigger - Useful for tracking creation, updates, and state changes of trigger orders.
Subscribe Example
Subscribe
{
"method": "subscribe",
"params": ["trigger"],
"listenKey": "512312356123123123" // Listening key obtained via /v4/ws-token
}
Push Example
Push
{
"topic": "trigger",
"event": "trigger",
"data": {
"s": "btc_usdt", // Symbol
"t": 1656043204763, // Event time (ms)
"i": "6216559590087220004", // Trigger ID
"st": "NEW" // State (e.g. NEW, FILLED, CANCELED)
}
}