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
UTA accounts: Supports Futures trade types.Note: The UTA 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"// UNIFIED}//All position updates for your symbol.{"id":"1545910660739","action":"SUBSCRIBE",// or UNSUBSCRIBE"channel":"position","tradeType":"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.