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

Observe markets data

Subscribe to a stream of data about 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
    marketData object[]

    List of market data.

    auctionEnd int64
    auctionStart int64
    bestBidPrice string
    bestBidVolume uint64
    bestOfferPrice string
    bestOfferVolume uint64
    bestStaticBidPrice string
    bestStaticBidVolume uint64
    bestStaticOfferPrice string
    bestStaticOfferVolume uint64
    extensionTrigger Auction triggers indicate what condition triggered an auction (if market is in auction mode)

    Possible values: [AUCTION_TRIGGER_UNSPECIFIED, AUCTION_TRIGGER_BATCH, AUCTION_TRIGGER_OPENING, AUCTION_TRIGGER_PRICE, AUCTION_TRIGGER_LIQUIDITY, AUCTION_TRIGGER_LIQUIDITY_TARGET_NOT_MET, AUCTION_TRIGGER_UNABLE_TO_DEPLOY_LP_ORDERS]

    indicativePrice string
    indicativeVolume uint64
    lastTradedPrice string
    liquidityProviderFeeShare object[]

    Equity like share of liquidity fee for each liquidity provider.

    averageEntryValuation string
    averageScore string
    equityLikeShare string
    party string
    markPrice string
    market Market ID for the data
    marketState Current state of the market

    Possible values: [STATE_UNSPECIFIED, STATE_PROPOSED, STATE_REJECTED, STATE_PENDING, STATE_CANCELLED, STATE_ACTIVE, STATE_SUSPENDED, STATE_CLOSED, STATE_TRADING_TERMINATED, STATE_SETTLED]

    marketTradingMode Trading mode the market is currently running, also referred to as 'market state'

    Possible values: [TRADING_MODE_UNSPECIFIED, TRADING_MODE_CONTINUOUS, TRADING_MODE_BATCH_AUCTION, TRADING_MODE_OPENING_AUCTION, TRADING_MODE_MONITORING_AUCTION, TRADING_MODE_NO_TRADING]

    marketValueProxy string
    midPrice string
    nextMarkToMarket int64
    openInterest uint64
    priceMonitoringBounds object[]

    One or more price monitoring bounds for the current timestamp.

    maxValidPrice string
    minValidPrice string
    referencePrice string
    trigger object

    Price monitoring trigger associated with the bounds.

    auctionExtension int64
    horizon int64
    probability string
    staticMidPrice string
    suppliedStake string
    targetStake string
    timestamp int64
    trigger Auction triggers indicate what condition triggered an auction (if market is in auction mode)

    Possible values: [AUCTION_TRIGGER_UNSPECIFIED, AUCTION_TRIGGER_BATCH, AUCTION_TRIGGER_OPENING, AUCTION_TRIGGER_PRICE, AUCTION_TRIGGER_LIQUIDITY, AUCTION_TRIGGER_LIQUIDITY_TARGET_NOT_MET, AUCTION_TRIGGER_UNABLE_TO_DEPLOY_LP_ORDERS]

Loading...