structs | R Documentation |
The data structures used by the API are implemented as R named lists, possibly nested. Templates filled with default values are defined within the package. In order to instantiate them, no elaborate contructor is required but a simple copy will do.
Still, helper functions are available for Contract
and Order
.
ComboLeg
Contract
DeltaNeutralContract
ExecutionFilter
Order
OrderCancel
ScannerSubscription
SoftDollarTier
WshEventData
IBContract
, IBOrder
.
stock <- Contract
stock$symbol <- "GOOG"
stock$secType <- "STK"
stock$exchange <- "SMART"
stock$currency <- "USD"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.