adriaparcerisasluna price change
Updated 2023-01-17
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
›
⌄
with btc as (
SELECT
date_trunc('day', recorded_at) AS date2,
symbol,
avg(price) as eth_price,
max(price) as maxeth,
min(price) as mineth,
STDDEV(price) as stveth,
stveth/eth_price as eth_pct
FROM osmosis.core.dim_prices
where SYMBOL = 'OSMO'
and recorded_at > CURRENT_DATE - 30
group by 1,2
order by 1 ASC
),
luna as (
SELECT
date_trunc('day', recorded_hour) AS date2,
id as symbol,
avg(close) as eth_price,
max(close) as maxeth,
min(close) as mineth,
STDDEV(close) as stveth,
stveth/eth_price as eth_pct
FROM crosschain.core.fact_hourly_prices
where id = 'terra-luna-2'
and recorded_hour > CURRENT_DATE - 30
group by 1,2
order by 1 ASC
)
select * from luna
union select * from btc
order by 1 ASC
Run a query to Download Data