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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 2

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikon
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Thank you very much.

Have a nice day

Click below to post an Idea Post Idea