How to pull Outstanding Bonds of an Equity RIC categorized by Currency via Workspace CODEBK?

Options
Screenshot 2025-07-22 11.28.45.jpeg

I would like to pull in the following data into CodeBook. Under the Debt and Credit tab, you can display the amount of bonds outstanding for a certain company (ex. APPL) sliced by currency. What is the name of this data in the data item browser, so that I can pull it in CodeBook?

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @TatiannahMarie.Hidalgo

    Thank you for reaching out to us.

    This forum is dedicated to software developers using LSEG APIs. The moderators on this forum do not have deep expertise in every bit of content available through LSEG products, which is required to answer content questions such as this one.

    The best resource for content questions is the Helpdesk support team, which can be reached by submitting queries through MyAccount. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.

    You need to ask for the Excel formula, such as =RDP.Data, that can be used to retrieve the required data.

    Then, we can help you converting that formula to Python code.

    However, you can use the Search API to get the bond list. For example:

    df = ld.get_data(
    universe = ['AAPL.O'],
    fields = ['TR.UltimateParentId'])
    ultimate_parent_id = df["Ultimate Parent Id"][0]
    df1 = ld.discovery.search(
    view = ld.discovery.Views.GOV_CORP_INSTRUMENTS,
    filter = f"ParentOAPermID eq '{ultimate_parent_id}' and IsActive eq true and not(AssetStatus in ('MAT'))",
    select = "ISIN, RIC,MainSuperRIC, DBSTicker, IssueDate, Currency, RCSCurrencyLeaf, FaceIssuedTotal, EOMAmountOutstanding, NextCallDate, CouponRate, IsPerpetualSecurity, MaturityDate, CdsSeniorityEquivalentDescription, FaceOutstandingUSD",
    top = 10000)
    df1

    However, please contact the helpdesk team to verify this method.