Click or drag to resize

ExternalConnectionBaseSubscribeHistoricalData Method

Get historical data

Namespace:  SharpCharts.Base.Connection
Assembly:  SharpCharts.Base (in SharpCharts.Base.dll) Version: 1.0.0.42 (1.0.0.42)
Syntax
C#
public virtual Task SubscribeHistoricalData(
	Instrument instrument,
	BuiltDataType builtDataType,
	BackfillPolicy backfillPolicy,
	DateTime startDate,
	DateTime endDate
)

Parameters

instrument
Type: SharpCharts.Base.DataInstrument
Instrument
builtDataType
Type: SharpCharts.Base.DataBuiltDataType
Built data type
backfillPolicy
Type: SharpCharts.Base.DataBackfillPolicy
Backfill policy
startDate
Type: SystemDateTime
Start date
endDate
Type: SystemDateTime
End date

Return Value

Type: Task
See Also