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
1 0 0 0

Gas Production & Consumption

How to get data related to the pages on Gas. Daily Dry Production & Consumption Historical Lower 48 to be specific. Using Eikon and Python. Eikon Codebook and Jupyter Notebook environments.


  1. Correct instrument syntax to import the annual data of the Daily Dry Production chart for the US-Lower 48 for Natural Gas (Gas > Supply > Production > Actual > Daily Pipeline Flows) screenshot attached.daily-dry-production.png

2. Same with the Total 4-Sector Consumption Historical chart for Natural Gas Demand (Gas > Demand > Consumption > Actual > US-Lower 48) screenshot attached.historical-gas-consumption-lower-48.png

3. How to access/import full list of RICs for an option chain of an underlying security? For Example, for options on UNG, UNGP192401300.U, UNGP192401200.U, etc?

eikon-data-api#technology#contentpython api
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.

Hi @Steven.Chefas ,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

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

Otherwise please post again offering further insight into your question.

Thank you,

AHS

Hi,

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

Thank you,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
5.1k 16 2 7

Hi @Steven.Chefas ,


As much as I know, the data for the first two graphs is not available in Eikon. That should be available via the RDMS API. Please confirm this with the content them via Helpdesk or by contacting your Account manager.

As for your last question, you can use the following code:

df, err = ek.get_data('0#UNG*.U', ['PUTCALLIND', 'EXPIR_DATE'])
df

screenshot-2024-04-12-at-101732.png

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.

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.