createOrderAndRoute
Create and routeBloombergEMSX order
Syntax
Description
createOrderAndRoute(___,'useDefaultEventHandler',false)
creates and routes a Bloomberg EMSX order 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 creating and 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'
totrue
and use theevents
output argument. By default, the flag'useDefaultEventHandler'
is set totrue
.
___= createOrderAndRoute(
uses thec
,order
,options
)options
structure to customize the output, which is useful to preconfigure and save your options for repeated use. The availableoptions
structure fields aretimeOut
anduseDefaultEventHandler
. Use theevents
output argument whenuseDefaultEventHandler
is set totrue
and omit this output argument whenuseDefaultEventHandler
is set tofalse
.
Examples
Input Arguments
Output Arguments
Version History
See Also
emsx
|createOrder
|createOrderAndRouteWithStrat
|orders
|deleteOrder
|routes
|routeOrder
|modifyOrder
|deleteRoute
|close
|timer
|start
|stop
|delete