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
Hello @abhichikara
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 reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Hi,
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.
Thanks,
AHS
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 reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
-AHS
I'm not sure I fully understand the question, but one way I can interpret it is that you're looking to retrieve timeseries of price history for a continuous future. If this is the case, here's an example retrieving close price history for the nearest NYMEX crude oil (WTI) future:
ek.get_data('CLc1',['TR.CLOSEPRICE.date','TR.CLOSEPRICE'], {'SDate':'2019-01-01','EDate':'0D'})
Hi @abhichikara
I would suggest that you contact the Refinitiv Content Helpdesk at https://my.refinitiv.com/ to clarify if there are any instruments and fields carrying the information you are looking for.
If helpdesk can provide you with such information and allow you to retrieve the data using TR function in Eikon Excel, you can replicate the same on Eikon Data API(Python)
Here is an example code:
df,e = ek.get_data(['IBM.N','0005.HK'],['TR.ClosePrice','BID','ASK'] print(df)