Lean
$LEAN_TAG$
|
Constant dividend yield model More...
Public Member Functions | |
ConstantDividendYieldModel (decimal dividendYield) | |
Instantiates a ConstantDividendYieldModel with the specified dividend yield More... | |
decimal | GetDividendYield (DateTime date) |
Get dividend yield by a given date of a given symbol More... | |
decimal | GetDividendYield (DateTime date, decimal securityPrice) |
Get dividend yield at given date and security price More... | |
Constant dividend yield model
Definition at line 23 of file ConstantDividendYieldModel.cs.
QuantConnect.Data.ConstantDividendYieldModel.ConstantDividendYieldModel | ( | decimal | dividendYield | ) |
Instantiates a ConstantDividendYieldModel with the specified dividend yield
Definition at line 30 of file ConstantDividendYieldModel.cs.
decimal QuantConnect.Data.ConstantDividendYieldModel.GetDividendYield | ( | DateTime | date | ) |
Get dividend yield by a given date of a given symbol
date | The date |
Implements QuantConnect.Data.IDividendYieldModel.
Definition at line 40 of file ConstantDividendYieldModel.cs.
decimal QuantConnect.Data.ConstantDividendYieldModel.GetDividendYield | ( | DateTime | date, |
decimal | securityPrice | ||
) |
Get dividend yield at given date and security price
date | The date |
securityPrice | The security price at the given date |
Implements QuantConnect.Data.IDividendYieldModel.
Definition at line 51 of file ConstantDividendYieldModel.cs.