ArioVertex Spot Trading Details
    Updated 2024-09-27
    with last24 as (
    select
    sum(amount_usd) as Volume_24H
    from arbitrum.vertex.ez_Spot_trades
    where block_timestamp > current_timestamp - interval '24 hours'
    and IS_TAKER = 'TRUE'
    ),
    last7days as (
    select
    sum(amount_usd) as Volume_7
    from arbitrum.vertex.ez_Spot_trades
    where block_timestamp > current_timestamp - interval '7 days'
    and IS_TAKER = 'TRUE'
    ),
    last90days as (
    select
    sum(amount_usd) as Volume_90
    from arbitrum.vertex.ez_Spot_trades
    where block_timestamp > current_timestamp - interval '90 days'
    and IS_TAKER = 'TRUE'
    ),
    last30days as (
    select
    sum(amount_usd) as Volume_30
    from arbitrum.vertex.ez_Spot_trades
    where block_timestamp > current_timestamp - interval '30 days'
    and IS_TAKER = 'TRUE'
    ),
    total as (
    select
    sum(amount_usd) as Total_Volume
    from arbitrum.vertex.ez_Spot_trades
    where IS_TAKER = 'TRUE'
    )
    select
    *
    QueryRunArchived: QueryRun has been archived