Gets the interest rate for a specified currency.

Namespace:  RightEdge.Common
Assembly:  Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
ReturnValue<double> GetInterestRate(
	CurrencyType currency,
	QuoteType type
)
Visual Basic (Declaration)
Function GetInterestRate ( _
	currency As CurrencyType, _
	type As QuoteType _
) As ReturnValue(Of Double)
Visual C++
ReturnValue<double>^ GetInterestRate(
	CurrencyType currency, 
	QuoteType type
)

Parameters

currency
Type: RightEdge.Common..::.CurrencyType
A currency to retrieve the interest rate for.
type
Type: RightEdge.Common..::.QuoteType
Specifies whether the bid or ask value of the interest rate should be retrieved.

Return Value

The interest rate for the specified currency, or failure information if not available.

See Also