Description Usage Arguments Details Value Author(s) References See Also Examples
Create a twsEquity for use in API calls.
1 2 3 4 5 6 7 8 9 10 |
symbol |
the IB symbol requested |
exch |
the requested exchange (defaults to ‘SMART’) |
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 |
conId |
contract ID |
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
1 | equity <- twsEquity("AAPL","SMART","ISLAND")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.