Fed US Primary Credit Rate at given date
More...
|
| static Dictionary< DateTime, decimal > | FromCsvFile (string file, out decimal firstInterestRate) |
| | Reads Fed primary credit rate file and returns a dictionary of historical rate changes More...
|
| |
| static bool | TryParse (string csvLine, out DateTime date, out decimal interestRate) |
| | Parse the string into the interest rate date and value More...
|
| |
Fed US Primary Credit Rate at given date
Definition at line 30 of file InterestRateProvider.cs.
◆ GetInterestRate()
| decimal QuantConnect.Data.InterestRateProvider.GetInterestRate |
( |
DateTime |
date | ) |
|
◆ GetInterestRateProvider()
| static Dictionary<DateTime, decimal> QuantConnect.Data.InterestRateProvider.GetInterestRateProvider |
( |
| ) |
|
|
staticprotected |
◆ FromCsvFile()
| static Dictionary<DateTime, decimal> QuantConnect.Data.InterestRateProvider.FromCsvFile |
( |
string |
file, |
|
|
out decimal |
firstInterestRate |
|
) |
| |
|
static |
Reads Fed primary credit rate file and returns a dictionary of historical rate changes
- Parameters
-
| file | The csv file to be read |
| firstInterestRate | The first interest rate on file |
- Returns
- Dictionary of historical credit rate change events
Definition at line 112 of file InterestRateProvider.cs.
◆ TryParse()
| static bool QuantConnect.Data.InterestRateProvider.TryParse |
( |
string |
csvLine, |
|
|
out DateTime |
date, |
|
|
out decimal |
interestRate |
|
) |
| |
|
static |
Parse the string into the interest rate date and value
- Parameters
-
| csvLine | The csv line to be parsed |
| date | Parsed interest rate date |
| interestRate | Parsed interest rate value |
Definition at line 150 of file InterestRateProvider.cs.
◆ DefaultRiskFreeRate
| readonly decimal QuantConnect.Data.InterestRateProvider.DefaultRiskFreeRate = 0.01m |
|
static |
The documentation for this class was generated from the following file: