Moeggf7
Updated 2023-04-25
999
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
›
⌄
with
tb1 as (
select
recorded_at::date as day,
avg(price) as price_token
from
osmosis.core.dim_prices
where
symbol = 'OSMO'
group by
1
),
tb2 as (
select
recorded_at::date as day,
avg(price) as price_token
from
osmosis.core.dim_prices
where
symbol = 'ATOM'
group by
1
),
tb3 as (
select
date_trunc('day', HOUR) as day,
avg(PRICE) as price_token
from
crosschain.core.ez_hourly_prices
where
SYMBOL = 'luna'
group by 1
)
select
date_trunc('week', block_timestamp) as date,
Run a query to Download Data