After an order is successfully placed, cancelled, or executed, a push notification will be sent to update the corresponding trading pair's position (including scenarios such as ADL that cause changes in position size).
Push frequency: Real-time
Account & Trade Type Support
Classic accounts: Supports Futures trade type. UTA accounts: Supports Futures trade types, Margin (Isolated & Cross) is expected to be supported in Q1–Q2 next year.Note: The Pro API is currently in beta testing and should not be used in production trading environments.
//All position updates for all symbols.{"id":"1545910660739","action":"SUBSCRIBE",// or UNSUBSCRIBE"channel":"positionAll","tradeType":"FUTURES"// FUTURES / UNIFIED}//All position updates for your symbol.{"id":"1545910660739","action":"SUBSCRIBE",// or UNSUBSCRIBE"channel":"position","tradeType":"FUTURES",// FUTURES / UNIFIED"symbol":"XBTUSDTM"}
Note: If you are trading in UTA mode, set tradeType to UNIFIED. This WebSocket subscription will deliver position updates for all supported trade types under the UTA account.