财务报表 API / XBRL
想知道,有人知道如何自动从埃德加获取数据吗? (免费或其他)
我已经考虑从雅虎/谷歌获取它,但他们整合了信息(就像不同的收入类别将被分组为一个收入项目)。我见过一些像 Zacks 这样的付费网站,但他们也进行整合。
或者,有没有办法通过 api 或其他方式使用 XBRL 加载不同的语句?我不能说我完全理解 XBRL 的工作原理,但它似乎是一个 XML 接口,用于访问所报告的不同语句(由公司自己发布)。
Was wondering, anyone know how to get data automatically from Edgar? (free or otherwise)
I've looked into getting it from yahoo/google, but they consolidate information (like different revenue categories will be grouped into one revenue item). I've seen a few paid sites like Zacks, but they also do the consolidating.
Alternatively, is there a way to load the different statements using XBRL through an api or otherwise? I can't say I completely understand how XBRL works, but it seems like an XML interface to access different statements as-reported (published by companies themselves).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
经过研究后,我得出以下结论(注:作为 CPA 和 XBRL 专家,我的 IT 知识有限)。 SEC 提供所有实时 XBRL 申报的 RSS 提要。他们还通过服务提供 XBRL 历史记录的 FTP。我的理解是,如果您知道如何编写 FTP 脚本,则可以使用它将 XBRL 加载到 SQL 数据库中。然后,您可以使用 RSS 将实时归档收集到 SQL 数据库中。
FTP:ftp://ftp.sec.gov
RSS:http://www.sec.gov/spotlight/xbrl/filings-and-feeds。 shtml
如果您正在寻找一种自动创建 XBRL 的方法,一些 XBRL 工具提供了用于从会计和财务报告系统收集数据的 API。 XBRL 工具使您能够根据需要逐季度“调整”财务报告分类法。它还将提供自动验证和报告工具。我最熟悉的 XBRL 软件是富士通的 XWand,但还有其他不错的选择。 XWand 具有 API 功能,可以紧密集成到富士通相关的 BPM 工具中,用于管理工作流程 (http://www.fujitsu.com/global/services/software/interstage/solutions/xbrl/)。
希望这有帮助,
杰夫
After looking into this, here is what I have determined (Note: as a CPA and XBRL expert, I have limited IT knowledge). The SEC offers an RSS feed of all live XBRL filings. They also offer FTP of XBRL history via a service. My understanding is that if you know how to write an FTP script, you can use that to load the XBRL into a SQL database. You could then use the RSS to collect live filings into SQL database.
FTP: ftp://ftp.sec.gov
RSS: http://www.sec.gov/spotlight/xbrl/filings-and-feeds.shtml
If you are looking for a way to automate XBRL creation, some XBRL tools offer API for collecting data from accounting and financial reporting systems. The XBRL tools would give you the ability to "tweek" the financial reporting taxonomy from quarter to quarter as needed. It would also provide automated validation and reporting tools. The XBRL software I am most familiar with is Fujitsu's XWand, but there are other good options as well. XWand has the API functionality and can be tightly integrated into Fujitsu's related BPM tool for managing workflow (http://www.fujitsu.com/global/services/software/interstage/solutions/xbrl/).
Hope this helps,
Jeff
在回答您的问题“或者,有没有办法通过 api 或其他方式使用 XBRL 加载不同的语句?”我可能会向您介绍 Gepio,它是 .NET 的 XBRL 文档对象模型。您可以在 .NET 应用程序中使用它来使用、验证和报告 XBRL 文档中的各个条目。
由于 Gepsio 是一个 .NET 组件,因此也可以从 PowerShell 中使用它,这基本上将 XBRL 的使用和验证带入脚本环境中。 这篇博文提供了在 PowerShell 中使用 Gepsio 的示例。
至于自动使用 Edgar 文档,您应该知道,Gepsio 可以通过在调用 Gepsio 的 XbrlDocument.Load() 方法时指定 XBRL 文档的 URL,自动使用发布在 Web 上的文档。上述博客文章中显示的 PowerShell 示例提供了从 Web 加载 XBRL 的示例。
此处找到的一篇博客文章也说明了 Gepsio 的使用来自 C#。
In answering your question of "Alternatively, is there a way to load the different statements using XBRL through an api or otherwise?" I might point you to Gepsio, an XBRL document object model for .NET. You can use it in .NET applications to consume, validate and report back on the various entries in an XBRL document.
Since Gepsio is a .NET component, it can also be used from PowerShell, which basically brings XBRL consumption and validation into scripting environments. This blog post offers an example of using Gepsio from within PowerShell.
As far as automaically consuming Edgar documents, you should be aware that Gepsio can automatically consume documents posted on the Web, by specifying the URL to the XBRL document when you call Gepsio's XbrlDocument.Load() method. The PowerShell example shown in the blog post noted above gives an example of loading XBRL from the Web.
A blog post found here also illustrates the use of Gepsio from C#.
@user117650 你想如何查看数据?
您应该看看 www.finviews.com,我们已经为您完成了所有工作。我们拥有所有 XBRL 数据(10-Q、10-K、20-F、S-1 等),一旦公司向 SEC 提交报告,您将在 Excel 中在不到 2 分钟内获得该报告例如,您可以随后进行财务建模(查看网站上的视频)。
有 2 个流:
一家公司出版。
@user117650 How do you want to view the data?
You should have a look at www.finviews.com, we have done all the work for you. We have all the XBRL data (10-Q, 10-K, 20-F, S-1 etc..), as soon as a company files its report with the SEC, you will get it in less than 2 minutes in Excel for instance, so you can do your financial modelling afterwards (check out the video on the website).
There are 2 streams:
a company publishes.