question

Upvotes
Accepted
1 0 1 2

Accessing Local Service with RDP service name

Hi


I am looking to steam prices from a local RMDS source 'DTS_SG'

I attach a screen shot of the configuration in Eikon

I am trying to access the local service via RDP and streamingprices, with no luck

What should be the value I pass to the service parameter. I have tried ('D'.'DTS_SG','DTS_SG_RDF','D_RDF') to no avail


session = rdp.open_desktop_session(app_key='**)

session.set_log_level(logging.ERROR)


def create_dataframe(data):
df = pd.DataFrame(data=streaming_prices)
print(df)

streaming_prices = rdp.StreamingPrices(
universe = ['PYTHONRECORD'],
service = 'DTS_SG',
fields = ['BID', 'ASK'],
on_complete = lambda streaming_prices :
create_dataframe(streaming_prices),
on_update = lambda streaming_price, instrument_name, fields :
print("Update received for {}: {}".format(instrument_name, fields))
)

streaming_prices.open()

Record


Configuration



rdp-apirefinitiv-data-platform
pythonrecord.png (12.8 KiB)
eikon-config.png (49.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
20.3k 73 10 20

Hi @Joseph.Maloney

Currently, the Eikon Data API (API Proxy) gets streaming data from the platform directly (HMDS) so you should not have access to local services like DTS etc

In the meantime, if you are able to do so, please try using a PlatformSession instead e.g.

rdp.open_platform_session(     APP_KEY,      deployed_platform_host = 'myADS1:15000',     deployed_platform_username = 'umer.nalla' )

You will need to speak to your MarketData team to get the hostname or IP address of an ADS server and also your DACS user name. You should also confirm the Websocket Port is 15000

You should then be able to specify the servicename as described o the other post Getting Data from a different RMDS source (not the live feed) - Forum | Refinitiv Developer Community

e.g.

streaming_prices = rdp.StreamingPrices(     
service = 'DTS_SG',     
universe = universe,      
fields   = fields, .....

I was now able to test the above and it is working as expected..

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea