Returns a filtered list of fills for a given position
Changed onRequest
- Base URLhttps://api.ethereal.trade
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Direction to paginate through objects
Limit the number of objects to return
Pointer to the current object in pagination dataset
Id of the position to filter fills by
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
- warning
added the new
SETTLEMENTenum value to the//response property for the response status - info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromnumberto no type for status - warning
added the new
DELEVERAGEenum value to the//response property for the response status - info
added to the
//response propertyallOflist for the response status - info
the
response's property default valueBad Requestwas removed for the status - info
the
response's property default valueForbiddenwas removed for the status - info
the
response's property default valueNot Foundwas removed for the status - info
the
response's property default valueToo Many Requestswas removed for the status - info
the
response's property default valueUnauthorizedwas removed for the status - info
the
response's property default valueUnprocessable Entitywas removed for the status - info
the
response's property default value400was removed for the status - info
the
response's property default value401was removed for the status - info
the
response's property default value403was removed for the status - info
the
response's property default value404was removed for the status - info
the
response's property default value422was removed for the status - info
the
response's property default value429was removed for the status - info
removed the
0.00enum value from the//response property for the response status - info
removed the
1.00enum value from the//response property for the response status - info
response property
messagelist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- breaking