Problem with Machine ID

I guess I have problem with my Machine ID and Password when using Refinitiv Data Library in python.

For example when I run

    rd.open_session(name='desktop.workspace')
    data = rd.get_data(['EUR=', 'THB='], fields=['BID', 'ASK'])
    print(data)

or

    rd.open_session(name='desktop.workspace')
    response = search.Definition("IBM Bonds", top=100).get_data()
    print(response.data.df)

I get data.

But when I do the same using ...

rd.open_session(name='platform.rdp') 

... I get “missing scope” errors:

Missing scopes: {'trapi.search.read'}
Missing scopes: {'trapi.streaming.pricing.read'}

Could you pls help.

Best Answer

  • Gurpreet
    Answer ✓

    Hi @Anufriyev,

    The error means that your ID does not have the relevant permission to get the real time streaming data. Please contact your Refinitiv account manager to get additional entitlements.

Answers

  • But why I get data using

    rd.open_session(name='desktop.workspace') ?
  • Desktop (desktop.workspace) and Platform (platform.rdp) are two different products with their own unique content set and entitlements. You have permission to get this data on the Desktop but your Platform access (Machine ID) is not permissioned for it.