News:Sources

Announces the state of the News Sources visible to this Client

Controller: News
Topic: Sources
Action: Sub
Permissions: None

Payload

Unordered Array of News Source State objects

News Source State object

Name Type Expect Description
Code String Always The code for the News Source
Feed String Always Status of the data feed for this News Source. One of:
Initialising: Feed is establishing, and will be online shortly.
Active: Feed is active and online.
Closed: Feed is active, but the News Source is closed.
Impaired: Feed is unexpectedly offline, and data may be stale or unavailable.
Expired: Feed is temporarily unavailable while a new state is prepared.

Example

Send:

{"Controller":"News","Topic":"Sources","Action":"Sub","Confirm":true}

Receive:

{"Controller":"News","Topic":"Sources","Data":[{"Code":"ASX","Feed":"Active"}]}
{"Controller":"News","Topic":"Sources","Action":"Sub","Confirm":true}