Positions History
Retrieve the history of closed collateral trading positions on your WhiteBIT account via the V4 API.
Authorizations
API Key authentication for private endpoints.
Required headers:
- X-TXC-APIKEY: API key
- X-TXC-PAYLOAD: Base64 encoded JSON payload
- X-TXC-SIGNATURE: HMAC SHA512 signature
Body
Response
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"