Create IB Trader Workstation order
creates an IB Trader WorkstationSM order over the IB Trader Workstation connection d
= createOrder(ib
,ibContract
,ibOrder
,id
)ib
using the IB Trader Workstation
IOrder
object ibOrder
with a unique order identifier
id
to denote the order information. createOrder
uses the IB Trader Workstation
IContract
object ibContract
to signify the
instrument for the transaction. createOrder
returns the Interactive Brokers® order data d
containing data about the completed
order.
creates an IB Trader Workstation order using an event handler function d
= createOrder(ib
,ibContract
,ibOrder
,id
,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
close
| getdata
| history
| ibtws
| orderid
| realtime
| timeseries