EMSX Bloomberg problem with connection

6 次查看(过去 30 天)
hello try to connect to BLOOMBERG EMSX using
c = emsx('//blp/emapisvc')
function return this arguments: c =
emsx with properties:
Session: [1x1 com.bloomberglp.blpapi.Session]
Service: [1x1 com.bloomberglp.blpapi.impl.bc]
Ipaddress: 'localhost'
Port: 8194
then try to use this function
>> orders(c,{'EMSX_BROKER','EMSX_AMOUNT','EMSX_FILLED'})
ans =
[]
then try to use this function >> orders(c,{'EMSX_BROKER','EMSX_AMOUNT','EMSX_FILLED'},'useDefaultEventHandler',false) >> processEvent(c) SubscriptionFailure = {
reason = {
source = ""
errorCode = -1
category = "-1"
description = "Could not find user's EMSX instance"
subcategory =
}
failureDetails[] = {
}
}
here i see fail to connect to emsx.. where the problem??
  1 个评论
dmitriy
dmitriy 2014-5-15
>> orders(c,{'EMSX_BROKER','EMSX_AMOUNT','EMSX_FILLED'},'useDefaultEventHandler',false) >> processEvent(c) SubscriptionFailure = {
reason = {
source = ""
errorCode = -5
category = "-5"
description = "User is not enabled for EMSX API"
subcategory =
}
failureDetails[] = {
}
}

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bloomberg EMSX 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by