Create IB Trader Workstation connection
The ibtws
function creates an ibtws
object, which represents an IB Trader WorkstationSM connection. After you create an ibtws
object, you can use
the object functions to retrieve data, create orders, and obtain account and portfolio
information.
If the
variable ibBuiltInErrMsg
appears in the MATLAB workspace, check the status of the connection and function execution by displaying
the contents of this variable. ibBuiltInErrMsg
contains messages related to:
Connection
Information resulting from executing functions
Errors