Repository navigation
Added
- Filter filing XBRL facts to filer-defined concepts. With the extension schema loaded,
by_extension()finds Tesla's $184 million digital-assets fact in its June 2024 Form 10-Q (0001628280-24-032662). (GH #1991) members_of()lists the XBRL tags mapped to a standard concept. Each record includes the stored key and its lookup result. TheRevenuefamily includesPremiumsEarnedNet, the tag for UnitedHealth's $308,810 million in FY2024 premiums (10-K accession 0000731766-25-000063). (GH #1423)- Download selected SEC filing submissions concurrently. Set
max_workersondownload_filings()orFilings.download()(default: 1); each accession is processed once per call, including when overwriting. Four workers downloaded 12 uncached PepsiCo 8-Ks at 17.8 MB/s, compared with 8.0 MB/s for one worker on a similar set. (GH #1985) - Quarterly financials can read untagged 6-K income tables. A bounded recent-filing search skips monthly notices; TSM's earnings release supplies TWD 763,064 million net income. (GH #1824)
Fixed
XBRL.from_directory()read a schema saved as.xsd.xmlas an instance. It now parses*.xsd.xmlas the schema, so statement titles, notes, element period types and extension facts come from it. Tesla's Q2 2024 10-Q fixture now has 16 notes instead of 12, with the filing's own titles. (GH #2070)- Earnings release facts took a row's unit from its label alone.
to_facts_dataframe()now reads the%and$printed beside a row's values: a row with%on every period value is a percentage, and a "Gross margin" dollar line is scaled as an amount. Microsoft's quarterly gross margin is now 45,043,000,000 USD instead of 45,043pure; across 19 releases, 125 percentages are no longer scaled as dollars. (GH #2079) - Earnings release facts labelled fiscal periods by calendar quarter.
fiscal_yearandfiscal_periodnow follow the company's fiscal year end, read from the filing header: Oracle's quarter ended November 30, 2024 is FY2025 Q2, not 2024 Q4. Without a fiscal year end, both areNoneinstead of a calendar guess. (GH #2074) - Earnings release facts had no period for common column-header styles.
to_facts_dataframe()now reads "Quarters/Years Ended", "Fiscal Year Ended (1)", week counts, numeric dates, fiscal labels such as "Q4 - 2024" and "4Q24" (fiscal year and period, no dates), and a "Three Months Ended" row above a date row. Across 19 releases, income and cash-flow facts with no period fell from 3,688 to 2,370 and wrong instants from 409 to 0. (GH #2076) - Earnings releases misread cash flow statements as balance sheets. The table classifier ignored strong keywords such as "net cash used in financing" unless they were also on its regular list, so Microsoft's FY2024 Q4 cash flow table, with its working-capital rows, scored as a balance sheet and
cash_flow_statementreturnedNone. Strong keywords now count. (GH #2075) - Cash plus short-term investments was labelled as cash, and bank securities were called long-term by candidate order.
CashCashEquivalentsAndShortTermInvestmentsnow has its own concept, so Microsoft's $75,543M total no longer shares one with its $18,315M cash line.AvailableForSaleSecuritiesandHeldToMaturitySecuritiesget no standard concept unless a section gives a side. (GH #1436) - Debt and restricted-cash rows with no balance sheet side were given one by candidate order.
OtherBorrowings,AdvancesFromFederalHomeLoanBanksandRestrictedCashAndCashEquivalentstook their first candidate when no section said current or noncurrent, so BXP's $797,053K unsecured term loans standardized as short-term debt. They now get no standard concept unless the row or a classified parent gives a side. (GH #1438) xbrl.current_periodstatements of equity and 10-Q cash flows came back incomplete. The equity statement used the year-end instant, so Apple's FY2023 opening equity read $62,146M (the closing balance) instead of $50,672M and every flow row was missing; a 10-Q cash flow used the quarter, not year to date, and beginning and ending cash dropped out. (GH #429)
Upgrade notes: https://github.com/dgunning/edgartools/blob/main/docs/upgrade/6.5.md