Loads the interest rate or current risk free rate of return. This instance will go to Yahoo
and pull the current price of ^IRX which is the 13-week treasury bill. This is generally
considered to be the going interest rate.
Namespace:
RightEdge.Common
Assembly:
Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public double LoadInterestRate() |
| Visual Basic (Declaration) |
|---|
Public Function LoadInterestRate As Double |
| Visual C++ |
|---|
public:
double LoadInterestRate() |
Return Value
double containing the current interest rate or -1 if there was an error retrieving.
See Also