Reference / @getenginex/sdk-predictions/realtime / MarketUpdate
MarketUpdate
Update of a market (prices, volume and status), received on predictionsTopics.market.
Properties
bestAskNo?
optionalbestAskNo?:number
Best no ask (absent when there is no offer).
bestAskYes?
optionalbestAskYes?:number
Best yes ask (absent when there is no offer).
bestBidNo?
optionalbestBidNo?:number
Best no bid (absent when there is no offer).
bestBidYes?
optionalbestBidYes?:number
Best yes bid (absent when there is no offer).
eventId
eventId:
string
Event id of the market.
lastPriceNo
lastPriceNo:
number
Last no price, in cents.
lastPriceYes
lastPriceYes:
number
Last yes price, in cents.
marketId
marketId:
string
Market id.
openInterest
openInterest:
number
Open interest, in contracts.
status
status:
MarketStatus
Status, without the MARKET_STATUS_ prefix and in lowercase.
totalVolume
totalVolume:
number
Total volume.
updatedAt
updatedAt:
string
Update instant (ISO 8601).
volume24h
volume24h:
number
Volume of the last 24 hours.