feyikemiVertex_totals Over time
Updated 2025-01-21
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
›
⌄
with trades as (
select
'perp' as type,
*
from arbitrum.vertex.ez_perp_trades
union all
select
'spot' as type,
*
from arbitrum.vertex.ez_spot_trades
)
select
date_trunc('day', block_timestamp) AS Date,
type,
sum(amount_usd) as Total_volume,
count(DISTINCT tx_hash) as Total_Trades,
count(DISTINCT trader) as Total_traders
from trades
where is_taker = 'TRUE'
GROUP BY 1, 2
QueryRunArchived: QueryRun has been archived