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

Best Answer

Answers

  • 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

  • @raksina.samasiri ,
    INGLÊSPORTUGUÊSESPANHOL




    Texto de origem

    1


  • great, thanks for the update