Get market data history
Get market data history for a market ID between given dates
Path Parameters
Market ID to request data history for, required field.
Query Parameters
Optional Unix time in nanoseconds.
Optional Unix time in nanoseconds.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Newest records first, older records last, default is true.
- 200
- 500
- default
A successful response.
Schema
marketData object
Page of market data history with the corresponding page information.
edges object[]
Page of market data items and their corresponding cursors.
node object
Data generated by a market when open.
Possible values: [AUCTION_TRIGGER_UNSPECIFIED
, AUCTION_TRIGGER_BATCH
, AUCTION_TRIGGER_OPENING
, AUCTION_TRIGGER_PRICE
, AUCTION_TRIGGER_LIQUIDITY
, AUCTION_TRIGGER_LIQUIDITY_TARGET_NOT_MET
, AUCTION_TRIGGER_UNABLE_TO_DEPLOY_LP_ORDERS
]
liquidityProviderFeeShare object[]
Equity like share of liquidity fee for each liquidity provider.
Possible values: [STATE_UNSPECIFIED
, STATE_PROPOSED
, STATE_REJECTED
, STATE_PENDING
, STATE_CANCELLED
, STATE_ACTIVE
, STATE_SUSPENDED
, STATE_CLOSED
, STATE_TRADING_TERMINATED
, STATE_SETTLED
]
Possible values: [TRADING_MODE_UNSPECIFIED
, TRADING_MODE_CONTINUOUS
, TRADING_MODE_BATCH_AUCTION
, TRADING_MODE_OPENING_AUCTION
, TRADING_MODE_MONITORING_AUCTION
, TRADING_MODE_NO_TRADING
]
priceMonitoringBounds object[]
One or more price monitoring bounds for the current timestamp.
trigger object
Price monitoring trigger associated with the bounds.
Possible values: [AUCTION_TRIGGER_UNSPECIFIED
, AUCTION_TRIGGER_BATCH
, AUCTION_TRIGGER_OPENING
, AUCTION_TRIGGER_PRICE
, AUCTION_TRIGGER_LIQUIDITY
, AUCTION_TRIGGER_LIQUIDITY_TARGET_NOT_MET
, AUCTION_TRIGGER_UNABLE_TO_DEPLOY_LP_ORDERS
]
pageInfo object
Page information that is used for fetching further pages.
{
"marketData": {
"edges": [
{
"cursor": "string",
"node": {
"auctionEnd": "string",
"auctionStart": "string",
"bestBidPrice": "string",
"bestBidVolume": "string",
"bestOfferPrice": "string",
"bestOfferVolume": "string",
"bestStaticBidPrice": "string",
"bestStaticBidVolume": "string",
"bestStaticOfferPrice": "string",
"bestStaticOfferVolume": "string",
"extensionTrigger": "AUCTION_TRIGGER_UNSPECIFIED",
"indicativePrice": "string",
"indicativeVolume": "string",
"lastTradedPrice": "string",
"liquidityProviderFeeShare": [
{
"averageEntryValuation": "string",
"averageScore": "string",
"equityLikeShare": "string",
"party": "string"
}
],
"markPrice": "string",
"market": "string",
"marketState": "STATE_UNSPECIFIED",
"marketTradingMode": "TRADING_MODE_UNSPECIFIED",
"marketValueProxy": "string",
"midPrice": "string",
"nextMarkToMarket": "string",
"openInterest": "string",
"priceMonitoringBounds": [
{
"maxValidPrice": "string",
"minValidPrice": "string",
"referencePrice": "string",
"trigger": {
"auctionExtension": "string",
"horizon": "string",
"probability": "string"
}
}
],
"staticMidPrice": "string",
"suppliedStake": "string",
"targetStake": "string",
"timestamp": "string",
"trigger": "AUCTION_TRIGGER_UNSPECIFIED"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}