Skip to main content
Version: testnet (v0.71)

getMarketDataHistoryConnectionByID

Get market data history for a specific market. If no dates are given, the latest snapshot will be returned. If only the start date is provided all history from the given date will be provided, and if only the end date is provided, all history from the start up to and including the end date will be provided.

getMarketDataHistoryConnectionByID(
id: ID!
start: Timestamp
end: Timestamp
pagination: Pagination
): MarketDataConnection

Arguments

getMarketDataHistoryConnectionByID.id ● ID! non-null scalar

getMarketDataHistoryConnectionByID.start ● Timestamp scalar

Optional start date time for the historic data query. If both the start and end date is not provided, only the latest snapshot will be returned. If only the start date is provided, all market data for the market from the start date forward will be returned.

getMarketDataHistoryConnectionByID.end ● Timestamp scalar

Optional end date time for the historic data query. If both the start and end date is not provided, only the latest snapshot will be returned. If only the end date is provided, all market data for the market up to and including the end date will be returned.

getMarketDataHistoryConnectionByID.pagination ● Pagination input

Optional Pagination

Type

MarketDataConnection object

Connection type for retrieving cursor-based paginated market data information