Click or drag to resize

QuandlHistorySourceGetCandles Method

Download candles from the site.

Namespace:  StockSharp.Algo.History
Assembly:  StockSharp.Algo.History (in StockSharp.Algo.History.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IEnumerable<TimeFrameCandleMessage> GetCandles(
	Security security,
	TimeSpan timeFrame,
	DateTime beginDate,
	DateTime endDate
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Security.
timeFrame
Type: SystemTimeSpan
Time-frame. Possible values TimeFrames.
beginDate
Type: SystemDateTime
Start date.
endDate
Type: SystemDateTime
End date.

Return Value

Type: IEnumerableTimeFrameCandleMessage
Candles.
See Also