Skip to main content

Module models

Module models 

Source
Expand description

Raw responses decoded directly from JSON bytes to preserve decimal tokens.

Structs§

ActivityBatch
Bounded latest activity; list limits apply independently.
ActivityCurrent
Latest activity; absent or null trade and quote fields are valid.
Book
Current snapshot; absent sides stay distinct from empty sides. No incremental continuity or book recovery is implied.
BookEvent
A raw historical book event, retaining provider identity and numeric action codes.
BookLevel
A snapshot price level with exact size.
Exchange
Exchange identity and metadata, retaining identifiers verbatim.
Market
Outcome metadata with source values retained as raw JSON.
MarketsPage
Cursor listing envelope; a null or omitted next cursor establishes termination.
Ohlcv
A bar with nullable prices, exact aggregate volume, and an optional raw market identifier.
OhlcvPeriod
A provider period definition.
Quote
Quote prices, sizes, and both provider timestamps.
Trade
A provider trade with an optional opaque identifier.

Enums§

MarketStatus
Provider lifecycle state, without settlement inference.
OutcomeType
Normalized outcome classification, without native instrument inference.
TradeSide
Provider trade-side label, without aggressor-side inference.