Ws ticker feed selector v1

WSTickerFeedSelectorV1

Subscribes to a ticker feed for a single instrument. The ticker.s channel offers simpler integration. To experience higher publishing rates, please use the ticker.d channel.
Unlike the ticker.d channel which publishes an initial snapshot, then only streams deltas after, the ticker.s channel publishes full snapshots at each feed.

The Delta feed will work as follows:

  • On subscription, the server will send a full snapshot of the ticker.
  • After the snapshot, the server will only send deltas of the ticker.
  • The server will send a delta if any of the fields in the ticker have changed.


Field Semantics:
  • [DeltaOnly] If a field is not updated, {}
  • If a field is updated, {field: '123'}
  • If a field is set to zero, {field: '0'}
  • If a field is set to null, {field: ''}

Name
Lite
Type Required
Default
Description
instrument
i
string True The readable instrument name:
  • Perpetual: ETH_USDT_Perp
  • Future: BTC_USDT_Fut_20Oct23
  • Call: ETH_USDT_Call_20Oct23_2800
  • Put: ETH_USDT_Put_20Oct23_2800
rate
r
integer True The minimal rate at which we publish feeds (in milliseconds)
Delta (100, 200, 500, 1000, 5000)
Snapshot (500, 1000, 5000)