Download Trading Toolbox User's Guide

Transcript
4
Functions — Alphabetical List
Field
Description
EMSX_AMOUNT
Bloomberg EMSX number of shares
EMSX_BROKER
Bloomberg EMSX broker name
EMSX_HAND_INSTRUCTION
Bloomberg EMSX hand instruction
Example: route.EMSX_SEQUENCE = int32(728918);
route.EMSX_TICKER = 'XYZ';
route.EMSX_AMOUNT = int32(100);
route.EMSX_BROKER = 'BB';
route.EMSX_HAND_INSTRUCTION = 'ANY';
Data Types: struct
timeout — Timeout value
500 milliseconds (default) | nonnegative integer
Timeout value, specified as a nonnegative integer. This integer denotes the time in
milliseconds the event handler listens to the queue for an event for each iteration of the
code. The event handler can be a default or custom event handler.
Data Types: double
options — Options for custom event handler or timeout value
structure
Options for custom event handler or timeout value, specified as a structure. To reuse the
settings for specifying a custom event handler or timeout value for the event handler, use
the options structure.
Specify using a custom event handler and a timeout value of 500 milliseconds.
Example: options.useDefaultEventHandler = false;
options.timeOut = 500;
Data Types: struct
Output Arguments
events — Event queue contents
double | structure
4-102