This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-predictions/realtime / MarketUpdate

MarketUpdate ​

Update of a market (prices, volume and status), received on predictionsTopics.market.

Properties ​

bestAskNo? ​

optional bestAskNo?: number

Best no ask (absent when there is no offer).


bestAskYes? ​

optional bestAskYes?: number

Best yes ask (absent when there is no offer).


bestBidNo? ​

optional bestBidNo?: number

Best no bid (absent when there is no offer).


bestBidYes? ​

optional bestBidYes?: 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.