Get public mark price events
GET/market/:tradeable/price
Lists price events for a market.
Request
Path Parameters
tradeable stringrequired
Query Parameters
asc
= chronologicaldesc
= reverse-chronological
since timestamp-milliseconds
Timestamp in milliseconds.
before timestamp-milliseconds
Timestamp in milliseconds.
sort string
Possible values: [asc
, desc
]
Default value: desc
Determines the order of events in response(s).
continuation_token base64
Opaque token from the Next-Continuation-Token
header used to continue listing events. The
sort
parameter must be the same as in the previous request to continue listing in the same
direction.
count int64
Possible values: >= 1
The maximum number of results to return. The upper bound is determined by a global limit.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
len uint64required
elements object[]required
uid stringrequired
timestamp timestamp-millisecondsrequired
event objectrequired
price big-decimalrequired
continuationToken base64
Opaque token to pass to the next request to continue listing events. The sort
parameter
must be the same as in the previous request to continue listing in the same direction.
{
"len": 0,
"elements": [
{
"uid": "string",
"timestamp": 1604937694000,
"event": {
"price": "1234.56789"
}
}
],
"continuationToken": "string"
}
Loading...