cancelOrder: Call this function to cancel an order.

View source: R/cancelOrder.R

cancelOrderR Documentation

Call this function to cancel an order.

Description

Cancels an active order placed by from the same API client ID. Note: API clients cannot cancel individual orders placed by other clients. Only reqGlobalCancel can do this.

Usage

cancelOrder(orderId, ib_con)

Arguments

orderId

The order ID that was specified previously in the placeOrder function

ib_con

A valid ib connection.

Examples

Example to follow

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