For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Which API in jupyter is equal to that in codebook get_history? I hope to get the historical dividend yield

ishot-2022-09-28-005557.png

python apicodebookjupyter
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.

Upvotes
Accepted
16.7k 31 9 12

Hello @yanxiao01

The API in the Codebook is the Refinitiv Data Library - Python (RD library for Python). The RD Libary for Python is a redesign of the Refinitiv Data Platform Library for Python with new functions and features.

I highly recommend you update your local Python environment to the RD Library for Python as suggested by @pf above. You can find more detail about the RD Library for Python from the following resources:


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.

Upvotes
611 2 1 2

Hi @yanxiao01 ,

Could you check that jupyter notebook in Codebook contains "import refinitiv.data as rd" ?

Then, you'll have to update your local Python env by installing refinitiv.data lib and switching your notebook from refinitiv.dataplatform to refinitiv.data librairy which expose this get_histroy() function.


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.