LimitOrder: Create a limit order object

View source: R/order_type.R

LimitOrderR Documentation

Create a limit order object

Description

Create a limit order object

Usage

LimitOrder(action, totalQuantity, lmtPrice)

Arguments

action

Generally available values are "BUY" and "SELL". Additionally, "SSHORT", "SLONG" are available in some institutional-accounts only

totalQuantity

The number of positions being bought/sold.

lmtPrice

The LIMIT price. Used for limit, stop-limit and relative orders

Value

Returns a limit order object for the placeOrder function.

Examples

Example to follow

pverspeelt/ibapir documentation built on March 29, 2022, 11:57 a.m.