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

Observe trades

Subscribe to a stream of trades, optionally filtered by party/market

Query Parameters
    marketIds string[]

    List of Market ID to filter by.

    partyIds string[]

    List of Party IDs to filter by.

Responses

A successful response.(streaming responses)


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

    List of 0 or more trades.

    aggressor Side relates to the direction of an order, to Buy, or Sell

    Possible values: [SIDE_UNSPECIFIED, SIDE_BUY, SIDE_SELL]

    buyOrder string
    buyer string
    buyerAuctionBatch uint64
    buyerFee object

    Fee amount charged to the buyer party for the trade.

    infrastructureFee string
    liquidityFee string
    makerFee string
    id string
    marketId string
    price string
    sellOrder string
    seller string
    sellerAuctionBatch uint64
    sellerFee object

    Fee amount charged to the seller party for the trade.

    infrastructureFee string
    liquidityFee string
    makerFee string
    size uint64
    timestamp int64
    type Type values for a trade

    Possible values: [TYPE_UNSPECIFIED, TYPE_DEFAULT, TYPE_NETWORK_CLOSE_OUT_GOOD, TYPE_NETWORK_CLOSE_OUT_BAD]

Loading...