Request Interactive Brokers real-time data
requests Interactive Brokers® real-time data using IB Trader WorkstationSM connection tickerid
= realtime(ib
,ibContract
,f
)ib
, IB Trader Workstation
IContract
object ibContract
, and Interactive Brokers fields f
.
requests Interactive Brokers real-time data using an event handler function
tickerid
= realtime(ib
,ibContract
,f
,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