Your orders
Changed onNot a REST call: this is the WebSocket handshake. Connect to the URL below and the exchange answers 101 Switching Protocols; everything after that is frames, not requests.
Your own orders, pushed each time one changes: placed, partially filled, filled, cancelled.
No subscribe frame. The connection is bound to the account that signed the handshake and receives that account's events. There is no parameter naming an account, so there is no way to name someone else's.
The payload is the same order shape GET /api/user/orders returns.
Request
- Base URLwss://ws.azbit.com
- URLwss://ws.azbit.com/user-orders
- Authnone declared. Required headers: API-PublicKey, API-Signature
Query parameters
Unix milliseconds, within 30 seconds of server time, and part of the signed URL. A REST signature covers a request that happens once; a socket URL is requested once and then stays open, so without this a captured handshake would mirror your private stream indefinitely.
Headers
Your API public key.
hex(HMAC_SHA256(privateKey, publicKey + connectUrl)). A handshake has no body, so nothing is appended after the URL. Sign the wss:// form, exactly as you connect.
Changes
- info
endpoint added
- info