CryptoIcicleFlash Bounty: GMX Traders - Traders Top 10
Updated 2022-09-19
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
›
⌄
-- Pay by Quality
-- Your score determines your final payout.
-- Grand Prize 225 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 150 USDC
-- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Advanced
-- Difficulty Elite
-- Analyze the traders utilizing this platform on Arbitrum.
-- Identify the top-performing wallets in trades. Compare how traders are performing across various assets,
-- and how traders are performing in relation to liquidity providers.
-- Note any trends or outliers you may see.
-- Contracts https://gmxio.gitbook.io/gmx/contracts
-- SQL Credit https://app.flipsidecrypto.com/velocity/queries/88b0d239-c959-4a9b-85cb-58931bcdf169
with
token_price as (
select
hour::date as date,
token_address,
symbol,
avg(price) as price
from ethereum.token_prices_hourly
where hour::date >= CURRENT_DATE - {{n_days}}
group by date, symbol, token_address
),
perp_txns as (
select
t.*,
t.amount * p.price as amount_usd
from
(
select
l.address_name as token,
case when contract_address='0xff970a61a04b1ca14834a43f5de4533ebddb5cc8' then 'USDC'
when contract_address='0x82af49447d8a07e3bd95bd0d56f35241523fbab1' then 'WETH'
Run a query to Download Data