Giter Club home page Giter Club logo

Comments (3)

mrx23dot avatar mrx23dot commented on May 26, 2024

some others:
https://www.sec.gov/ix?doc=/Archives/edgar/data/0001122904/000156459020035177/ntgr-10q_20200628.htm
https://www.sec.gov/ix?doc=/Archives/edgar/data/0001439725/000156459020056735/bdsx-10q_20200930.htm
https://www.sec.gov/ix?doc=/Archives/edgar/data/0001720592/000156459020024317/rpay-10q_20200331.htm

Weirdly it doesn't even find DocumentPeriodEndDate in: (web view shows it)
https://www.sec.gov/Archives/edgar/data/0001583107/000155837020010023/tbph-20200630x10q.htm

Also doesn't find StockholdersEquity in (it's highlighted in web view):
https://www.sec.gov/ix?doc=/Archives/edgar/data/0001390777/000139077721000037/bk-20201231.htm

from py-xbrl.

manusimidt avatar manusimidt commented on May 26, 2024

I understand why this can be confusing, but in the example you provided, the concept dei:DocumentPeriodEndDate really only holds the value September 30.

Nested facts are currently not supported by the libary, but this is one of the features I really want to implement in the near future.

<ix:nonNumeric 
	id="F_000003" 
	name="dei:DocumentPeriodEndDate" 
	contextRef="C_0001439725_20200101_20200930" 
	format="ixt:datemonthdayyearen">September 30, 
		<ix:nonNumeric 
			id="F_000004" 
			name="dei:DocumentFiscalYearFocus" 
			contextRef="C_0001439725_20200101_20200930">2020
		</ix:nonNumeric>
</ix:nonNumeric>

See line 4192 in www.sec.gov/Archives/edgar/data/0001439725/000156459020056735/bdsx-10q_20200930.htm

For now I suggest to use the context of the fact tagged with the concept dei:DocumentPeriodEndDate to get the period date of the document.

from py-xbrl.

mrx23dot avatar mrx23dot commented on May 26, 2024

Fact end date should also work then.
Is there a way to tell if a fact is incomplete (nested)?

from py-xbrl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.