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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Problem with JP Morgan quote in python API

Hi everyone. I have a question regarding extraction of historical bond pricing data with eikon python API. The problem is that get_data doesn't see JP Morgan quotes, neither current or historical, and returns NaN every time instead of price. I know that there are some issues regarding permissioning to some quotes (we can't access historical data e.g. chart on JPML quote in eikon), but excel API can pull prices normally. Does anybody know what might cause this issue and if there is anything we can do on our end?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

Upvote
Accepted
18k 21 12 20

Hi @pawel.kunicki

Seem that you do not have access to this RIC so you cannot get the data.


ahs.png (27.6 KiB)
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.

Upvotes
18k 21 12 20

Hi @pawel.kunicki

Can you provide RIC code or API call you are using ?

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.

Upvotes
1 0 0 0

Sure I can provide a RIC code. It looks like JPML quote returns NaN every time. And I'm using Eikon data API.

example:

ISIN: XS1718393439

RIC: XS1718393439=JPML

Function call:

ek.get_data('XS1718393439=JPML', 'CF_BID')

( Instrument CF_BID

0 XS1718393439=JPML NaN, [{'code': 251658243, 'col': 1, 'message': "'Access Denied' for the instrument 'XS1718393439=JPML'", 'row': 0}])


So every time NaN is returned from JPML quote, even if we can see price in 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.

Click below to post an Idea Post Idea