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
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 ?

workspace#technologyapi#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!

@apple.tsai

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your 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
14.2k 30 5 10

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.

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.