StangFAST09 - top exchanger based on platforms
Updated 2023-08-26
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
›
⌄
-- forked from 08 - type @ https://flipsidecrypto.xyz/edit/queries/04730251-b979-4266-954e-cfdce95c97ec
-- forked from 08 - other platforms @ https://flipsidecrypto.xyz/edit/queries/63af2680-7e22-4a1f-a0ab-c6a6cb522270
-- forked from 07 - per user and pre minute copy @ https://flipsidecrypto.xyz/edit/queries/9442c0aa-286f-4111-b9f5-3bcc871739d3
-- forked from 07 - per user and pre minute @ https://flipsidecrypto.xyz/edit/queries/03c68d0d-24eb-457c-8b3f-c2ed0255cf06
-- forked from 06 platform @ https://flipsidecrypto.xyz/edit/queries/e153d5c2-4129-42b6-a597-ba944f299d69
-- forked from 02 - overview @ https://flipsidecrypto.xyz/edit/queries/dec2ad6b-d116-4cf5-a52c-409ffc834710
-- forked from 01 - overview @ https://flipsidecrypto.xyz/edit/queries/fa6c1428-0f60-404d-a4ba-9103c388e7ce
with
token_price1 AS
(
SELECT
date_trunc( 'day' , a.hour ) AS day
, avg( a.price ) AS price
, a.symbol AS token
, a.token_address AS token_id
FROM
base.core.fact_hourly_token_prices a
GROUP BY 1 , 3 , 4
ORDER BY 1 DESC
)
,
token_price2 AS
(
SELECT
date_trunc( 'day' , a.hour ) AS day
, avg( a.price ) AS price
, a.symbol AS token
, a.token_address AS token_id
Run a query to Download Data