Query editor
SELECTdate_trunc('month', start_date) as month,sum(l.principal * p.price) as volume_usdFROM query_3177701 l -- active loansJOIN prices.usd_latest pON l.currency = p.contract_addressWHERE p.symbol = 'WETH'GROUP BY date_trunc('month', start_date)ORDER BY month DESC;