ISupportChartingGetHistoricalData Method (IGetDataForItem, String, IListIPluginError, DateTime)

Stator | API Documentation
Return historical data between the FROM date to today

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

IDictionary<DateTime, IPrice> GetHistoricalData(
	IGetDataForItem GetDataForItem,
	string dataFile,
	out IList<IPluginError> PluginErrors,
	DateTime dtFROM
)

Parameters

GetDataForItem
Type: Stator.libPublic.DataPlugins.DataObjectInterfacesIGetDataForItem
The item which data will be returned for (IGetDataForItem)
dataFile
Type: SystemString
The filepath/URL/pointer for the item
PluginErrors
Type: System.Collections.GenericIListIPluginError
A list of exceptions/errors occuring within the plugin as a result of this method (IPluginError)
dtFROM
Type: SystemDateTime
The date/time defining the first point of data returned

Return Value

Type: IDictionaryDateTime, IPrice
A dictionary with DateTime key and IPrice value (IPrice)
See Also

Reference