← tickerbot.io
View as markdown

profit_margin_ttm

Trailing-12m profit margin.

metadata
typenumeric
cadencepost-close daily
intervals1d
universeall tickers
historyfull · since 2010
nullableyes — NULL where not applicable

Swap YOUR_KEY for a key from /dashboard/keys. Responses are real captures from 2026-09-18, trimmed.

Every ticker matching this signal /v2/signals/{signal}

Live — every ticker with profit_margin_ttm above a cutoff
curl -G "https://api.tickerbot.io/v2/signals/profit_margin_ttm" \
  --data-urlencode "condition=> 0.695" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:03.301Z",
 "signal": "profit_margin_ttm",
 "condition": "> 0.695",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "VSA",
   "name": "VisionSys AI Inc American Depositary Shares",
   "value": 1654.37
  },
  {
   "ticker": "DXR",
   "name": "Daxor Corporation Common Stock",
   "value": 198.61
  }
 ]
}
As-of — the same read at a past date
curl -G "https://api.tickerbot.io/v2/signals/profit_margin_ttm" \
  --data-urlencode "condition=> 0.695" \
  -d "asof=2026-07-04" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "signal": "profit_margin_ttm",
 "condition": "> 0.695",
 "universe": null,
 "count": 2,
 "results": [
  {
   "ticker": "ENVB",
   "name": "Enveric Biosciences, Inc. Common Stock",
   "value": 120153.85185185185
  },
  {
   "ticker": "VSA",
   "name": "VisionSys AI Inc American Depositary Shares",
   "value": 1654.37
  }
 ]
}
Subscribe — webhook when a ticker starts matching
curl -X POST "https://api.tickerbot.io/v2/signals/profit_margin_ttm/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"condition": "> 0.695", "target_url": "https://example.com/hooks/tickerbot"}'

Returns 201 with the created webhook — the same shape as GET /v2/webhooks/{id}, plus a one-time signing_secret for HMAC verification.

The whole market, filtered on it /v2/scan

Live — the whole market, ranked by this column
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "profit_margin_ttm IS NOT NULL", "order": "profit_margin_ttm", "columns": "profit_margin_ttm" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:08.970Z",
 "query": {
  "q": "profit_margin_ttm IS NOT NULL",
  "limit": 2,
  "order": "profit_margin_ttm",
  "dir": "desc",
  "fields": [
   "profit_margin_ttm"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "VSA",
   "name": "VisionSys AI Inc American Depositary Shares",
   "asset_class": "stocks",
   "asset_type": "ADRC",
   "price": 2.3,
   "change_1d_pct": -2.748414376321369,
   "gap_pct": -4.8626,
   "relative_volume": 0.2085,
   "market_cap": 1565121,
   "profit_margin_ttm": 1654.37
  },
  {
   "ticker": "DXR",
   "name": "Daxor Corporation Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 11.205,
   "change_1d_pct": -3.654342218400694,
   "gap_pct": -4.5572,
   "relative_volume": 0.1774,
   "market_cap": 68394794,
   "profit_margin_ttm": 198.61
  }
 ]
}
As-of — the same scan at a past date
curl -X POST "https://api.tickerbot.io/v2/scan" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{ "q": "profit_margin_ttm IS NOT NULL", "order": "profit_margin_ttm", "columns": "profit_margin_ttm", "asof": "2026-07-04" }'
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-06-20",
 "query": {
  "q": "profit_margin_ttm IS NOT NULL",
  "asof": "2026-06-20",
  "interval": "auto",
  "limit": 2,
  "order": "profit_margin_ttm",
  "dir": "desc",
  "fields": [
   "profit_margin_ttm"
  ],
  "full": false,
  "universe": null,
  "asset_class": null
 },
 "count": 2,
 "results": [
  {
   "ticker": "ENVB",
   "name": "Enveric Biosciences, Inc. Common Stock",
   "asset_class": "stocks",
   "asset_type": "CS",
   "price": 1.28,
   "change_1d_pct": -1.5384615384615397,
   "gap_pct": 0.7692307692307698,
   "relative_volume": 0.2824297506039419,
   "market_cap": 404082,
   "profit_margin_ttm": 120153.85185185185
  },
  {
   "ticker": "VSA",
   "name": "VisionSys AI Inc American Depositary Shares",
   "asset_class": "stocks",
   "asset_type": "ADRC",
   "price": 4.58,
   "change_1d_pct": -5.567010309278341,
   "gap_pct": 1.6494845360824757,
   "relative_volume": 0.04579058587285851,
   "market_cap": 12791647,
   "profit_margin_ttm": 1654.37
  }
 ]
}
Subscribe — webhook on a market-wide condition
curl -X POST "https://api.tickerbot.io/v2/scan/subscribe" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_KEY" \
  -d '{"q": "profit_margin_ttm > 0.695", "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 /v2/series

History — the column on an aligned time grid
curl "https://api.tickerbot.io/v2/series?tickers=AAPL,MSFT&columns=close,profit_margin_ttm" \
  -H "Authorization: Bearer YOUR_KEY"
Response (sampled 2026-09-18, trimmed)
{
 "as_of": "2026-09-18T14:41:14.923Z",
 "interval": "1d",
 "tickers": [
  "AAPL",
  "MSFT"
 ],
 "columns": [
  "close",
  "profit_margin_ttm"
 ],
 "count": 6,
 "series": {
  "AAPL": [
   {
    "t": "2026-09-15",
    "close": 331.34,
    "profit_margin_ttm": 0.276
   },
   {
    "t": "2026-09-16",
    "close": 332.41,
    "profit_margin_ttm": 0.276
   },
   {
    "t": "2026-09-17",
    "close": 337.002,
    "profit_margin_ttm": 0.276
   }
  ],
  "MSFT": [
   {
    "t": "2026-09-15",
    "close": 497.12,
    "profit_margin_ttm": 0.403
   },
   {
    "t": "2026-09-16",
    "close": 490.3,
    "profit_margin_ttm": null
   },
   {
    "t": "2026-09-17",
    "close": 497.75,
    "profit_margin_ttm": 0.403
   }
  ]
 }
}

Same grammar on scan, series, and webhooks; state reads take ?asof= for point-in-time answers.

Related signals — Margins & ratios