tickerbot.io
Data › Signals › Fundamentals › Valuation

pe_ratio

Price-to-earnings ratio (trailing twelve months). Null for unprofitable issuers.

Facts

A numeric signal: screen on it with a comparison operator (pe_ratio > 140). It's null on tickers it doesn't apply to.

definitionLive: price to trailing earnings, as our data provider reports it. Earlier daily history: market cap ÷ net income over the last four reported quarters, when positive.
typenumeric
refreshpost-close daily
grains1d
asset classesUS equities
coverageall tickers
historyfull · since 2010
nullableyes

Examples

Screen on it

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "q": "pe_ratio > 140",
    "order": "pe_ratio"
  }'

Backtest it on a past date

curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "q": "pe_ratio > 140",
    "asof": "2026-08-17",
    "order": "pe_ratio"
  }'

Get an alert when a ticker starts matching

curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{
    "q": "pe_ratio > 140",
    "target_url": "https://example.com/hooks/tickerbot"
  }'

Returns 201 with the created webhook object; deliveries carry the tickers matching the condition at each evaluation.

Its history

curl "https://api.tickerbot.io/v2/tickers/NVDA/history?select=close,pe_ratio" \
  -H "Authorization: Bearer YOUR_KEY"