Server Details

Hello,

I was just starting out with my first basic code to connect to the database and get some details. However, I am not clear as to where I can get the server details from.

I have registered and created a user in the system and then now was looking at being able to extract data from that.

I went and ran the following command:

C:\jars\jars_reuters\setup\Elektron-SDK1.0.8.java\Eta\Applications\Examples>java -cp ./bin;../../Libs/upa.jar;../../Libs/upaValueAdd.jar;../../Libs/upaValueAddC ache.jar com.thomsonreuters.upa.valueadd.examples.consumer.Consumer -c elektron:14002 ELEKTRON_AD mp:AAPL.O

But I guess I need to know the server details. How do I get the server details that I should connect to after -c

Kindly help

Regards

Bonson

Best Answer

  • umer.nalla
    umer.nalla LSEG
    Answer ✓

    Hi,

    To access Thomson Reuters data you generally need to have a contract or agreement with Thomson Reuters and connection to local or remotely hosted (data distribution) server.

    If you are a corporate user, speak to your Market Data team for further information.

    If you are personal user exploring our APIs then you can run a local Provider example in order to create a dummy feed and then direct connect with a Consumer example.

    So, for example if you run the Provider example and the Consumer example with default parameters - on the same PC - the Consumer should connect to the Provider and request some dummy data, which Provider should provide.

    The default parameters for both the above examples are document in the readme file included with each example. A summary below:

    Default params for Provider example

    -p 14002 -s DIRECT_FEED -id 1

    i.e. listening for incoming connection on port 14002 and provide data on a service called DIRECT_FEED with a service ID of 1

    Default params for Consumer example

    -h localhost -p 14002 -s DIRECT_FEED -mp TRI

    i.e server address is localhost, port to attempt connection on is 14002, service to request from is DIRECT_FEED and instrument you are requesting is TRI MarketPrice

    Hope this helps.

Answers