EMSX Bloomberg problem with connection

4 views (last 30 days)
dmitriy
dmitriy on 15 May 2014
Commented: dmitriy on 15 May 2014
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 Comment
dmitriy
dmitriy on 15 May 2014
>> 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[] = {
}
}

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!