Abolfazl_771025monthly swap
    Updated 2022-09-26
    with stETH_sell as (select
    block_timestamp::date as date,
    sum(amount_in) as "steth sell volume"
    from ethereum.core.ez_dex_swaps
    where symbol_in like '%stETH%'
    and amount_in_usd>0
    and date >= '2022-01-01'
    group by 1),stETH_buy as (select
    block_timestamp::date as date,
    sum(amount_out) as "steth buy volume"
    from ethereum.core.ez_dex_swaps
    where symbol_out like '%stETH%'
    and amount_out_usd>0
    and date >= '2022-01-01'
    group by 1) , rETH_sell as (select
    block_timestamp::date as date,
    sum(amount_in) as "reth sell volume"
    from ethereum.core.ez_dex_swaps
    where symbol_in like '%rETH%'
    and amount_in_usd>0
    and date >= '2022-01-01'
    group by 1),rETH_buy as (select
    block_timestamp::date as date,
    sum(amount_out) as "reth buy volume"
    from ethereum.core.ez_dex_swaps
    where symbol_out like '%rETH%'
    and amount_out_usd>0
    and date >= '2022-01-01'
    group by 1) , aETH_sell as (select
    block_timestamp::date as date,
    sum(amount_in) as "aeth sell volume"
    from ethereum.core.ez_dex_swaps
    where symbol_in like '%aETH%'
    and amount_in_usd>0
    and date >= '2022-01-01'
    group by 1),aETH_buy as (select
    Run a query to Download Data