Giter Site home page Giter Site logo

sec_lib's Introduction

SEC Lib

Rust library for accessing SEC public data APIs.

What is XBRL?

The eXtensibleBusinessRulesLanguage is a scheme for labelling data in financial documents with common machine-readable labels.

A concept is a label applied to a specific piece of data, like "AccountsPayable" or "AdvertisingExpense". Most concepts come from the US-GAAP (Generally Accepted Accounting Principles) taxonomy.

An XBRL fact is a a 3-tuple of (concept, time, value).

Interesting Concepts

MFAANG_Concepts.json contains a union of concepts reported by Microsoft, Facebook, Amazon, Apple and Google (Alphabet).

The GAAP taxonomy is large, and not all filings contain all concepts. Below is a listing of some common and potentially interesting concepts.

AccountsPayable

AccountsPayableCurrent

AccountsReceivableNetCurrent

CapitalLeaseObligations - Unused post-COVID office space?

CommonStockSharesOutstanding

CostOfGoodsAndServicesSold

CostsAndExpenses

CurrentFederalTaxExpenseBenefit

CurrentForeignTaxExpenseBenefit

CurrentIncomeTaxExpenseBenefit

CurrentStateAndLocalTaxExpenseBenefit

DeferredRevenue: Payments for goods or services which the company will deliver at a later time.

Depreciation: Hand-wavy accounting magic to indicate the loss in value of assets the company owns over time.

EarningsPerShareBasic: (net income - preferred dividends) / outstanding shares

EmployeeRelatedLiabilitiesCurrent: Salaries, bonuses, payroll taxes, fringe benefits.

EntityPublicFloat: Market value of voting and non-voting shares, computed from average of bid-ask spread.

Goodwill: Terrible name. When purchasing another company "goodwill" is the amount payed above and beyond the estimated value of the assets acquired. May reflect value from branding, customer base, etc.

GrossProfit: Difference between revenue and cost of goods sold.

IncomeTaxesPaid: Cash paid to governments or agencies as tax on income.

IncomeTaxesPaidNet: IncomeTaxesPaid adjusted for any fine/refund for under/over payment.

InterestExpense: Expense due to interest from bonds, loans, lines of credit, convertible debt.

InventoryNet

InterestPaid

LeaseAndRentalExpense

LeaseCost

LongTermDebt

MarketingExpense

OperatingExpense

PreferredStockSharesOutstanding

PreferredStockValue

ShareBasedCompensation

StockholdersEquity

WeightedAverageNumberOfDilutedSharesOutstanding

WeightedAverageNumberOfSharesOutstandingBasic

sec_lib's People

Contributors

keipes avatar

Watchers

 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.