select date_trunc('day',block_timestamp) as date , sum(amount_in) as total
from ethereum.core.ez_dex_swaps
where symbol_in = 'CEL'
AND date >= CURRENT_DATE - 90
group by 1
UNION
select date_trunc('day',block_timestamp) as date , sum(amount_out) as total
from ethereum.core.ez_dex_swaps
where symbol_out = 'CEL'
AND date >= CURRENT_DATE - 90
group by 1
order by 1