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
3 3 5 5

How do I display the date of all price data?


Hi? 
I would like to receive a close prcie of 005930.KS as in the picture above. 
I would like to display the date next to all the price data, but now only the price of April 26th is showing the date. 
What do I need to fix to get the date displayed next to all price data?
eikoneikon-data-apirefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @H_U

You can try these codes:

field-level parameters:

rics = ['005930.KS','GPPL.CA']
fields = ['TR.CLOSEPRICE(SDate=2021-01-04,EDate=2021-04-26,Frq=WD,FILL=PREVIOUS).date',
          'TR.CLOSEPRICE(SDate=2021-01-04,EDate=2021-04-26,Frq=WD,FILL=PREVIOUS)',
          'TR.ACCUMULATEDVOLUME(SDate=2021-01-04,EDate=2021-04-26,Frq=WD,FILL=PREVIOUS)']

df,e = ek.get_data(rics, fields)
df


Or function-call-level parameters:

rics = ['005930.KS','GPPL.CA']
fields = ['TR.CLOSEPRICE.date','TR.CLOSEPRICE','TR.ACCUMULATEDVOLUME']
parameters = {'SDate':'2021-01-04','EDate':'2021-04-26','Frq':'WD','FILL':'PREVIOUS'}

df,e = ek.get_data(rics, fields, parameters)
df
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.

Thank you very much.

Have a nice day

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.