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