Binance Connector JS
    Preparing search index...

    PredictionOrderBookByMarketIdResponse

    interface PredictionOrderBookByMarketIdResponse {
        asks?: number[][];
        bids?: number[][];
        marketId?: number | bigint;
        msgType?: string;
        updateTimestampMs?: number | bigint;
    }
    Index

    Properties

    asks?: number[][]

    Ask levels sorted by price ascending, usually the top 50 or fewer; an empty array means no asks. Values may carry floating-point noise (e.g. 6865.999999999999), so round them before display.

    PredictionOrderBookByMarketIdResponse

    bids?: number[][]

    Bid levels sorted by price descending, usually the top 50 or fewer; an empty array means no bids. Values may carry floating-point noise (e.g. 6865.999999999999), so round them before display.

    PredictionOrderBookByMarketIdResponse

    marketId?: number | bigint

    Market ID of this order book, the same markets[].marketId used by the REST API.

    PredictionOrderBookByMarketIdResponse

    msgType?: string

    Message type, always orderbook.

    PredictionOrderBookByMarketIdResponse

    updateTimestampMs?: number | bigint

    Quote update time in milliseconds (UTC). Messages for the same market may arrive out of order, so discard anything older than the snapshot you already have.

    PredictionOrderBookByMarketIdResponse