Query editor
SELECTproject,version,MIN(block_date) AS first_date,MAX(block_date) AS last_complete_date,COUNT(*) AS trade_legs,COUNT(DISTINCT tx_hash) AS transactions,SUM(amount_usd) AS volume_usd,COUNT_IF(amount_usd IS NULL) AS missing_usd_legsFROM dex.tradesWHERE blockchain = 'robinhood'AND block_month >= DATE '2026-06-01'AND block_date < CURRENT_DATEGROUP BY 1, 2ORDER BY volume_usd DESC NULLS LAST