Flipside TeamPrice - $PEPE
Updated 2024-05-29
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
›
⌄
-- forked from Price/Market cap - $PEPE @ https://flipsidecrypto.xyz/edit/queries/49829e96-99cb-4430-a7f5-cf613faec7fb
select date_trunc('day',HOUR) as date
, avg(PRICE)*1e10 as Price
, 'PEPE*1e10' as Token
from ethereum.price.fact_hourly_token_prices
where TOKEN_ADDRESS = '0x6982508145454ce325ddbe47a25d4ec3d2311933'
and date >= '2024-01-01'
group by 1
UNION
select date_trunc('day',HOUR) as date
, avg(PRICE)*25 as Price
, 'ETH*25' as Token
from ethereum.price.fact_hourly_token_prices
where TOKEN_ADDRESS = lower('0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2')
and date >= '2024-01-01'
group by 1
UNION
select date_trunc('day',HOUR) as date
, avg(PRICE) as Price
, 'BTC' as Token
from ethereum.price.fact_hourly_token_prices
where TOKEN_ADDRESS = lower('0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599')
and date >= '2024-01-01'
group by 1
QueryRunArchived: QueryRun has been archived