Retrieve the history of closed collateral trading positions on a WhiteBIT account via the V4 API.
The public WhiteBIT API key.
Base64-encoded JSON request body.
HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).
Successful response - returns array of position history
Position identifier
111
Position market
"BTC_USDT"
Date of position opening in Unix timestamp format
1650400589.882613
Date of position modification (current event) in Unix timestamp format
1650400589.882613
Position amount
"0.1"
Base price of position
"45658.349"
Funding fee for whole position lifetime till current state
"0"
Liquidation price according to current state of position
null
State of liquidation
margin_call, liquidation null
Details of order which changes position
Position side
LONG, SHORT, BOTH "LONG"