Nige7777BAYC Prices
    Updated 2021-11-12




    select distinct
    avg(price_usd) over (partition by date_trunc('day',block_timestamp ) order by date_trunc('day',block_timestamp )) as AVG_PRICE,
    min(price_usd) over (partition by date_trunc('day',block_timestamp ) order by date_trunc('day',block_timestamp )) as MIN_PRICE,
    MAX(price_usd) over (partition by date_trunc('day',block_timestamp ) order by date_trunc('day',block_timestamp )) as MAX_PRICE,
    COUNT( price_usd) over (partition by date_trunc('day',block_timestamp ) order by date_trunc('day',block_timestamp )) as Sale_count,
    date_trunc('day',block_timestamp ) Hour
    from ethereum.nft_events
    where contract_address = '0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d'
    and event_type = 'sale'
    and date_trunc('day',block_timestamp ) > '2021-04-18T09:55:55Z'
    order by hour--price_usd desc
    Run a query to Download Data