exerciseOptions: Exercise Options Contracts

Description Usage Arguments Details Value Note Author(s) References

Description

Send message to exercise option contracts.

Usage

1
2
3
4
5
6
7
exerciseOptions(twsconn, 
                contract, 
                exerciseAction = 1, 
                exerciseQuantity = 1, 
                account = "", 
                override = 0, 
                tickerId = 1)

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

Details

Exercise option contract.

Value

Called for its side-effect.

Note

exch=‘SMART’ is not valid in exerciseOptions calls. See the official API for further details.

Author(s)

Jeffrey A. Ryan

References

http://www.interactivebrokers.com/php/apiUsersGuide/apiguide/java/exerciseoptions.htm


hgodinez/ibrokers documentation built on May 17, 2019, 3:57 p.m.