select date_trunc('week', balance_date) as fecha,
avg(amount_usd) as WETH_avg_USD
from ethereum.erc20_balances
where balance_date >= '2022-01-01'
and user_address = lower('0x9A315BdF513367C0377FB36545857d12e85813Ef') --V3
and symbol = 'WETH'--, 'WETH', 'FRAX', 'TRIBE', 'xSUSHI','WBTC')--, 'K3PR', 'ALCX', 'ICHI', 'USDC')
and amount_usd > 0
group by 1
order by 1