Learn R Programming

ecd (version 0.6.4)

ecop.plot_option: Plot option chain charts using conf from option sample data

Description

This utility produces standardized plots of 3. The first plot is the option state price and fits. The second plot is the log-slope of option state prices and fits. The thrid plot is the implied volatility and fits.

Usage

ecop.plot_option(object, otype, simulate = TRUE)

Arguments

object
an ecop object with conf
otype
option type
simulate
logic, if TRUE, simulate according to lambda transformation and lambda distribution.

Value

The ecop.opt object

Examples

Run this code
## Not run: 
#     op <- ecop.from_symbol_conf("spx2_1d")
#     par(mfcol=c(3,2))
#     ecop.plot_option(op, otype="c")
#     ecop.plot_option(op, otype="p")
# ## End(Not run)

Run the code above in your browser using DataLab