Collateral Trading
Collateral Account Summary
The endpoint returns a collateral account summary including total equity, used margin, free margin, unrealized profit and loss, and the current leverage level. The marginFraction field indicates the ratio of used margin to total equity.
<Warning> Rate limit: 12000 requests/10 sec. </Warning>post/api/v4/collateral-account/summary
Request
- Base URLhttps://whitebit.com
- AuthAPI key in header X-TXC-APIKEY and API key in header X-TXC-PAYLOAD and API key in header X-TXC-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"request": "{{request}}",
"nonce": 1594297865000
}Response
Successful response - returns collateral account summary
Example response
{
"equity": "15000.50",
"margin": "5000.00",
"freeMargin": "10000.50",
"unrealizedFunding": "25.75",
"pnl": "150.25",
"leverage": 3,
"marginFraction": "0.3333"
}Changes
No recorded changes to this operation across all 1 revision of this API.