routeOrderWithStrat
Syntax
Description
routes a Bloomberg® EMSX order with strategies using the Bloomberg EMSX connection events
= routeOrderWithStrat(c
,route
,strat
)c
with the Bloomberg EMSX C++ interface, route request route
, and strategy
strat
. routeOrderWithStrat
returns the order
sequence number, route number, and status message using the default event handler.
routeOrderWithStrat(___,'useDefaultEventHandler',false)
routes a Bloomberg EMSX order with strategies using any of the input arguments in the previous
syntaxes and a custom event handler. Write a custom event handler to process the events
associated with routing orders. This syntax does not have an output argument because the
custom event handler processes the contents of the event queue. If you want to use the
default event handler instead, set the flag 'useDefaultEventHandler'
to
true
and use the events
output argument. By
default, the flag 'useDefaultEventHandler'
is set to
true
.
___ = routeOrderWithStrat(
uses the c
,route
,strat
,options
)options
structure to customize the output, which is useful to
preconfigure and save your options for repeated use. The available
options
structure fields are timeOut
and
useDefaultEventHandler
. Use the events
output
argument when the flag useDefaultEventHandler
is set to
true
and omit this output argument when
useDefaultEventHandler
is set to false
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a
See Also
bloombergEMSX
| orders
| routes
| close
| createOrder
| routeOrder
| createOrderAndRoute
| createOrderAndRouteWithStrat
| modifyOrder
| deleteOrder
| deleteRoute
| getBrokerInfo
| timer
| start
| stop
| delete