structs: Data Structures

structsR Documentation

Data Structures

Description

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.

Usage

ComboLeg

Contract

DeltaNeutralContract

ExecutionFilter

Order

ScannerSubscription

SoftDollarTier

WshEventData

See Also

IBContract, IBOrder.

Examples

stock <- Contract

stock$symbol   <- "GOOG"
stock$secType  <- "STK"
stock$exchange <- "SMART"
stock$currency <- "USD"

lbilli/rib documentation built on April 22, 2024, 7:26 p.m.