Skip to main content

user.otc.deals

CHANNEL 

wss://stream.crypto.com/exchange/v1/user

user.otc.dealsPrivate
OTC deal updates for RFQ takers. Subscribe with channels ["user.otc.deals"]. Provides deal status updates (ACCEPTED, CONFIRMED, SETTLED, REJECTED).

Request

Body

required
    id integerrequired

    Request id

    method stringrequired

    Possible values: [subscribe]

    params objectrequired
    channels string[]required

    e.g. ["user.otc.deals"]

    nonce integerrequired

    Current timestamp in milliseconds

WebSocket response
Schema
    id int64
    method string
    code int32
    result object
    subscription string
    channel string
    data object[]
  • Array [
  • deal_id string

    System generated unique ID for the deal

    cl_deal_id string

    Client provided ID for the deal request

    quote_id string

    System generated unique ID for the quote

    quote_req_id string

    System generated unique ID for the quote request

    deal_type string

    Deal type

    deal_status string

    Possible values: [ACCEPTED, CONFIRMED, SETTLED, REJECTED]

    ACCEPTED: system received deal; CONFIRMED: liquidity provider has executed deal; SETTLED: deal settled and funds transferred; REJECTED: deal rejected

    reason string

    NO_ERROR or error reason

    update_time_ns string

    Unix epoch time when deal last updated in nanosecond

    leg_list object[]
  • Array [
  • instrument_name string

    Instrument symbol (e.g., BTC_USD)

    price decimal

    Echoed back from quote

    quantity decimal

    Echoed back from quote request if requested quantity

    notional decimal

    Echoed back from quote request if requested notional

    executed_quantity decimal

    Executed quantity

    executed_notional decimal

    Executed notional

    side string

    Possible values: [BUY, SELL]

    Echoed back from deal

    type string

    Possible values: [PRICE]

    e.g. PRICE

  • ]
  • ]