Loads the interest rate or current risk free rate of return. This instance will go to Yahoo and pull the current price of the specified symbol. The value or current price retrieved will be used as the interest rate.

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

Syntax

C#
public double LoadInterestRate(
	string symbol
)
Visual Basic
Public Function LoadInterestRate ( 
	symbol As String
) As Double
Visual C++
public:
double LoadInterestRate(
	String^ symbol
)
F#
member LoadInterestRate : 
        symbol : string -> float 

Parameters

symbol
Type: System..::..String
The symbol to retrieve data for.

Return Value

Type: Double
double containing the current interest rate or -1 if there was an error retrieving.

See Also