Click or drag to resize

OandaHistorySourceLoadRates Method

To get the historical rate of the currency pair.

Namespace:  StockSharp.Algo.History.Forex
Assembly:  StockSharp.Algo.History (in StockSharp.Algo.History.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public IEnumerable<Level1ChangeMessage> LoadRates(
	Security security,
	DateTime from,
	DateTime to
)

Parameters

security
Type: StockSharp.BusinessEntitiesSecurity
Currency pair.
from
Type: SystemDateTime
Start date.
to
Type: SystemDateTime
End date.

Return Value

Type: IEnumerableLevel1ChangeMessage
Historical rate.
See Also