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

unable to get more than one year of data ek.get_timeseries

Hello,

I am not able to get more than one year of close prices as you can see below:

current date = 2022-12-23

prices = ek.get_timeseries(rics=ls, start_date=dt.timedelta(-365), fields=['CLOSE'])


1671802960888.png


the output returns until 2022-04-12


Could you help me?


Thanks in advance

eikon-data-api#technology
1671802960888.png (96.6 KiB)
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 @rafael01 ,

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 on the left side of the appropriate reply? This will guide all community members who have a similar question. Or could you please provide the whole list of RICs as mentioned by my colleague for further investigation?

Thanks,
AHS

I could circumvent the issue by using get_data.


Thanks for your attention.

@rafael01

Hi,

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

Thanks,

AHS

Upvotes
Accepted
50 0 1 4

i could circumvent the issue by using get_data @h.aramyan01 .


Thanks for your attention.

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.

great, thanks for the update
Upvotes
5k 16 2 7

Hi @rafael01 ,


Thank you for your question. Can you please share the whole list of RICs to try on my end? I have tried with the ones I can see from your screenshot and have the whole year output.


import datetime as dt
ls = ['SUZB3.SA', 'CGRA4.SA', 'ITSA4.SA', 'SEER3.SA', 'FLRY3.SA', 'TCSA3.SA', 'MRFG3.SA']
prices = ek.get_timeseries(rics=ls,
                           start_date=dt.timedelta(-365), fields=['CLOSE'])

prices


screenshot-2022-12-26-at-160238.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.

@raksina.samasiri ,
INGLÊSPORTUGUÊSESPANHOL




Texto de origem

1


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.