[[事件,,,,潜艇] =订单(C,,,,字段,,,,名称,价值)uses additional options specified by one or more姓名,,,,Valuepair arguments to specify a custom event handler or timeout value for the event handler.
[[事件,,,,潜艇] =订单(C,,,,字段,,,,选项)使用选项结构ure to customize the output, which is useful to preconfigure and save your options for repeated use. The选项结构字段和值分别对应于名称值对参数的名称和值。
事件包含事件队列中当前事件的字段。潜艇Contains the Bloomberg EMSX subscription list object.
使用彭博社EMSX订阅列表对象退订订单事件潜艇。
c.session.unsubscribe(subs)
关闭彭博社EMSX连接。
关闭(c)
Subscribe to Order Events Using the Options Structure
Create the Bloomberg EMSX connectionC。
C= emsx('//blp/emapisvc_beta');
创建一个结构选项。To use the default event handler, set the fielduseDefaultEventHandler到true。设置字段超时到200毫秒。订阅彭博EMSX订单的事件,使用彭博EMSX连接C,彭博社EMSX现场列表字段,,,,and options structure选项。
Specify optional pairs of arguments asname1 = value1,...,namen = valuen, 在哪里姓名是参数名称和Valueis the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.
在R2021a之前,请使用逗号分隔每个名称和值,并附上姓名用引号。
Example:“useDefaultEventHandler”,假的
useDefaultEventHandler-Flag for event handler preference true(默认)|错误的