Crypto Pair Analysis
A 3-step recipe with Massive (formerly Polygon.io). We can help you get access.
Recipe · 3 steps
Crypto Pair Analysis
Analyze a crypto pair via snapshot, aggregate bars, and the Level-2 book.
- Read the current snapshot for the crypto ticker to capture its last trade and day session.
- Retrieve aggregate bars for the crypto pair over the requested date range for trend context.
- Read the current Level-2 order book for the crypto pair to gauge market depth and spread.
What you'll need to have ready
- ticker: Crypto ticker symbol (e.g. X:BTCUSD).
- multiplier: Size of the timespan multiplier for the aggregate window.
- timespan: Aggregate window size (minute, hour, day, week, month, quarter, year).
- from: Start of the aggregate window (YYYY-MM-DD).
- to: End of the aggregate window (YYYY-MM-DD).
For your developer
Arazzo workflow polygon:crypto-pair-analysis, 3 operations: getCryptoSnapshotForTicker → getCryptoAggregateBars → getCryptoL2Book. Specs on APIs.io.