Git Product home page Git Product logo

financial_fundamentals's Introduction

financial_fundamentals

Find XBRL filings on the SEC's edgar and extract accounting metrics. See the blog @ http://andrewonfinance.blogspot.com/. Caching is provided by my vector_cache package, https://github.com/andrewkittredge/vector_cache.

import pandas as pd
import financial_fundamentals as ff

date_range = pd.date_range('2012-1-1', '2013-12-31')
required_data = pd.DataFrame(columns=['MSFT', 'GOOG', 'YHOO', 'IBM'], index=date_range)

eps = ff.accounting_metrics.earnings_per_share(required_data)
print eps

Follow up:

I (Andrew) am working for Calcbench the leading commercial XBRL shop. I have written an API client for Calcbench that achieves the goals of financial_fundamentals, check it out at https://github.com/calcbench/python_api_client.

The SEC's XBRL database is a wonderful, huge, source of fundamentals data; but making sense of it and correcting the errors is a massive project. Calcbench is further towards XBRL mastery than anybody else, if you have legitimate need for the data in XBRL I would encourage you to consider Calcbench before embarking on a parsing adventure of your own.

financial_fundamentals's People

Contributors

andrewkittredge avatar

Watchers

James Cloos avatar  avatar

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.