Send message to exercise option contracts.
exerciseOptions(twsconn,
contract,
exerciseAction = 1,
exerciseQuantity = 1,
account = "",
override = 0,
tickerId = 1)
Called for its side-effect.
A twsConnection object
A twsContract object
exercise=1 or lapse=2
number of contracts to exercise
IB account [institutional orders]
override system's natural action. 0 for do not override, 1 for override
id for request
Jeffrey A. Ryan
Exercise option contract.