Learn R Programming

IBrokers (version 0.10-2)

exerciseOptions: Exercise Options Contracts

Description

Send message to exercise option contracts.

Usage

exerciseOptions(twsconn, 
                contract, 
                exerciseAction = 1, 
                exerciseQuantity = 1, 
                account = "", 
                override = 0, 
                tickerId = 1)

Value

Called for its side-effect.

Arguments

twsconn

A twsConnection object

contract

A twsContract object

exerciseAction

exercise=1 or lapse=2

exerciseQuantity

number of contracts to exercise

account

IB account [institutional orders]

override

override system's natural action. 0 for do not override, 1 for override

tickerId

id for request

Author

Jeffrey A. Ryan

Details

Exercise option contract.

References

https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#aad70a7b82ad3b5e7ae3e9f0b98dc2a5b