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

How to automatically download a list of domestic investment trusts using python

Hi,I want to automatically download a list of domestic investment trusts list everyday

using task scheduler.

I'd like to run it by python. so I got embeddable python.

I think local batch.bat files should call that local test.py.


<C/:Tmp/test.py>

import refinitiv.dataplatform.eikon as ek

import numpy as np

ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')

data = ek.get_timeseries(rics='.N225',interval='daily',count=30) ←example

np.savetxt('C/:Tmp/hoge.csv',data)


but how do I get [refinitiv.dataplatform.eikon] library file?

Thank you.

eikon-data-api#technologypython apitask-scheduler
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 @grenpark06 ,

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

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

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
5.8k 21 2 6

Hi @grenpark06,

I would suggest reading the documentation for the Refinitiv Data Library for Python (RD Lib. for Python). On the Documentation page, you will find the examples tab, that leads to this GitHub repo which mentions that "This library is supported and maintained by Refinitiv and is available on PyPi at https://pypi.org/project/refinitiv-data/", meaning that you can pip install this library.
Please pip install `refinitiv-data`, from which you will be able to find the `eikon` module.


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.