Query editor
selectdate_trunc('week', block_time) as week, blockchain, approx_percentile(amount_usd, 0.5) as average_price_per_week, sum(amount_usd) as weekly_volume-- , sum(cast(platform_fee_amount_raw as double)) as platform_fee_raw, sum(platform_fee_amount_usd) as platform_fee_usd, sum(cast(number_of_items as double)) as week_items_sold, sum(royalty_fee_amount_usd) as royalty_fee_usd-- , sum(royalty_fee_amount_raw) as royalty_fee_rawfrom nft.tradeswhere nft_contract_address = 0x670fd103b1a08628e9557cd66b87ded841115190GROUP BY 1, 2