Query editor
/* ============================================================================Query 9 — Daily change in TVL per poolVisualization: stacked column, x = day, y = tvl_change_usd, group by pair.----------------------------------------------------------------------------The TVL chart is a stock: the balance standing in the pools on each day. Thetwo Revert panels are flows: dollars deposited on each day. Those cannot beread against each other. This turns TVL into the same shape and unit as theRevert panels, so the question "how much of the day's growth came throughRevert" can be answered by eye.Note this is NET change, so it already accounts for withdrawals and for pricemovement in the stock leg. It is deliberately not "total deposits": grossdeposits into these pools run to billions, because the just-in-time bots mintand burn around almost every swap, and comparing anything against that numberwould be meaningless.Reads query 8700461 (Query 2, daily TVL).========================================================================== */WITH t AS (SELECT * FROM query_8700461)SELECTday,pair,tvl_usd - lag(tvl_usd) OVER (PARTITION BY pair ORDER BY day) AS tvl_change_usdFROM tWHERE day >= DATE '2026-08-12' -- first day these pools tradedORDER BY day, pair