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
16 1 1 2

What is the correct data item use for retrieving historical close price last NSR.TO has a blank value for TR.PriceClose on Dec 31 2019

What is the correct data item use for retrieving historical close price of NSR.TO has a blank value for TR.PriceClose on Dec 31, 2019. Client wants the one use for Eikon API.

eikonapiprice-history
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.

Hi @MaeAnthea.Diaz,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.


Thanks,

AHS

Hi @MaeAnthea.Diaz,

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
Upvote
Accepted
17.3k 82 39 63

Hi @MaeAnthea.Diaz

You can use the 'TR.ClosePrice' field:

df, err = ek.get_data(['NSR.TO'], ['TR.ClosePrice','TR.ClosePrice.date'],
                     parameters = {'SDate':'2019-12-31'})
df

The best tool to help you arrive at this is the Data Item Browser within the desktop application.

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.