question

Upvotes
Accepted
0 0 0 0

RIC PEGDA prices are stale via API and not align with Eikon

RIC PEGDA trade price does not get update throughout the day via API access from Jan 20th onward. Meanwhile the price is changing when viewing in Eikon desktop.


inst_list =["PEGDA"]


df, err = ek.get_data(

instruments = inst_list,

fields = [

'CF_DATE',

'CF_NAME',

'CF_LAST',

]

)


df

Instrument     CF_DATE  TRADE_DATE  CF_NAME    CF_LAST  
     PEGDA  2023-01-20  2023-01-20  PEG DA/d      63.5  


eikon-data-api#product#contentdata
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
85.9k 292 53 78

@scheung01

Thanks for reaching out to us.

I am unable to replicate this issue. Eikon Data API can retrieve the data properly.

inst_list =["PEGDA"]

df, err = ek.get_data(instruments = inst_list,
                      fields = ['CF_DATE',
                                'TRADE_DATE',
                                'CF_NAME',
                                'CF_LAST',])

df

1675314620816.png

You may enable logging in the API by using the following code.

ek.set_log_level(1)

Then, you will see the raw response.

2023-02-02 12:07:10,788 P[62116] [MainThread 3556] HTTP Response code: 200
2023-02-02 12:07:10,796 P[62116] [MainThread 3556] HTTP Response: {"responses":[{"columnHeadersCount":1,"data":[["PEGDA","2023-02-01","2023-02-01","PEG DA/d",57.15]],"headerOrientation":"horizontal","headers":[[{"displayName":"Instrument"},{"displayName":"CF_DATE","field":"CF_DATE"},{"displayName":"TRADE_DATE","field":"TRADE_DATE"},{"displayName":"CF_NAME","field":"CF_NAME"},{"displayName":"CF_LAST","field":"CF_LAST"}]],"rowHeadersCount":1,"totalColumnsCount":5,"totalRowsCount":2}]}

You may check the version of Eikon and Eikon Data API that you are using.

1675314781544.png


1675314620816.png (4.9 KiB)
1675314781544.png (2.7 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.