Request Interactive Brokers market depth data
requests Interactive Brokers® market
depth data using the IB Trader WorkstationSM connection d
= marketdepth(ib
,ibContract
,depth
)ib
, IB Trader Workstation IContract
object ibContract
,
and price level depth
.
requests Interactive Brokers market depth data using an event
handler function d
= marketdepth(ib
,ibContract
,depth
,eventhandler
)eventhandler
. Use the sample event
handler ibExampleEventHandler
or write a custom
event handler function.
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