v1
latestOpenAPI 3.0.32026-07-2613529376.3 KBCollateral Trading
Open Positions
The endpoint returns all open collateral positions for the authenticated account. Each position includes entry price, unrealized PnL, margin allocation, liquidation price, and take-profit/stop-loss configuration. Use the optional market parameter to filter results to a single trading pair.
<Warning> Rate limit: 12000 requests/10 sec. </Warning> <Accordion title="Error Codes"> - `30` - default validation error code (returned when the optional `market` filter is malformed) </Accordion>post/api/v4/collateral-account/positions/open
Request body
Example request
{
"market": "BTC_USDT",
"request": "{{request}}",
"nonce": 1594297865000
}Response
Successful response - returns array of open positions
Example response
[
{
"positionId": 527,
"market": "BTC_USDT",
"amount": "0.1",
"basePrice": "45658.349",
"pnl": "-168.42",
"pnlPercent": "-0.43",
"margin": "8316.74",
"freeMargin": "619385.67",
"funding": "0",
"unrealizedPnl": "0.0019142920201966",
"positionSide": "LONG",
"openDate": 1651568067.789679,
"modifyDate": 1651568067.789679,
"tpsl": {
"takeProfitId": 123,
"takeProfit": "50000",
"stopLossId": 124,
"stopLoss": "35000"
},
"unrealizedFunding": "0.0019142920201966"
}
]