powered by
Read option data csv into dataframe. The dataframe is enriched with Date, expiration_date, days.
Date, expiration_date, days
ecop.read_csv_by_symbol(symbol, extdata_dir = NULL)ecop.enrich_option_df(df)
ecop.enrich_option_df(df)
character, option data symbol
optionally specify user's own extdata folder
dataframe, it is assumed to be in CBOE heading format
dataframe
# NOT RUN { df <- ecop.read_csv_by_symbol("spxoption2") # }
Run the code above in your browser using DataLab