Piotroski F-Score (Quintarth implementation)

8 of 9 Piotroski tests computed from EDGAR XBRL company-facts data

What it is

The F-Score (Joseph Piotroski, Stanford 2000) is a 0-9 quality metric originally designed to identify undervalued small-caps with improving fundamentals. A score of 7+ indicates strong financial health; 0-3 indicates poor.

The 9 tests

#TestPass conditionQuintarth
1Positive Net IncomeNI > 0 (current FY)Computed
2Positive Operating Cash FlowOCF > 0 (current FY)Computed
3NI improvingNI(FY) > NI(FY-1)Computed
4Quality of earningsOCF > NIComputed
5Long-term debt decliningLTD(FY) < LTD(FY-1)Computed
6Current ratio improvingCR(FY) > CR(FY-1)Omitted — current asset/liability XBRL fields not yet ingested
7No share dilutionShares(FY) ≤ Shares(FY-1) * 1.005Computed
8Gross margin improvingGM(FY) > GM(FY-1)Computed
9Asset turnover improvingATO(FY) > ATO(FY-1)Computed

Endpoint

GET /api/v1/market/quality-score/{ticker} — public endpoint, free, no API key. Returns each test result + the 0-8 score (ours, Piotroski-style, missing test 6).

Caveats

The Piotroski F-Score is a quality metric, not a return predictor. It works best as a filter combined with a value screen (low P/B, P/S, or EV/EBITDA). Several academic studies confirm the original 2000 paper's results; the score also adds signal for distressed firms specifically. Backtest before relying on it.