When the trades subscription provides an update

interface KatanaPerpsTradeEvent {
    type: "trades";
    data: KatanaPerpsTradeEventData;
}

Hierarchy (view full)

Properties

Properties

type: "trades"

The type property is used to determine the shape of the data property of the update event.

  • Trade updates on the WebSocket include all KatanaPerpsTrade properties as well as the market symbol that corresponds to the trade.