Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addExpiry

Add Contract Expiration Bars to Chart


Description

Apply options or futures expiration vertical bars to current chart.

Usage

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

Arguments

type

options or futures expiration

lty

type of lines to draw

Details

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

Value

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

Author(s)

Jeffrey A. Ryan

See Also

Examples

## Not run: 
addExpiry()

## End(Not run)

quantmod

Quantitative Financial Modelling Framework

v0.4.18
GPL-3
Authors
Jeffrey A. Ryan [aut, cph], Joshua M. Ulrich [cre, aut], Wouter Thielen [ctb], Paul Teetor [ctb], Steve Bronder [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.