For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
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:
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.