latestOpenAPI 3.1.02026-08-1051108155.9 KB
6e6f8dad92bf
Position
Returns a filtered list of fills for a given position
get/v1/position/fill
Query parameters
order'asc' | 'desc'
Direction to paginate through objects
limitinteger
Limit the number of objects to return
cursorstring
Pointer to the current object in pagination dataset
positionIdstring uuid required
Example:81215694-2d9f-4a87-af57-a710118938c0
Id of the position to filter fills by
orderBy'price' | 'filled' | 'createdAt'
Example:price
Order by field
Response
Example response
{
"data": [
{
"createdAt": 1712019600000,
"feeUsd": "3.049563",
"filled": "2.420",
"price": "4200.5",
"realizedPnl": "3.049563",
"type": "LIMIT"
}
],
"hasNext": true
}