CryptoIciclestETH/WETH Fluctuation - Price Diff
Updated 2022-06-11
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
›
⌄
-- Pay by Quality
-- Your score determines your final payout.
-- Grand Prize 112.5 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 75 USDC
-- Score Multiplier 0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Intermediate
-- Difficulty Hard
-- Consider the liquid staking ETH derivates from ankr, rocketpool and lido(aETH , rETH and stETH ).
-- What are some trends around the price volatility for these tokens? Swap activity?
-- aETH 0xE95A203B1a91a908F9B9CE46459d101078c2c3cb
-- rETH 0xae78736cd615f374d3085123a210448e74fc6393
-- stETH 0xae7ab96520de3a18e5e111b5eaab095312d7fe84
with
token_price as (
select
date_trunc('{{date_range}}',hour) as date,
CASE token_address
WHEN lower('0xE95A203B1a91a908F9B9CE46459d101078c2c3cb') THEN 'aETH'
WHEN lower('0xae78736cd615f374d3085123a210448e74fc6393') THEN 'rETH'
WHEN lower('0xae7ab96520de3a18e5e111b5eaab095312d7fe84') THEN 'stETH'
END as type,
avg(price) as price_usd
from ethereum.token_prices_hourly
where token_address in (
lower('0xE95A203B1a91a908F9B9CE46459d101078c2c3cb'), -- aETH
lower('0xae78736cd615f374d3085123a210448e74fc6393'), -- rETH
lower('0xae7ab96520de3a18e5e111b5eaab095312d7fe84') -- stETH
)
and hour >= CURRENT_DATE - {{n_days}}
group by 1, 2
)
eth_price as (
Run a query to Download Data