Skip to content

P/E

Market capNet income

Price-to-earnings ratio. Lower is cheaper, but watch for negative or near-zero earnings producing meaningless values.

Direction: Lower better Category: valuation

Inputs (XBRL fallback chains):

  • net_income: NetIncomeLoss -> ProfitLoss

Returns None when: Returns None when market cap is missing or net income ≤ 0.

Source code

Implementation: pe_ratio in src/eqtytrk/metrics/ratios.py (or valuation.py for multiples).

EqtyTrk methodology reference. Data from SEC EDGAR.