I can't get OPEN_PRC/HIGH_1/LOW_1 by using get_history

Options
rice
rice Newcomer

Previously, I could use ld.get_history to fetch 'OPEN_PRC', 'HIGH_1', 'LOW_1', and 'BID', but now I can only get 'BID' data. Why is that?

截屏2025-07-30 12.25.13.png 截屏2025-07-30 12.24.55.png

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @rice

    Thank you for reaching out to us.

    You can remove the fields parameter. The output will contain all available fields for that RIC and interval.

  • Hello @rice

    The error message indicates that the RIC GB10YT=RR does not contain all requested fields.

    I suggest you follow @Jirapongse solution above.

  • rice
    rice Newcomer

    But I was able to access these fields of it before, and searching in the DIB shows that these fields have values.

    截屏2025-07-31 08.46.02.png 截屏2025-07-31 08.47.11.png
  • Jirapongse
    Jirapongse ✭✭✭✭✭

    I ran the code and found it returns the following fields for the daily historical data of GB10YT=RR.

    Index(['BID', 'ASK', 'B_YLD_1', 'A_YLD_1', 'YLDTOMAT', 'ASP6M', 'BID_HIGH_1',
    'OPEN_BID', 'BID_LOW_1', 'HIGH_YLD', 'LOW_YLD', 'MID_PRICE',
    'MID_YLD_1', 'CONVEXITY', 'MOD_DURTN', 'ASK_HIGH_1', 'ASK_LOW_1',
    'OPEN_ASK', 'OPEN_YLD', 'AST_SWPSPD', 'BPV', 'BMK_SPD', 'ISMA_A_YLD',
    'ISMA_B_YLD', 'SWAP_SPRDB', 'ASP3M', 'OAS_BID', 'ZSPREAD', 'INT_BASIS',
    'INT_CDS', 'TRTN_PRICE', 'OIS_SPREAD', 'TED_SPREAD', 'ASP1M',
    'DIRTY_PRC', 'CLEAN_PRC'],
    dtype='object', name='GB10YT=RR')
    image.png

    The fields could be OPEN_BID, BID_HIGH_1, BID_LOW_1, and BID.

  • rice
    rice Newcomer

    I don’t understand why the data was accessible before but now it’s saying this field doesn’t exist. Was there an internal adjustment to the data fields? Will this happen again in the future?

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @rice

    The data is from the Historical Pricing API. You can contact the Historical Pricing API support team directly via LSEG Support to verify this.

    Please include the URL of this discussion in your raised question to prevent it from being redirected back to this Q&A forum.