ecop.read_csv_by_symbol: Read option data csv

ecop.read_csv_by_symbolR Documentation

Read option data csv

Description

Read option data csv into dataframe. The dataframe is enriched with Date, expiration_date, days.

Usage

ecop.read_csv_by_symbol(symbol, extdata_dir = NULL)

ecop.enrich_option_df(df)

Arguments

symbol

character, option data symbol

extdata_dir

optionally specify user's own extdata folder

df

dataframe, it is assumed to be in CBOE heading format

Value

dataframe

Author(s)

Stephen H-T. Lihn

Examples


df <- ecop.read_csv_by_symbol("spxoption2")


ecd documentation built on May 10, 2022, 1:07 a.m.