Click or drag to resize

CandleManagerContainerGetCandles Method (CandleSeries, Range`1DateTimeOffset)

To get candles by the series and date range.

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IEnumerable<Candle> GetCandles(
	CandleSeries series,
	Range<DateTimeOffset> timeRange
)

Parameters

series
Type: StockSharp.Algo.CandlesCandleSeries
Candles series.
timeRange
Type: RangeDateTimeOffset
The date range which should include candles. The OpenTime value is taken into consideration.

Return Value

Type: IEnumerableCandle
Found candles.

Implements

ICandleManagerContainerGetCandles(CandleSeries, RangeDateTimeOffset)
See Also