dgunning / edgartools

Navigate SEC Edgar data in Python
MIT License
509 stars 99 forks source link

Balance Sheet Values doesn't match #83

Closed jmeireles1 closed 3 months ago

jmeireles1 commented 3 months ago

Thank you for your effort and contribution to the repository.

I was testing the balance sheet and noticed a discrepancy: the values for Total Current Assets,Total Assets and Goodwill appear to be misaligned.

image image2

`from edgar import from edgar.xbrl import import pandas as pd

filing: Filing = Company("PFE").get_filings(form="10-K").latest(1)

financials = filing.obj()

print(financials.balance_sheet)`

dgunning commented 3 months ago

I wrote a test and found a gap in the logic for picking up the values. It has something to do with the dimensions and period end dates and Pfizer seems non-standard

I will take a look tomorrow

pfizer_current_assets
dgunning commented 3 months ago

Release 2.27.10

pfizer-balance-sheet
dgunning commented 3 months ago

Closed as fixed