powered by
Create a twsEquity for use in API calls.
twsEquity(symbol, exch="SMART", primary, strike='0.0', currency='USD', right='', local='', multiplier='', include_expired='0', conId=0)
A twsContract object.
twsContract
the IB symbol requested
the requested exchange (defaults to ‘SMART’)
the primary exchange of the security
the strike price
the requested currency
the requested right
the local security name
the contract multiplier
should expired contracts be included
contract ID
Jeffrey A. Ryan
A wrapper to twsContract to make ‘equity’ contracts easier to specify.
twsSTK is an alias.
twsSTK
Interactive Brokers: https://www.interactivebrokers.com
reqHistoricalData, twsContract
reqHistoricalData
equity <- twsEquity("AAPL","SMART","ISLAND")
Run the code above in your browser using DataLab