Skip to main content
Version: testnet (v0.71)

Observe markets depth

Subscribe to a stream of the latest market depth for a given market

Query Parameters
    marketIds string[]

    List of market IDs to be obtained in the subscription.

Responses

A successful response.(streaming responses)


Schema
    error object
    code int32
    details object[]
    @type string
    message string
    result object

    Response that is received for MarketDepth subscription.

    marketDepth object[]

    List of market depth data.

    buy object[]

    Collection of price levels for the buy side of the book.

    numberOfOrders uint64
    price string
    volume uint64
    marketId string
    sell object[]

    Collection of price levels for the sell side of the book.

    numberOfOrders uint64
    price string
    volume uint64
    sequenceNumber uint64
Loading...