Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Retrieve data from reuters session

28 views
Skip to first unread message

Paolo

unread,
May 7, 2011, 3:09:04 AM5/7/11
to
Hello,
I am retrieving data from reuters opening a session with
r=reuters('myNS....','xxxx','yyyyy');
then
fetch(r,'EUR1WZ=R,'rtdemo');
data=fetch(r,'EUR1WZ=R');

In most of case I can retrieve quite well the data but sometime this is the error I get

??? In an assignment A(I) = B, the number of elements in B and
I must be the same.

Error in ==> reuters.fetch at 88
d(i) = tib2struct(data);

Error in ==> DiscountFactors at 45
data=fetch(r,'EUR1WZ=R');


any clue?

I can I suceed to solve this problem?

thanks
P

Kun Hu

unread,
Jul 29, 2011, 10:20:33 AM7/29/11
to
Hi,

I am actually looking at a similiar problem as yours, however i got stuck at your first step, when running that reuters command, i got the following errors:
I used the RFA configuration editor to set connection to RMDS p2ps server as per instructed in the following link:

http://www.mathworks.com/help/toolbox/datafeed/reuters.html

Did you use the same way? how did you get over the first step? appreciate your help and sharing.

as for your problem, it appears as if the two arrays on two sides of the equal sign are of different dimensions, the RICs being retrieved might have different number of fields, i guess that is probably why it is erring only sometimes? let me know if you think that is reasonable.

any discussions i can be reached at michae...@hotmail.com

>> r = reuters ('SSLNamespace:ageSSLConn', 'xxx' )
Jul 29, 2011 6:16:02 PM com.reuters.rfa.internal.session.SessionManager acquire

SEVERE: com.reuters.rfa.session
Session initialization: Could not instantiate session "SSLNamespace:ageSSLConn" : Invalid ComponentName:


??? Error using ==> reuters at 94
Unable to acquire Reuters session.



>> r = reuters ('SSLNamespace:ageSSLConn', 'xxx', 'xxxxx', 'xxx.xxx.xx.x/net','256')
Jul 29, 2011 6:16:48 PM com.reuters.rfa.internal.session.SessionManager acquire

SEVERE: com.reuters.rfa.session
Session initialization: Could not instantiate session "SSLNamespace:ageSSLConn" : Invalid ComponentName:


??? Error using ==> reuters at 94
Unable to acquire Reuters session.

HK

"Paolo " <tarpa...@libero.it> wrote in message <iq2r6g$n3l$1...@newscl01ah.mathworks.com>...

0 new messages