CBOEcalendar: View the CBOE Expiration Calendar

Description Usage Arguments Value Author(s) Examples

View source: R/getSymbols.cfe.R

Description

Download and view the CBOE Expiration Calendar for a given year in pdf format, or view the pdf on the web without downloading it.

Usage

1
2
3
4
5
  CBOEcalendar(year = format(Sys.Date(), "%Y"),
    show = c("pdf", "webpage"))

  CFEcalendar(year = format(Sys.Date(), "%Y"),
    show = c("pdf", "webpage"))

Arguments

year

4 digit year of the calendar that you would like to view. Defaults to the current year as determined by Sys.Date()

show

what to show. Either “pdf” or “webpage”. (Alternatively, can be be numeric: 1 for “pdf”, 2 for “webpage”)

Value

called for side-effect

Author(s)

Garrett See

Examples

1
2
3
4
5
## Not run: 
CBOEcalendar() #This year's calendar in your pdf viewer.
CBOEcalendar(2010, show='web') #open webpage with 2010 calendar

## End(Not run)

qmao documentation built on May 2, 2019, 4:54 p.m.