Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 1

How can I get the Open Interest data?

Can anyone please help me in fetching the Open Interest(OI) data for a given contract. I thought that the below data frame would contain a column for Open Interest, but it didn't. There may be a specific RIC for the same.



1713347738926.png


eikon-data-apipython#technology#contenthistorical
1713347738926.png (37.1 KiB)
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
Upvotes
Accepted
5.1k 16 2 7

Hi @chirag.arora ,


I have tried using our latest Refinitiv Data Libraries for Python and it does seem to have the field you are after:

import refinitiv.data as rd
rd.open_session()
df = rd.get_history("1SX1^1", start = '2011-01-01', end = '2024-12-01')
df

screenshot-2024-04-17-at-112657.png

Hope this helps.


Best regards,

Haykaz


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.

Noted. Thanks a ton @aramyan.h

Really helped me a lot.

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.