Skip to main content

Module markets

Module markets 

Source

Structsยง

BookParams
Parameters for batch pricing requests
CalculatePriceParams
Parameters for the calculate-price endpoint
CalculatePriceResponse
Response from the calculate-price endpoint
FeeRateResponse
Response from the fee-rate endpoint
LastTradePriceResponse
Last trade price response
ListMarketsResponse
Markets list response
LiveActivityEvent
A live activity event for a market
Market
Market information
MarketToken
Market token (outcome)
Markets
Markets namespace for market-related operations
MidpointResponse
Midpoint price response
NegRiskResponse
Response from the neg-risk endpoint
OrderBook
Order book data
OrderLevel
Order book level (price and size)
PriceHistoryPoint
A single point in the price history timeseries
PriceResponse
Price response
PricesHistoryResponse
Response from the prices-history endpoint
SpreadResponse
Spread response (bid-ask spread for a token)
TickSizeResponse
Response from the tick-size endpoint