View source: R/exerciseOptions.R
exerciseOptions | R Documentation |
Send message to exercise option contracts.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.