Click or drag to resize

BarChartTraderGetHistoricalTicks Method (Security, DateTime, DateTime, Boolean)

To get historical ticks.

Namespace:  StockSharp.BarChart
Assembly:  StockSharp.BarChart (in StockSharp.BarChart.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IEnumerable<ExecutionMessage> GetHistoricalTicks(
	Security security,
	DateTime from,
	DateTime to,
	out bool isSuccess
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
The instrument for which you need to get all trades.
from
Type: SystemDateTime
Begin period.
to
Type: SystemDateTime
End period.
isSuccess
Type: SystemBoolean
Whether all data were obtained successfully or the download process has been interrupted.

Return Value

Type: IEnumerableExecutionMessage
Historical ticks.
See Also