StangFASTOverall of NFT Collection on BlueMove
    Updated 2024-08-28
    -- forked from part 1 - floor price @ https://flipsidecrypto.xyz/studio/queries/2ffdaadf-1522-48a6-9e52-04495987d6f5
    -- 0x1::aptos_coin::AptosCoin
    -- min 2022-10-20 10:23:10.969
    -- a.nft_address
    -- a.project_name
    -- a.tokenid
    -- a.event_type
    with price as (
    select
    date_trunc('day', a.hour) as date,
    avg(a.price) as price,
    a.decimals as decimals,
    a.symbol as symbol,
    a.token_address as token_address
    from
    aptos.price.ez_prices_hourly a
    where
    a.token_address = '0x1::aptos_coin::AptosCoin'
    group by
    1,
    3,
    4,
    5
    order by
    1 desc
    ),
    table_final as (
    select
    a.project_name as "nft",
    to_char(count(distinct a.tokenid), 'FM999,999,999,999') as "total items",
    to_char(
    count(distinct a.buyer_address),
    'FM999,999,999,999'
    ) as "total buyer addresses",
    to_char(
    count(distinct a.seller_address),
    QueryRunArchived: QueryRun has been archived