select BLOCK_TIMESTAMP::date as date,
SYMBOL_OUT,
sum(AMOUNT_IN_USD) as FTX_USD_Volume
from ethereum.core.ez_dex_swaps
where
token_in = '0x50d1c9771902476076ecfc8b2a83ad6b9355a4c9'
and BLOCK_TIMESTAMP >= CURRENT_DATE - 10
and AMOUNT_IN_USD is not null
and EVENT_NAME = 'Swap'
group by 1,2