Query editor
-- TVL by day in Maple pools; refreshed at midnight UTC on each calendar daySELECT distinctdate,CASEWHEN pool_name = 'High Yield Secured Lending Maple Pool USDC1' THEN 'Maple Institutional – Secured Lending'WHEN pool_name = 'Maple Direct USDC1' THEN 'Blue Chip Secured'WHEN pool_name = 'High Yield Corporate Loan Maple Pool WETH1' THEN 'Corporate WETH'WHEN pool_name = 'Opportunistic High Yield Maple Pool USDC1' THEN 'Corporate USDC'WHEN pool_name = 'Maple Lend+Long USDC1' THEN 'Lend+Long'WHEN pool_name = 'AQRU Maple Pool USDC1' THEN 'AQRU'ELSE pool_nameEND AS pool_name,tvlFROMdune."maple-finance".maple_pools_historicalWHEREpool_name IN ('High Yield Secured Lending Maple Pool USDC1','Opportunistic High Yield Maple Pool USDC1','Maple Direct USDC1', 'Syrup USDT', 'Syrup USDC', 'syrupUSDG','High Yield Corporate Loan Maple Pool WETH1','Altcoin Lending', 'Maple Lend+Long USDC1','AQRU Maple Pool USDC1')AND date < current_date AND date > DATE('2024-03-01')ORDER BYdate DESC;