ISupportLatest Interface

Stator | API Documentation
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

Namespace:  Stator.libPublic.DataPlugins
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)

public interface ISupportLatest

The ISupportLatest type exposes the following members.


Public methodDispose
Disposal method
Public methodGetLatestPrice
Return the latest price data
Public methodInitialize
Initialize method

Why is this interface required?
Functionality within Stator requires latest price data. An example of this is when Stator updates the value of a
portfolio, Stator needs to obtain the latest price for each ticker so that an up to date calculation can be made
Implementing this interface in a data plugin means the plugin is able to retrieve the latest price for any item (IGetDataForItem)

See Also