question

Upvotes
Accepted
3 1 4 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.

@lisa.mcentee

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvote
Accepted
17.5k 82 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.