on-internet
← Community

How do I access a custom tag in a company's 10q filing?

Stack Overflow ·

My issue concerns how to access non us-gapp tagged company data in, for example, a 10-q for the ticker MSFT. See this 10q filing: https://www.sec.gov/ix?doc=/Archives/edgar/data/789019/000095017023054855/msft-20230930.htm Normally, I can just use the following code based on the us-gaap key to get the value: dep_amort_data = companyFacts.json()['facts']['us-gaap'].get('DepreciationDepletionAndAmortization', {}) However, some stocks, like MSFT, use custom tags for certain values: When substituting in 'msft' for 'us-gaap'(and the other language) in the previously stated code, no value is found, s

Comments

Sign in or sign up to comment and upvote.

No comments yet.