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
}Changes
Changed in 1 of the 2 revisions of this API.11
- ●
added the new
SETTLEMENTenum value to the//response property for the response statusresponse-property-enum-value-added
- ○
added the non-success response with the status
response-non-success-status-added
- ●