Lean
$LEAN_TAG$
|
Provide extension and static methods for IRiskFreeInterestRateModel More...
Static Public Member Functions | |
static decimal | GetRiskFreeRate (this IRiskFreeInterestRateModel model, DateTime startDate, DateTime endDate) |
Gets the average risk free annual return rate More... | |
static decimal | GetAverageRiskFreeRate (this IRiskFreeInterestRateModel model, IEnumerable< DateTime > dates) |
Gets the average Risk Free Rate from the interest rate of the given dates More... | |
Provide extension and static methods for IRiskFreeInterestRateModel
Definition at line 38 of file IRiskFreeInterestRateModel.cs.
|
static |
Gets the average risk free annual return rate
model | The interest rate model |
startDate | Start date to calculate the average |
endDate | End date to calculate the average |
Definition at line 46 of file IRiskFreeInterestRateModel.cs.
|
static |
Gets the average Risk Free Rate from the interest rate of the given dates
model | The interest rate model |
dates | Collection of dates from which the interest rates will be computed and then the average of them |
Definition at line 58 of file IRiskFreeInterestRateModel.cs.