Understanding SEC Filings
The most important filings are: Form 10-K, which is the annual report required by the U.S. Securities and Exchange Commission (SEC) and Form 10-Q, for the interim quarters. There are a whole host of types of filings. Some of them are only relevant to companies that are publicly traded, and other types are general to just registered corps in general. ... and many more: http://reportstream.io/explore/has-form Overall, reading SEC filings is hard, and for some, the explanations of those filings is worth paying for. Source: I  am currently trying to build a product that solves this problem.
"Thanks for the response.   I am using WRDS database and we are currently filtering through various variables like operating income, free cash flow etc.  Main issue right now is that the database seems to only go up to 2015...is there a similar database that has 2016 info?  filtering out the ""recent equity issuance or M&amp;A activity exceeding 10% of total assets"" is another story, namely, how can I identify M&amp;A activity? I suppose we can filter it with algorithm stating if company's equity suddenly jumps 10% or more, it get's flagged" "You can infer some of the answers to your questions from the BATS exchange's market data page and its associated help page.  (I'm pretty sure a page like this exists on each stock exchange's website; BATS just happens to be the one I'm used to looking at.) The Matched Volume section refers to all trades on a given date that took place on ""lit"" exchanges; that is, where a public protected US stock exchange's matching engine helped a buyer and a seller find each other.  Because there are exactly 11 such exchanges in existence, it's easy to show 100% of the matched volume broken down into 11 rows. The FINRA & TRF Volume section refers to all trades on a given date that took place on ""non-lit"" exchanges.  These types of trades include dark pool volume and any other trade that is not required to take place in public but is required to be reported (the R in TRF) to FINRA.  There are three venues via which these trades may be reported to FINRA -- NASDAQ's, NYSE's, and FINRA's own ADF.  They're all operated under the purview of FINRA, so the fact that they're ""located at"" NASDAQ or NYSE is a red herring.  (For example, from the volume data it's clear that the NASDAQ facility does not only handle NASDAQ-listed (Tape C) securities, nor does the NYSE facility only handle NYSE-listed (Tape A) securities or anything like that.) The number of institutions reporting to each of the TRFs is large -- many more than the 11 public exchanges -- so the TRF data is not broken down further.  (Also I think the whole point of the TRFs is to report in secret.)  I don't know enough details to say why the NASDTRF has always handled more reporting volume than the other two facilities.  Of course, since we can't see inside the TRF reporting anyway, it's sort of a moot point." I've seen this tool.  I'm just having a hard time finding where I can just get a list of all the companies.    For example, you can get up to 100 results at a time, if I just search latest filings for 10-K.  This isn't really an efficient way to go about what I want. Just look at the filing date of the 10Q and then Yahoo the closing price or Google it. I assume you are looking for market reactions to SEC filings?   If you want to look at the closing stock price for the end of the period which the filing covers, it's like on the first page of the filing when the period (either quarterly or yearly) ends. This data is generally less useful, however, because it really is just another day in the market for the company. The actual release of the data to the public is more important. "Apologize - replied without actually looking at the financials. After reviewing -- Starbuck's financial statements use the line item ""Cost of sales including occupancy costs."" This is very different than ""hiding"" rent in COGS, as they plainly describe what it represents. Anyone who wants to derive true cost of goods sold without occupancy costs can look in the footnotes of the financials to find the lease expense for the year and subtract it. This line item is used by multiple public companies (Whole Foods is one that comes to mind), and regardless of their true motives, they have convinced the SEC that they think it gives the consumer the most accurate view of their business operations. As with all financial statements, the footnotes play a crucial role in understanding how a business works. If you want to find opportunities for future value or an Achilles heel, look in the notes." I think you're looking for the public float: Public float or the unqualified term may also refer to the number of   outstanding shares in the hands of public investors as opposed to   company officers, directors, or controlling-interest investors.   Assuming the insider held shares are not traded, these shares are the   publicly traded ones. The float is calculated by subtracting   restricted shares from outstanding shares. As mentioned, Treasury stock is probably the most narrow definition of restricted stock (not publicly traded), but shares held by corporate officers or majority investors are often included in the definition as well. In any case, the balance sheet is indeed a good place to start. SEC forms are required when declaring insider activity.  An insider is defined by the SEC to be a person or entity which (i) beneficially owns 10% or more of the outstanding shares of the company, (ii) is an officer or director of the company, or (iii), in the case of insider trading, does so based on knowledge which is not otherwise publically available at the time.  At any rate, the person or entity trading the stock is required to file certain forms. Form 3 is filed when a person first transitions into the status of an insider (by becoming an officer, director, or beneficial owner of a certain percentage of stock). Form 4 is filed when an existing insider trades stock under the company's symbol. Form 5 is filed when certain insider trades of small value are reported later than usual. *More information can be found at the SEC's website. Another possibility is that a large number of options or derivatives were exercised by an officer, director, or lending institution.  In the cases of officers or directors, this would need to be declared with an SEC form 4.  For an institution exercising warrants obtained as a result of a lending agreement, either form 3 or 4 would need to be filed. In addition to the above possibilities, username passing through pointed out a very likely scenario in his answer, as well. I don't think it makes sense to allow accounting numbers that you are not sure how to interpret as being a sell sign.  If you know why the numbers are weird and you feel that the reason for it bodes ill about the future, and if you think there's a reason this has not been accounted for by the market, then you might think about selling.  The stock's performance will depend on what happens in the future. Financials just document the past, and are subject to all kinds of lumpiness, seasonality, and manipulation. You might benefit from posting a link to where you got your financials.  Whenever one computes something like a dividend payout ratio, one must select a time period over which to measure.  If the company had a rough quarter in terms of earnings but chose not to reduce dividends because they don't expect the future to be rough, that would explain a crazy high dividend ratio.  Or if they were changing their capital structure.  Or one of many other potentially benign things.   Accounting numbers summarize a ton of complex workings of the company and many ratios we look at could be defined in several different ways.  I'm afraid that the answer to your question about how to interpret things is in the details, and we are not looking at the same details you are. The balance sheet and income statements are located in the 10-K and 10-Q filings for all publicly traded companies. It will be Item 8. "According to the IRS, you must have written confirmation from your broker ""or other agent"" whenever you sell shares using a method other than FIFO: Specific share identification.   If you adequately identify the shares   you sold, you can use the adjusted basis of those particular shares to   figure your gain or loss. You will adequately identify your mutual fund shares, even if you   bought the shares in different lots at various prices and times, if   you: Specify to your broker or other agent the particular shares to be sold or transferred at the time of the sale or transfer, and Receive confirmation in writing from your broker or other agent within a reasonable time of your specification of the particular   shares sold or transferred. If you don't have a stockbroker, I'm not sure how you even got the shares. If you have an actual stock certificate, then you are selling very specific shares and the purchase date corresponds to the purchase date of those shares represented on the certificate." "Not to detract from the other answers at all (which are each excellent and useful in their own right), but here's my interpretation of the ideas: Equity is the answer to the question ""Where is the value of the company coming from?""  This might include owner stakes, shareholder stock investments, or outside investments.  In the current moment, it can also be defined as ""Equity = X + Current Income - Current Expenses"" (I'll come back to X). This fits into the standard accounting model of ""Assets - Liabilities = Value (Equity)"", where Assets includes not only bank accounts, but also warehouse inventory, raw materials, etc.; Liabilities are debts, loans, shortfalls in inventory, etc.  Both are abstract categories, whereas Income and Expense are hard dollar amounts.  At the end of the year when the books balance, they should all equal out. Equity up until this point has been an abstract concept, and it's not an account in the traditional (gnucash) sense.  However, it's common practice for businesses to close the books once a year, and to consolidate outstanding balances.  When this happens, Equity ceases to be abstract and becomes a hard value: ""How much is the company worth at this moment?"", which has a definite, numeric value. When the books are opened fresh for a new business year, the Current Income and Current Expense amounts are zeroed out.  In this situation, in order for the big equation to equal out: Assets - Liabilities = X + Income - Expeneses the previous net value of the company must be accounted for.  This is where X comes in, the starting (previous year's) equity.  This allows the Assets and Liabilities to be non-zero, while the (current) Income and Expenses are both still zeroed out.  The account which represents X in gnucash is called ""Equity"", and encompasses not only initial investments, but also the net increase & decreases from previous years.  While the name would more accurately be called ""Starting Equity"", the only problem caused by the naming convention is the confusion of the concept Equity (X + Income - Expenses) with the account X, named ""Equity""." "Oh, I understand now -- we're having an absurd, meaningless conversation about an obscure theoretical point.  When you can tell me how you can determine a ""minimum cash"" level from a public company's filings, we can continue the discussion.  Otherwise, make a simplifying assumption and move on.  I misunderstood -- I thought we were actually trying to understand the difference between enterprise value and equity value / understand the implication of an enterprise value multiple." The actual financial statements should always be referenced first before opening or closing a position. For US companies, they are freely available on EDGAR.  Annual reports are called 10-Ks, and quarterly reports are called 10-Qs. YHOO and GOOG do a great job of posting financials that are quickly available, but money.msn has the best.  These should be starting point, quick references.  As you can see, they may all have the same strange accounting. Sometimes, it's difficult to find the information one seeks in the consolidated financial statements as in this case, so searching through the filing is necessary. The notes can be helpful, but Ctrl-F seems to do everything I need when I want something in a report. In AAPL's case, the Interest expense can be found in Note 3. It does raise the question of whether investment bank analysts are doing their job when advising clients on IPOs. Sadly, no one, and I literally mean not a single person, reads a registration statement in its entirety. That's why I find this criticism of the JOBS Act particularly stupid. The problem isn't that enough information isn't getting out, it's that too few investors and analysts actually do anything with it. "Generally if you are using FIFO (first in, first out) accounting, you will need to match the transactions based on the number of shares. In your example, at the beginning of day 6, you had two lots of shares, 100 @ 50 and 10 @ 52.  On that day you sold 50 shares, and using FIFO, you sold 50 shares of the first lot.  This leaves you with 50 @ 50 and 10 @ 52, and a taxable capital gain on the 50 shares you sold. Note that commissions incurred buying the shares increase your basis, and commissions incurred selling the shares decrease your proceeds.  So if you spent $10 per trade, your basis on the 100 @ 50 lot was $5010, and the proceeds on your 50 @ 60 sale were $2990.  In this example you sold half of the lot, so your basis for the sale was half of $5010 or $2505, so your capital gain is $2990 - 2505 = $485. The sales you describe are also ""wash sales"", in that you sold stock and bought back an equivalent stock within 30 days.  Generally this is only relevant if one of the sales was at a loss but you will need to account for this in your code.  You can look up the definition of wash sale, it starts to get complex. If you are writing code to handle this in any generic situation you will also have to handle stock splits, spin-offs, mergers, etc. which change the number of shares you own and their cost basis.  I have implemented this myself and I have written about 25-30 custom routines, one for each kind of transaction that I've encountered.  The structure of these deals is limited only by the imagination of investment bankers so I think it is impossible to write a single generic algorithm that handles them all, instead I have a framework that I update each quarter as new transactions occur."