How to retrieve XBI ETF Close Price through python API, may I have any sample code for reference ?
Hi @apple.tsai ,
You can use CodeCreator app in WorkSpace desktop to search an instrument and its available fields then generate the Python code used to retrieve this data. For example,
Here's the code and its output after the code is executed
If you'd like to discover more about the content, the moderators on this forum do not have deep expertise in every type of content available through Refinitiv products. Such expertise is available through Refinitiv Helpdesk. If the Helpdesk can show you how to retrieve it using =@TR formula in Eikon Excel, then the moderators on this forum can help you translate it into the get_data method in the Eikon Data API call. Refinitiv Helpdesk can be reached via MyRefinitiv and you may request from them the you would like to get.
Hope this helps and please let me know in case there's any further questions.
@apple.tsai
You posted this question in the Connected Risk APIs forum.
Please confirm that you are using the Connected Risk product.
Otherwise, please let us know the Refinitiv product (such as Eikon or Workspace) that you are using.