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).
//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.