CryptoLiontop 15 pools
    Updated 2022-07-26
    SELECT DISTINCT
    date_trunc('day', block_timestamp) as day,
    pool_name,
    pool_address,
    last_value(token0_balance_usd + token1_balance_usd) over (partition by pool_name order by day) as liq,
    last_value(virtual_liquidity_adjusted) over (partition by pool_name order by day) as vliq,
    last_value(price_0_1) over (partition by pool_name order by day) as cp
    FROM uniswapv3.pool_stats ps1
    WHERE block_timestamp >= getdate() - interval '2 day'
    AND token0_balance_usd >= 0
    AND token1_balance_usd >= 0
    --
    -- AND pool_name LIKE 'WBTC-WETH%'
    --
    HAVING day = '2021-06-12'
    ORDER BY 4 DESC
    LIMIT 15