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
3 0 0 2

How to make a get_data request with a custom list of more than 100 tickers?


Hello, I created a list of actions with their datastream identifiers which I call here 'merge_universe' and would like to make a group request like: universe_merge_data=(ds.get_data(universe_merge,['CODOC',],last_year).

However, when my list is longer than approy 50 tickers, the request fail.

I would like to do avoid iteration as it takes too much time to run.

Have you any ideas?

Thanks a lot!

pythonrequest
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.

1 Answer

· Write an Answer
Upvote
Accepted
5.8k 21 2 6

Hi @raphael.dangelo ,

I wrote an answer for Datastream. You can find it here.
Do let me know if you were refering to another API of ours, but you can use the same logic for other APIs.

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.

Thanks for your answer Jonathan.

Yes my question was for datastream.

So I guess it is not possible to make it without for-loop at all?
hi @raphael.dangelo ; that's corect, a loop is nessesary here.

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.