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

Reference / @getenginex/sdk-predictions / Orderbook

Orderbook ​

Orderbook of a market (bids from highest to lowest price, asks from lowest to highest, as the gateway delivers them).

Extended by ​

Properties ​

asks ​

asks: OrderbookLevel[]

Sell offers.


bids ​

bids: OrderbookLevel[]

Buy offers.


lastPriceNo ​

lastPriceNo: number

Last no price, in cents.


lastPriceYes ​

lastPriceYes: number

Last yes price, in cents.


marketId ​

marketId: string

Market id.


spread ​

spread: number

Difference between the best ask and the best bid, in cents.