Ws ticker feed selector v1
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: ''}
NameLite |
Type | RequiredDefault |
Description |
---|---|---|---|
instrumenti |
string | True | The readable instrument name:
|
rater |
integer | True | The minimal rate at which we publish feeds (in milliseconds) Delta (100, 200, 500, 1000, 5000) Snapshot (500, 1000, 5000) |