New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
3 2 5 7

what function is equivalent to refinitiv-dataplatform's rdp.open_platform_session in refinitiv-dataplat (rd) ?

Please can you let me know what is refinitiv.data equivalent for rdp.open_platform_session in refinitiv.dataplatform.

More specifically, the equivalent function for below:

rdp.open_platform_session(
'key******************************************',
rdp.GrantPassword(
'username',
'Password'
)
)
#technologyrefinitiv-data-platformrefinitiv-dataplatform-libraries
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvote
Accepted
19.2k 86 39 63

Hi @lisa.mcentee

The syntax looks like this::

session = rd.session.platform.Definition(
    app_key = APP_KEY, 
    grant = rd.session.platform.GrantPassword(
        username = RDP_LOGIN, 
        password = RDP_PASSWORD
    )
).get_session()

You can find the different ways to create a session within the Example Package.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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