[英]Build financial table from EDGAR XBRL files
When companies submit their reports to SEC, a number of files are made available.当公司向 SEC 提交报告时,会提供一些文件。 Eg the latest 10-K of AAPL .例如最新的 10-K 的AAPL 。 From this even the SEC website (and many others) make the tables as structured data .由此,甚至 SEC 网站(以及许多其他网站)也将表格制作为结构化数据。
What I would like to do is to reproduce it myself, but got stuck.我想做的是自己复制它,但被卡住了。 Can somebody point me to a detailed, step-by-step description to how to do it?有人可以向我指出详细的分步说明如何做到这一点吗?
Usually SO users ask for more specific questions and the list of things the OP tried, so, here is what I tried, what I understand:通常 SO 用户会询问更具体的问题和 OP 尝试过的事情列表,所以,这就是我尝试过的,我理解的:
What I do not understand though:我不明白的是:
This is why I would like a step-by-step explanation, like:这就是为什么我想要一步一步的解释,比如:
Thanks,谢谢,
PS (I am not interested in available software and services that already do this, neither in some specific libraries to call. I simply would like to extract the information, using the plain text files.) PS(我对已经这样做的可用软件和服务不感兴趣,也不对某些特定的库调用。我只是想使用纯文本文件提取信息。)
If you're looking to process XBRL without re-using existing XBRL software, then the best place to start would be the XBRL Specifications .如果您希望在不重复使用现有 XBRL 软件的情况下处理 XBRL,那么最好的起点是XBRL 规范。 In particular, the section on XLink in XBRL will explain how XBRL Linkbases work, including the labels used in the xlink:from
and xlink:to
attributes.特别是, XBRL 中的 XLink部分将解释 XBRL Linkbases 的工作原理,包括xlink:from
和xlink:to
属性中使用的标签。 The short answer is that those attributes just contain arbitrary identifiers that reference the xlink:label
attribute of an element elsewhere in the file.简短的回答是,这些属性只包含任意标识符,这些标识符引用文件中其他位置元素的xlink:label
属性。
The specific question of how you construct financial tables from the XBRL data is tricky.如何从 XBRL 数据构建财务表的具体问题非常棘手。 An XBRL Report does not contain any explicit information that associates facts in the report with tables. XBRL 报告不包含将报告中的事实与表格相关联的任何明确信息。 You can build a list of the concepts in a section of a financial report from the presentation linkbase, but you'll often find that you have more facts than expected using those concepts.您可以从演示链接库的财务报告部分中构建概念列表,但您经常会发现使用这些概念获得的事实比预期的要多。 For example, if you build a list of concepts from the Balance Sheet section, you'll often find that you have facts that use those concepts but with additional dimensions because they were tagged from a note providing a breakdown of that concept.例如,如果您从“资产负债表”部分构建概念列表,您通常会发现您拥有使用这些概念但具有附加维度的事实,因为它们是从提供该概念细分的注释中标记的。
The SEC use a heuristic-based approach to organising facts into tables. SEC 使用基于启发式的方法将事实组织成表格。 This process is documented in section 6.24 of the Edgar Filer Manual .此过程记录在Edgar Filer Manual的第 6.24 节中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.