logx_tradeNormalized 3-Pool Asset Composition
    with dai as (
    select
    block_timestamp,
    balance/pow(10, 18) as balance
    from ethereum.core.fact_token_balances
    where user_address = '0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7'
    and contract_address = '0x6b175474e89094c44da98b954eedeac495271d0f' -- DAI
    and block_timestamp >= current_date - 3
    ),

    usdc as (
    select
    block_timestamp,
    balance/pow(10, 6) as balance
    from ethereum.core.fact_token_balances
    where user_address = '0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7'
    and contract_address = '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48' -- USDC
    and block_timestamp >= current_date - 3
    ),

    usdt as (
    select
    block_timestamp,
    balance/pow(10, 6) as balance
    from ethereum.core.fact_token_balances
    where user_address = '0xbebc44782c7db0a1a60cb6fe97d0b483032ff1c7'
    and contract_address = '0xdac17f958d2ee523a2206206994597c13d831ec7' -- USDT
    and block_timestamp >= current_date - 3
    )

    select
    date_trunc('hour', dai.block_timestamp) as timestamp,
    dai.balance as dai,
    usdc.balance as usdc,
    usdt.balance as usdt
    from dai
    Run a query to Download Data