Request Interactive Brokers open order data
requests Interactive Brokers open order data using an event handler function
o
= orders(ib
,client
,eventhandler
)eventhandler
. Use the sample event handler
ibExampleEventHandler
or write a custom event handler function.
ibBuiltInErrMsg
appears in the MATLAB® workspace. Check the status of connection and function execution by
displaying the contents of this variable. ibBuiltInErrMsg
contains
messages related to:
Connection
Information resulting from executing functions
Errors
Executing orders
multiple times using the same IB Trader Workstation connection can cause this kind of warning message: Warning: Cannot
unregister ‘openOrderEx’. Invalid event name/handler combination. To fix this warning,
close the IB Trader Workstation connection and create a new connection using ibtws
.
close
| createOrder
| executions
| getdata
| history
| ibtws
| orderid
| timeseries