Stator.libPublic.DataPlugins Namespace

Interfaces used to implement data plugin functionality - supplying price data to Stator.

Remarks

Each interface in this namespace represents one discrete capability. A data plugin declares what it can do by choosing which interfaces to implement:

IIsDataPlugin - required; identifies the assembly to Stator as a data plugin.
ISupportLatest - the plugin can return the latest price for an item.
ISupportHistorical - the plugin can return a historical price series.
ISupportCharting - the plugin can enumerate tickers and serve chart data.

Request and response payloads live in the child namespaces Stator.libPublic.DataPlugins.Requests and Stator.libPublic.DataPlugins.Responses; the data shapes exchanged with Stator live in Stator.libPublic.DataPlugins.DataObjectInterfaces.

Interfaces

IIsDataPlugin Interface which identifies the assembly/file as a data plugin
If you implement this interface, Stator will identify the assembly as a valid data plugin
ISupportCharting Interface which implements charting data functionality for a data plugin
If you implement this interface the data plugin will support charting
ISupportHistorical Interface which implements historical data functionality for a data plugin
If you implement this interface the data plugin will support the retrieval of historical price data
ISupportLatest Interface which implements latest price functionality for a data plugin
If you implement this interface the data plugin will support the retrieval of latest price data