select avg(amount_in_usd),block_timestamp::date from ethereum.core.ez_dex_swaps where
origin_from_address in(select distinct origin_from_address from ethereum.core.ez_dex_swaps
where origin_to_address='0x881d40237659c251811cec9c364ef91dc08d300c')
and block_timestamp::date > getdate() - interval '90 days'
group by 2