Fundamentals
Statement ratios, quality scores (Piotroski, Altman, Beneish), growth and point-in-time availability.
Compute ratios and scores from financial statements you supply, with explicit point-in-time availability so research never uses a statement before it was public. analyzeFundamentals returns the whole picture at once.
Common APIs
fn
analyzeFundamentalsThe one-call analysis.fnpiotroskiFScoreThe standard nine binary signals, per the paper: profitability (return on beginning assets, operating cash flow, their improvement, accruals), leverage/liquidity/funding (falling long-term-debt ratio, improving curren…fnaltmanZScoreThe Altman Z-score with the published coefficients and denominator definitions per variant.fnbeneishMScoreThe original eight-variable 1999 Beneish equation `-4.84 + 0.920 DSRI + 0.528 GMI + 0.404 AQI + 0.892 SGI + 0.115 DEPI - 0.172 SGAI + 4.679 TATA - 0.327 LVGI`, with the component definitions fixed to the paper.fnreturnOnInvestedCapitalSee the reference for its full contract.fnfreeCashFlowYieldSee the reference for its full contract.fnfundamentalGrowthPeriod-over-period and compound annual growth of one fundamental amount.fntrailingTwelveMonthStatementsCompose four consecutive fiscal quarters into one trailing-twelve-months set: income and cash-flow FLOWS sum; BALANCES are the latest quarter's (a balance is a point, not a flow); `dilutedSharesOutstanding` is the fou…fnisPeriodAvailableAtPoint-in-time eligibility: whether `period` was AVAILABLE to an observer at `asOf` (epoch ms).Complete API reference
Browse all public exports, types, and feature imports below.