Query UM Position Information(USER_DATA)
#
API DescriptionGet current UM position information.
#
HTTP RequestGET /papi/v1/um/positionRisk
#
Request Weight5
Parameters:
Name | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
Note
- Please use with user data stream
ACCOUNT_UPDATE
to meet your timeliness and accuracy needs.- for One-way Mode user, the response will only show the "BOTH" positions
- for Hedge Mode user, the response will show "LONG", and "SHORT" positions.
#
Response Example
- For One-way position mode:
Or For Hedge position mode(only return with position):