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

WTCLc1 historical tick data in Eikon API

Hi team, we are trying to get the historical tick for WTCLc1 in Eikon API but its showing NA


ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')

data = ek.get_timeseries("WTCLc1",

fields = ['BID'],

start_date='2023-11-22T00:00:00',

end_date='2023-11-22T23:59:59',

interval = 'tick')

print(data)


I checked in Eikon excel if we have values and excel populated the data just fine using the below formula:

=@RHistory("WTCLc1","BID.Timestamp;BID.Value","INTERVAL:TICK",,"CH:Fd")




eikon-data-api#technology#contenteikon-com-apitick-data
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 @HannaCP

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Upvote
Accepted
5k 16 2 7

Hi @HannaCP ,


I would suggest using our latest RD Libraries for python for that request:

import refinitiv.data as rd
rd.open_session()
data = rd.get_history("WTCLc1", fields = ['BID'], start='2023-11-22T00:00:00', end='2023-11-22T23:59:59', interval = 'tick')

data

screenshot-2023-11-23-at-100955.png

Also if you don't provide the field parameter it will return all available fields for the instrument which will you with other fields you might be interested in.


I hope this will help.


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.

Upvotes
6 1 0 2

Hi Haykaz, thanks, let me try

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.