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
Function GetInterestRate ( 
	currency As CurrencyType,
	type As QuoteType
) As ReturnValue(Of Double)
Visual C++
ReturnValue<double>^ GetInterestRate(
	CurrencyType currency, 
	QuoteType type
)
F#
abstract GetInterestRate : 
        currency : CurrencyType * 
        type : QuoteType -> ReturnValue<float> 

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

Type: ReturnValue<(Of <(<'Double>)>)>
The interest rate for the specified currency, or failure information if not available.

See Also