quantmod (version 0.4.26)

addExpiry: Add Contract Expiration Bars to Chart

Description

Apply options or futures expiration vertical bars to current chart.

Usage

addExpiry(type = "options", lty = "dotted")

Value

Expiration lines will be drawn at appropriate dates. A chibTA object will be returned silently.

Arguments

type

options or futures expiration

lty

type of lines to draw

Author

Jeffrey A. Ryan

Details

See options.expiry and futures.expiry in quantmod for details and limitations.

See Also

addTA

Examples

Run this code
if (FALSE) {
addExpiry()
}

Run the code above in your browser using DataLab