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 @karthik.reddy
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,
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
CL-LCO1=R is not an exchange traded instrument. For this reason there are no TAS for it. However it's also true that at this time even for exchange traded instruments you cannot get full TAS record using Eikon Data APIs. The most you can get using Eikon Data APIs for exchange traded instruments at the moment is the timeseries of trade price and volume. And the only way at the moment to programmatically retrieve from Eikon full TAS that you can see in Time & Sales app in Eikon application is by using either Eikon .NET API or RHistory library of Eikon COM APIs. The latter can only be used in Excel VBA.
1. Find the RIC for the data you're interested in.
2. Use get_timeseries method to retrieve tick data.
E.g. the following call retrieves the latest 50K ticks for the front month WTI vs. Brent spread:
ek.get_timeseries('CL-LCO1=R',interval='tick')
Thanks @Alex Putkov.: To be more accurate, I am looking for TAS data for brent. ek.get_timeseries('CL-LCO1=R',interval='tick') gives timestamp and price but nothing else.