select date_trunc('week',BLOCK_TIMESTAMP) as week
,SYMBOL
,sum(AMOUNT_USD) as volume
,avg(AMOUNT_USD) as "AVG VOLUME"
from polygon.core.ez_token_transfers
where ORIGIN_TO_ADDRESS='0x88dcdc47d2f83a99cf0000fdf667a468bb958a78'
and ORIGIN_FUNCTION_SIGNATURE in ('0xcdd1b25d')
and AMOUNT_USD is not null
group by 1,2