tkvresearchdamp-red
    Updated 2025-03-07
    select
    sell_asset as negative,
    sum(sell_volume) as netflow_negative
    from
    (select date(block_timestamp) as date,
    symbol_in as sell_asset,
    -coalesce(sum(amount_in_usd),0) as sell_volume
    from avalanche.defi.ez_dex_swaps
    group by 1,2
    union all
    select date(block_timestamp) as date,
    symbol_out as buy_asset,
    coalesce(sum(amount_out_usd),0) as buy_volume
    from avalanche.defi.ez_dex_swaps
    group by 1,2
    )
    where date >= current_date - interval '7 day'
    group by 1
    order by 2 desc
    limit 10
    Last run: about 2 months ago
    NEGATIVE
    NETFLOW_NEGATIVE
    1
    USDt3239607.39
    2
    BTC.b2375358.33
    3
    XSGD1921203.98
    4
    KET1201605.58
    5
    ggAVAX1040411.89
    6
    SolvBTC.BBN701622.82
    7
    PHAR683807.629999999
    8
    EUROC474038.73
    9
    COQ461160.39
    10
    bIB01243653.85
    10
    213B
    1s