Collateral Account Summary
Collateral account summary
Get a summary of a collateral account including positions, margin, and unrealized PnL via the V4 API.
POST
Collateral Account Summary
Authorizations
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)).
Response
Successful response - returns collateral account summary
Total equity value of the collateral account
Example:
"15000.50"
Total margin used
Example:
"5000.00"
Available margin for trading
Example:
"10000.50"
Unrealized funding payments
Example:
"25.75"
Unrealized profit and loss
Example:
"150.25"
Current leverage level
Example:
3
Margin fraction ratio (margin / equity)
Example:
"0.3333"