| twsEquity {IBrokers} | R Documentation |
Create a twsEquity for use in API calls.
twsEquity(symbol,
exch,
primary,
strike='0.0',
currency='USD',
right='',
local='',
multiplier='',
include_expired='0')
symbol |
the IB symbol requested |
exch |
the requested exchange |
primary |
the primary exchange of the security |
strike |
the strike price |
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 ‘equity’
contracts easier to specify.
twsSTK is an alias.
A twsContract object.
Jeffrey A. Ryan
Interactive Brokers: www.interactivebrokers.com
reqHistoricalData, twsContract
equity <- twsEquity("AAPL","SMART","ISLAND")