get_timeseries data issue

hi

I’m running the below where ric_chunk[0] contains RIC=ABR

ek.get_timeseries(ric_chunk[0],start_date=datetime(2021,3,26,7,30,0),end_date=datetime.now(),interval='minute',fields='CLOSE')


image

I don’t see the same output that I see if I run it only for one asser:


ek.get_timeseries(['ABR'],start_date=datetime(2021,3,26,7,30,0),end_date=datetime.now(),interval='minute',fields='CLOSE')



Can you please advise?

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @diarmuid.omahony

    Please double-check the value in ric_chunk[0]

    You can just print it out to the console to confirm the value.

    print(ric_chunk[0])

    In my test, I hardcoded ric_chunk to a list of 3 instruments.

    And I got the same result from ric_chunk[0] vs ['ABR']

    image