ArioVertex Spot Trading Details
    Updated 2024-09-27
    with last24 as (
    select
    count(DISTINCT Trader) as N_trader_24,
    count(DISTINCT tx_hash) as N_trades_24
    from arbitrum.vertex.ez_spot_trades
    where block_timestamp > current_timestamp - interval '24 hours'
    ),
    last7days as (
    select
    count(DISTINCT Trader) as N_trader_7,
    count(DISTINCT tx_hash) as N_trades_7
    from arbitrum.vertex.ez_spot_trades
    where block_timestamp > current_timestamp - interval '7 days'
    ),
    last90days as (
    select
    count(DISTINCT Trader) as N_trader_90,
    count(DISTINCT tx_hash) as N_trades_90
    from arbitrum.vertex.ez_spot_trades
    where block_timestamp > current_timestamp - interval '90 days'
    ),
    last30days as (
    select
    count(DISTINCT Trader) as N_trader_30,
    count(DISTINCT tx_hash) as N_trades_30
    from arbitrum.vertex.ez_spot_trades
    where block_timestamp > current_timestamp - interval '30 days'
    ),
    total as (
    select
    count(DISTINCT Trader) as N_traders,
    count(DISTINCT tx_hash) as N_trades
    from arbitrum.vertex.ez_spot_trades
    )
    select
    *
    QueryRunArchived: QueryRun has been archived