Positions History
Positions History
The endpoint retrieves positions history.
POST
Positions History
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
application/json
Response
Successful response - returns array of position history
Position identifier
Example:
111
Position market
Example:
"BTC_USDT"
Date of position opening in Unix timestamp format
Example:
1650400589.882613
Date of position modification (current event) in Unix timestamp format
Example:
1650400589.882613
Position amount
Example:
"0.1"
Base price of position
Example:
"45658.349"
Funding fee for whole position lifetime till current state
Example:
"0"
Liquidation price according to current state of position
Example:
null
State of liquidation
Available options:
margin_call, liquidation Example:
null
Details of order which changes position
Position side
Available options:
LONG, SHORT, BOTH Example:
"LONG"