Description Usage Arguments Details Value Note Author(s) References See Also Examples
Get a data.frame of all the stocks that announce(d) earnings on a given Date.
1 2 3 | .getEarningsCalendar(Date = Sys.Date())
getEarningsCalendar(from, to)
|
Date |
a Date, or character string in the format CCYY-MM-DD |
from |
first Date for which to retrieve the Earnings Calendar |
to |
last Date for which to retrieve the Earnings Calendar |
.getEarningsCalendar
will usually be called by
getCalendarByDay
, but it can also be called
directly.
getEarningsCalendar
is a wrapper that creates a
sequence of dates between from
and to
, and
then applies .getEarningsCalendar
to each of those
dates and, finally, merges the results together into a
single data.frame
.
a data.frame
with columns “Date”,
“Time”, “Symbol”, “Company”
ALPHA CODE!!! Subject to change.
Garrett See
http://biz.yahoo.com/research/earncal/today.html
getEconomicCalendar
,
getCalendarByDay
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
## fetch the Earnings Calendar from yahoo for today
.getEarningsCalendar()
## from a single date in the past or future
.getEarningsCalendar("2012-01-04")
## fetch the Earnings Calendar from yahoo for a range of dates
getEarningsCalendar(from="2012-01-04", to="2012-01-06")
## can also use like .getEarningsCalendar and only use a single Date
getEarningsCalendar("2012-01-04") # same as .getEarningsCalendar('2012-01-04')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.