adriaparcerisasOsmosis Price Correlation numbers
Updated 2022-06-30
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
-- 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