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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Retrieve XBI ETF through API

How to retrieve XBI ETF Close Price through python API, may I have any sample code for reference ?

workspaceapi#technology#content
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.

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

We are using Workspace, thank you!

1 Answer

Upvotes
Accepted
8k 15 5 8

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,

1669003318067.png

Here's the code and its output after the code is executed

1669003199533.png

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.


1669003318067.png (139.0 KiB)
1669003199533.png (12.8 KiB)
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.