Description Usage Arguments Details Value Note Author(s) References
Send message to exercise option contracts.
| 1 2 3 4 5 6 7 | exerciseOptions(twsconn, 
                contract, 
                exerciseAction = 1, 
                exerciseQuantity = 1, 
                account = "", 
                override = 0, 
                tickerId = 1)
 | 
| 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 | 
Exercise option contract.
Called for its side-effect.
exch=‘SMART’ is not valid in exerciseOptions calls. See
the official API for further details.
Jeffrey A. Ryan
http://www.interactivebrokers.com/php/apiUsersGuide/apiguide/java/exerciseoptions.htm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.