par_rnPrice of aETHb and aETHc in ETH Units
    Updated 2022-11-04
    with aethb as (select date_trunc('day', hour) as day,
    avg(price) as aethb_price
    from flipside_prod_db.ethereum_core.fact_hourly_token_prices
    where token_address ilike '0xd01ef7c0a5d8c432fc2d1a85c66cf2327362e5c6'
    group by 1),

    aethc as (select date_trunc('day', hour) as day,
    avg(price) as aethc_price
    from flipside_prod_db.ethereum_core.fact_hourly_token_prices
    where token_address ilike '0xe95a203b1a91a908f9b9ce46459d101078c2c3cb'
    group by 1),

    eth as (select date_trunc('day', hour) as day,
    avg(price) as eth_price
    from flipside_prod_db.ethereum.token_prices_hourly
    where symbol ilike 'weth'
    group by 1)

    select 'aETHb' as type, a.day,
    aethb_price,
    eth_price,
    aethb_price / eth_price as ratio_aethb_over_eth,
    1 as pegged
    from aethb a
    left join eth b
    on a.day = b.day

    UNION
    select 'aETHc' as type, a.day,
    aethc_price,
    eth_price,
    aethc_price / eth_price as ratio_aethb_over_eth,
    1 as pegged
    from aethc a
    left join eth b
    Run a query to Download Data