capabilities.work

Crypto Daily Comparison

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

Recipe · 3 steps

Crypto Daily Comparison

Compare a crypto pair's live snapshot against a fixed daily open/close.

  1. Get the current trading status, including the crypto currencies market, to establish overall market context.
  2. Read the live snapshot for the crypto ticker to capture its current day session and last trade.
  3. Read the open and close for the crypto pair on the requested date so the live snapshot can be compared against a fixed session.
What you'll need to have ready
  • ticker: Crypto ticker symbol for the snapshot (e.g. X:BTCUSD).
  • from: Source currency of the pair for the daily open/close (e.g. BTC).
  • to: Target currency of the pair for the daily open/close (e.g. USD).
  • date: The date for the daily open/close read (YYYY-MM-DD).
For your developer

Arazzo workflow polygon:crypto-daily-comparison, 3 operations: getCurrentMarketStatus → getCryptoSnapshotForTicker → getCryptoDailyOpenClose. Specs on APIs.io.