Market Data (WebSocket)
Impact Curve
Impact Curve WebSocket subscription and response reference.
WSS
Connect to
wss://mainnet-ws1.bulk.trade, then send the subscription below. All channels share the same socket; the page name is not a separate endpoint path. The playground sends read-only subscription messages.
Subscribe to the latest liquidation-size impact curve for one market. The
network endpoint sends the cached curve immediately when available, followed by
executor-published updates.
timestampis Unix time in nanoseconds.fullcontains adjusted total-impact curves;bookcontains raw order-book sweep-cost curves.buyconsumes asks andsellconsumes bids.- A side can be
nullwhen a curve cannot be formed from the available depth. Treat it as unavailable, not zero impact. - Each non-null curve contains
logMin,logRange, andbps. The example abbreviates the arrays; usen = bps.length. Knotirepresents quantityexp(logMin + i / (n - 1) * logRange). The smallest quantity isexp(logMin). - No initial event is sent before the executor publishes the first curve for that symbol.
GET /impact.