Browse all documentation

More bar intervals, 52-week range and trailing twelve months

Stock, fund and crypto bars take five new intervals, the stock price carries a 52-week range and a 30-day average volume, and financials has period=ttm.

Stock, fund and crypto bars take five new intervals, the stock price carries a 52-week range and a 30-day average volume, and financials has period=ttm.

What changed

  • interval on the stock, fund and crypto bars routes now takes 5m, 15m, 1h, 1w and 1mo as well as 1d and 1m. 5m, 15m and 1h are built from our one-minute bars, with buckets starting at the exchange's session open (00:00 UTC for crypto), and follow the one-minute rules. 1w (Monday to Sunday) and 1mo (calendar month) are built from our daily bars. A bucket that has not finished is not shown, and these intervals have no next_cursor.
  • GET /v1/equities/{id}/price now carries high_52w, low_52w and avg_volume_30d, each null when our daily bars do not cover the period. change and change_percent were already there.
  • GET /v1/companies/{company_id}/financials takes period=ttm: the last four consecutive quarters summed for income, cash flow and per-share items, the latest quarter for balance sheet items, with growth against the TTM four quarters earlier. 404 not_found, not charged, when four quarters are not held.

All changelog entries · Changelog RSS feed

Was this page helpful?