Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

PerpsPairStats

24-hour price and volume stats for one pair. Keys are camelCase (indexer wire shape).

Definition

class PerpsPairStats(TypedDict):
    pairId: str
    currentPrice: str | None
    price24HAgo: str | None
    volume24H: str
    priceChange24H: str | None

Fields

pairIdstr.

currentPricestr | None. Last trade price. None if no trades in the lookback window.

price24HAgostr | None. Price 24h ago. None on insufficient history.

volume24Hstr. 24-hour USD volume. Defaults to "0" on no trades.

priceChange24Hstr | None. Absolute price change over 24h.

See also