adriaparcerisasOsmosis Price Correlation numbers
    Updated 2022-06-30
    -- Is the price of Algorand more closely correlated with the crypto market, and assets such as BTC or ETH,
    -- or is it more correlated with network usage such as number of transactions or ALGO transfers?
    WITH
    osmo_price as (
    SELECT
    trunc(recorded_at,'day') as date,
    avg(price) as osmo_price
    from osmosis.core.dim_prices
    where symbol='OSMO'
    group by 1
    ),
    eth_price as (
    SELECT
    trunc(hour,'day') as date,
    avg(price) as eth_price
    from ethereum.core.fact_hourly_token_prices
    where symbol='WETH'
    group by 1
    ),
    btc_price as (
    SELECT
    trunc(hour,'day') as date,
    avg(price) as btc_price
    from ethereum.core.fact_hourly_token_prices
    where symbol='WBTC'
    group by 1
    ),
    cryptomarket as (
    SELECT
    trunc(hour,'day') as date,
    avg(price) as cryptomarket_price
    from ethereum.core.fact_hourly_token_prices where price<1e5
    group by 1
    ),
    transfers as (
    SELECT
    Run a query to Download Data