Position Information(USER_DATA)
#
API DescriptionGet current account information.
#
HTTP RequestGET /dapi/v1/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 "BOTH", "LONG", and "SHORT" positions.
Note
Please use with user data stream
ACCOUNT_UPDATE
to meet your timeliness and accuracy needs.