Updated 2024-01-29

    with tab1 as (
    select date_trunc('minute',BLOCK_TIMESTAMP)as time
    ,AMOUNT_IN_USD
    ,ORIGIN_FROM_ADDRESS
    from optimism.defi.ez_dex_swaps
    where PLATFORM='uniswap-v3'
    and BLOCK_TIMESTAMP>='2023-10-01'
    and AMOUNT_IN_USD is not null
    and SYMBOL_IN='OP'
    ),
    tab2 as (
    select date_trunc('day',time)as day
    ,AMOUNT_IN_USD
    ,ORIGIN_FROM_ADDRESS
    ,row_number()over(partition by ORIGIN_FROM_ADDRESS order by day) as time_row
    from tab1
    )
    select day
    ,count(ORIGIN_FROM_ADDRESS) as new_sellers
    ,sum(AMOUNT_IN_USD) as sell_volume
    ,sum(new_sellers)over(order by day) as total_new_sellers
    ,sum(sell_volume)over(order by day) as total_volume
    from tab2
    where time_row=1
    group by 1






    Last run: about 1 year agoAuto-refreshes every 24 hours
    DAY
    NEW_SELLERS
    SELL_VOLUME
    TOTAL_NEW_SELLERS
    TOTAL_VOLUME
    1
    2023-10-24 00:00:00.0001087262512.67203983443763.33
    2
    2023-11-12 00:00:00.0001113196328.54349866422215
    3
    2023-10-30 00:00:00.000866153221.75250694222647.1
    4
    2023-11-17 00:00:00.00030123689.76371676898958.06
    5
    2023-10-01 00:00:00.0001376278441.151376278441.15
    6
    2023-12-22 00:00:00.0002031947342.958108714543802.59
    7
    2024-01-12 00:00:00.0001531671541.2610003420682725.43
    8
    2023-10-02 00:00:00.0001513305510.612889583951.76
    9
    2023-10-21 00:00:00.0001214270817.72169262816743.18
    10
    2023-11-02 00:00:00.000711201025.21262134511116.87
    11
    2023-10-03 00:00:00.0001101142565.583990726517.34
    12
    2023-11-23 00:00:00.0001002183087.54410837691875.79
    13
    2024-01-25 00:00:00.000961120077.9311212623245497.55
    14
    2023-12-26 00:00:00.00027241689.358414115553888.77
    15
    2023-12-21 00:00:00.0001128297003.597905613596459.64
    16
    2023-12-04 00:00:00.00045227534.52582129090390.62
    17
    2024-01-10 00:00:00.0001234415063.199752119607271.83
    18
    2023-12-28 00:00:00.000385113710.338507515780531.28
    19
    2024-01-19 00:00:00.000849254218.6410683422488661.45
    20
    2023-11-29 00:00:00.000875174706.07448788251906.28
    ...
    121
    7KB
    2s