capabilities.work

Market-Gated Stock Daily Snapshot

A 3-step recipe with Massive (formerly Polygon.io). We can help you get access.

Recipe · 3 steps

Market-Gated Stock Daily Snapshot

Gate a stock daily-snapshot read on the current market status.

  1. Get the current trading status for US markets to establish whether the read reflects a live or closed session.
  2. Read the open, close, high, and low for the stock ticker on the requested date.
  3. Read the previous trading day's close so the requested day's values can be compared against the prior session.
What you'll need to have ready
  • ticker: Case-sensitive stock ticker symbol (e.g. AAPL).
  • date: The date for the daily open/close read (YYYY-MM-DD).
For your developer

Arazzo workflow polygon:market-gated-stock-daily, 3 operations: getCurrentMarketStatus → getStocksDailyOpenClose → getStocksPreviousClose. Specs on APIs.io.