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

fundingPeriodDataPoints

Funding period data points for a perpetual market. The data points within a funding period are used to calculate the time-weighted average price (TWAP), funding rate and funding payments for each funding period.

fundingPeriodDataPoints(
marketId: ID!
dateRange: DateRange
source: FundingPeriodDataPointSource
pagination: Pagination
): FundingPeriodDataPointConnection!

Arguments

fundingPeriodDataPoints.marketId ● ID! non-null scalar

ID of the perpetual market to get funding periods for

fundingPeriodDataPoints.dateRange ● DateRange input

Optional date range to filter funding period data points from/to. The funding period's start date will be used to determine if the funding period's data points should be included in the results. Start and end time should be expressed as an integer value of Unix nanoseconds.

fundingPeriodDataPoints.source ● FundingPeriodDataPointSource enum

Optional filter to only return data points from a specific data source. If omitted, no filtering is applied.

fundingPeriodDataPoints.pagination ● Pagination input

Pagination control

Type

FundingPeriodDataPointConnection object

Connection type for funding period data points