twsFuture {IBrokers} | R Documentation |
Create a twsFuture contract for use in API calls.
twsFuture(symbol, exch, expiry, primary='', currency='USD', right='', local='', multiplier='', include_expired='0')
symbol |
the IB symbol requested |
exch |
the requested exchange |
expiry |
the requested contract expiration |
primary |
the primary exchange of the security |
currency |
the requested currency |
right |
the requested right |
local |
the local security name |
multiplier |
the contract multiplier |
include_expired |
should expired contracts be included |
A wrapper to twsContract
to make ‘futures’
contracts easier to specify.
A twsContract
object.
Jeffrey A. Ryan
Interactive Brokers: www.interactivebrokers.com
reqHistoricalData
, twsContract
future <- twsFuture("NQ","GLOBEX","200803")