All Tickers Stream

24hr rolling window ticker statistics for all symbols. These are NOT the statistics of the UTC day, but a 24hr rolling window from requestTime to 24hrs before. Note that only tickers that have changed will be present in the array.

Update Speed

  • Pushed on each block that is at least 1 second since the last push.

Subscribe Request

  • Subscribe Schema

See WsAllTickerSubscriptionParams in Schema.

interface SubscribeRequest {
  op: "subscribe";
  id: number | null; // Optional client originated request identifier sent as acknowledgment in the response.
  params: WsAllTickerSubscriptionParams;
}
  • Subscribe Ack Schema

See WsAllTickerSubscriptionResult in Schema.

interface SubscriptionResult {
  op: "subscribe";
  id: number | null; // Optional client originated request identifier sent as acknowledgment in the response.
  result: WsAllTickerSubscriptionResult | null;
  success: boolean; // Indicates if the request was successfully processed by the engine.
  connID: string;
  error: string | null; // Condition: If success is false. Error message.
  time_in: number; // The timestamp when the subscription was received on the wire, just prior to parsing data, in milliseconds.
  time_out: number; // The timestamp when the acknowledgement was sent on the wire, just prior to transmitting data, in milliseconds.
}
  • Example: Subscribe

  • Example: Subscribe Ack

Unsubscribe Request

  • Unsubscribe Schema

See WsAllTickerSubscriptionParams in Schema.

  • Unsubscribe Ack Schema

See WsAllTickerSubscriptionResult in Schema.

  • Example: Unsubscribe

  • Example: Unsubscribe Ack

Snapshot / Update Response

  • Snapshot / Update Schema

See WsTickerData in Schema.

  • Example: Snapshot

  • Example: Update

Last updated