R/twsFutureOpt.R

Defines functions `twsFutureOpt`

`twsFutureOpt` <-
function(symbol,exch,expiry,strike='',right='',primary='',
         currency='USD',local='',multiplier='',include_expired='0',conId=0)
{
  twsContract(conId,symbol,'FOP',exch,primary,expiry,as.character(strike),
              currency,right,local,multiplier,NULL,NULL,include_expired)
}

`twsFOP` <- twsFutureOpt

Try the IBrokers package in your browser

Any scripts or data that you put into this service are public.

IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.