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
22 4 5 8

How to get traded volume data for natural gas commodity using Python API

I am searching for traded volume data for natural gas commodity for a period of last 10 years using Python API. I am in interested in natural gas prices and volume data for Germany and so I tested using this simple code but it gives NA for all values of volume. Is there some problem in the code that I am writing? (Screenshot is attached)

Secondly, does this "Close" value represents the "closing spot price" of the contract?

Screenshot 2021-10-20 080551.png

price-historyvolume
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.

Hello @saad.ali ,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

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

Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Upvotes
Accepted
171 1 0 1

@saad.ali

As far as I can see, the RIC you used represents a day ahead forward price at the THE hub. There's no volume data for spot and forward prices. You can get the volume for PEGAS EEX gas futures using for instance monthly continuation RIC PNCGMc1. This said, I'm not a specialist in commodities & energy datasets. The moderators on this forum are technical experts, who do not have deep expertise in every type of content available through Refinitiv products. Such expertise is available from Refinitiv Helpdesk, which can be reached by calling the Helpdesk number in your country, using Contact Us capability in your Eikon / Refinitiv Workspace application or by visiting MyRefinitiv. If you have any further questions about natural gas content or need further clarification on this content, I suggest you contact Refinitiv Helpdesk.

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.

Upvotes
22 4 5 8

@Alex Putkov. Thank you very much for your answer. You are indeed right. There's no volume data stored by Refinitiv for this particular RIC as also confirmed by Refinitiv Helpdesk.

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.