Query CM Position Information(USER_DATA)
#
API DescriptionGet current CM position information.
#
HTTP RequestGET /papi/v1/cm/positionRisk
#
Request Weight1
#
Request ParametersName | Type | Mandatory | Description |
---|---|---|---|
marginAsset | STRING | NO | |
pair | STRING | NO | |
recvWindow | LONG | NO | |
timestamp | LONG | YES |
- If neither
marginAsset
norpair
is sent, positions of all symbols withTRADING
status will be returned.- 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.
Note
Please use with user data stream ACCOUNT_UPDATE
to meet your timeliness and accuracy needs.
#
Response Example
- For Hedge position mode: