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?

Best Answer

Answers

  • Hi @pawel.kunicki

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

  • 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.