Learn R Programming

rib (version 0.25.3)

structs: 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

OrderCancel

ScannerSubscription

SoftDollarTier

WshEventData

Arguments

See Also

IBContract, IBOrder.

Examples

Run this code
stock <- Contract

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

Run the code above in your browser using DataLab