Financial data quarterly wrong date?

When doing some data quality checks I found some instances where the "Original Announcement Date" was before the date of some values like Total Assets.
I came to reproduce that error in a simple request:

 

from lseg.data.content import fundamental_and_reference
fundamental_and_reference.Definition(
            ["4295859017"],
            ["TR.TotAssets", "TR.TotAssets.date"],
            {"SDate": 0, "EDate": -20, "FRQ": "FQ", "Period": "FQ0"}
        )

Here I get the quarters until 2024-12-31 and the first six rows have values. If you check the values with the real value of the Total Assets in the Balance Sheet, you'll see that the value returned for 2024-12-31 actually is the value of Sept-2022 and so forth.
Is this a bug in the API or am I missing something?

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @martin_noob_coder

    Thank you for reaching out to us.

    Are you using the desktop.workspace or platform,ldp (RDP) session?

    If you are using the desktop.workspace session, you may need to remove the following lines from the code.

    config = ld.get_config()
    config.set_param("apis.data.datagrid.underlying-platform", "rdp")
    

    My output when using the deskop.workspace session is:

    image.png