Description Usage Arguments Details Value Note Author(s) References See Also Examples
Get information about dividends of stocks that go (went) ex-dividend on a given Date or range of dates.
1 2 3 | .getDividendsCalendar(Date = Sys.Date())
getDividendsCalendar(from, to)
|
Date |
a Date, or character string in the format CCYY-MM-DD |
from |
first Date for which to retrieve the Dividend Calendar |
to |
last Date for which to retrieve the Dividend Calendar |
.getDividendsCalendar
will usually be called by
getCalendarByDay
, but it can also be called
directly.
getDividendsCalendar
is a wrapper that creates a
sequence of dates between from
and to
, and
then applies .getDividendsCalendar
to each of
those dates and, finally, merges the results together
into a single data.frame
.
a data.frame
with columns “SYMBOL”,
“COMPANY”, “AMOUNT”, “EX-DATE”,
“PAYABLE”, “RECORD”, and
“DECLARATION”
ALPHA CODE!!! Subject to change.
Garrett See
http://www.earnings.com/dividend.asp?date=&client=cb
getEconomicCalendar
,
getEarningsCalendar
,
getCalendarByDay
1 2 3 4 5 6 7 | ## Not run:
## fetch the Dividends Calendar from yahoo for today
.getDividendsCalendar()
## fetch the Dividends Calendar for a range of dates
getDividendsCalendar(from=Sys.Date(), to=Sys.Date() + 7)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.