create twsInstruments for options on a given underlying...

Description

create twsInstruments for options on a given underlying

Usage

1
define_options(..., src = "IB")

Arguments

src

where to get option_series metadata; currently only “IB” and “yahoo” are implemented

...

arguments to pass to other methods

Details

define option_series instruments.

wrapper to call either define_options.IB or define_options.yahoo

Value

called for side-effect

Author(s)

Garrett See

See Also

define_options.IB, define_options.yahoo option_series.yahoo, option, option_series, twsInstrument

Examples

1
2
3
4
5
## Not run: 
define_options("SPY",strike=125, src='IB')
define_options("SPY",src='yahoo')

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.