Lean
$LEAN_TAG$
|
Estimated annualized continuous dividend yield at given date More...
Public Member Functions | |
DividendYieldProvider (Symbol symbol) | |
Instantiates a DividendYieldProvider with the specified Symbol More... | |
decimal | GetDividendYield (DateTime date) |
Get dividend yield by a given date of a given symbol More... | |
Static Public Member Functions | |
static Dictionary< DateTime, decimal > | FromCorporateFactorRow (IEnumerable< CorporateFactorRow > corporateFactors, Symbol symbol) |
Returns a dictionary of historical dividend yield from collection of corporate factor rows More... | |
Static Public Attributes | |
static readonly decimal | DefaultDividendYieldRate = 0.0m |
Default no dividend payout More... | |
Protected Member Functions | |
virtual Dictionary< DateTime, decimal > | LoadDividendYieldProvider (Symbol symbol) |
Generate the daily historical dividend yield More... | |
Static Protected Attributes | |
static Dictionary< Symbol, Dictionary< DateTime, decimal > > | _dividendYieldRateProvider |
static Task | _cacheClearTask |
Properties | |
virtual TimeSpan | CacheRefreshPeriod [get] |
The cached refresh period for the dividend yield rate More... | |
Estimated annualized continuous dividend yield at given date
Definition at line 30 of file DividendYieldProvider.cs.
QuantConnect.Data.DividendYieldProvider.DividendYieldProvider | ( | Symbol | symbol | ) |
Instantiates a DividendYieldProvider with the specified Symbol
Definition at line 66 of file DividendYieldProvider.cs.
decimal QuantConnect.Data.DividendYieldProvider.GetDividendYield | ( | DateTime | date | ) |
Get dividend yield by a given date of a given symbol
date | The date |
Implements QuantConnect.Data.IDividendYieldModel.
Definition at line 101 of file DividendYieldProvider.cs.
|
protectedvirtual |
Generate the daily historical dividend yield
Exposed for testing
Definition at line 137 of file DividendYieldProvider.cs.
|
static |
Returns a dictionary of historical dividend yield from collection of corporate factor rows
corporateFactors | The corporate factor rows containing factor data |
symbol | The target symbol |
Definition at line 175 of file DividendYieldProvider.cs.
|
static |
Default no dividend payout
Definition at line 43 of file DividendYieldProvider.cs.
|
getprotected |
The cached refresh period for the dividend yield rate
Exposed for testing
Definition at line 50 of file DividendYieldProvider.cs.