devcartel / pyrfa

Open sourced Python API for Refinitiv (Thomson Reuters) Enterprise Platform.
http://devcartel.com/pyrfa
MIT License
50 stars 15 forks source link

Can not Login..... #17

Closed ghost closed 7 years ago

ghost commented 7 years ago

hi, OS : windows 64bit Python: anaconda python3.4 I try pyrfa for get real-time futures data of LME I installed pyrfa, and run the timeseries.py(in "examples" directory), and it show "login failed" image

I want to ask : I need config the pyrfa.cfg file use my own information(UserName, InstanceId, ApplicationId, Position) image

ghost commented 7 years ago

or I can just use the default "pyrfa.cfg" directly?

wiwat-tharateeraparb commented 7 years ago

You need to get all those configs from your TREP-RT or Elektron admin.

ghost commented 7 years ago

ok, thank you~

natalie-o-perret commented 7 years ago

I'm facing the same issue, although I'm using another (corporate) .NET library that manages to connect using the same configuration and without making a fuss. I might have some issues with converting my .NET library configuration to the PyRfa one.

I feel like I'm missing something, could you detail a bit more the expected format when you're willing to pass several servers in the connection server list node?

Another thing, is it possible to set a timeout? I know that usually it takes me a while to sometimes connect with the other .NET library.

ukrit-himakoon commented 7 years ago

Hello Perret,

You can define a list of servers using "," as in the example below:

\Connections\Connection_RSSL\ServerList = "1.1.1.1,2.2.2.2,3.3.3.3"

or using hostname is also possible

\Connections\Connection_RSSL\ServerList = "hostname1,hostname2,hostname3"

Hope this helps,