KaskoazulSwaps but are they all arbitrage?
Updated 2022-03-28
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
›
⌄
WITH ALL_SWAP_FROM AS (
SELECT
swapper,
block_timestamp as fecha,
tx_group_id,
swap_from_asset_id,
swap_from_amount,
swap_to_asset_id,
swap_to_amount,
swap_program
FROM algorand.swaps
WHERE swap_from_asset_id IN (31566704, 312769)
AND fecha >= '2022-01-01'
),
ALL_SWAP_TO AS (
SELECT
swapper,
block_timestamp as fecha,
tx_group_id,
swap_from_asset_id,
swap_from_amount,
swap_to_asset_id,
swap_to_amount,
swap_program
FROM algorand.swaps
WHERE swap_to_asset_id IN (31566704, 312769)
AND fecha >= '2022-01-01'
)
SELECT asf.swapper as swapper,
asf.fecha as fecha_tx1,
asf.tx_group_id as id_tx1,
asf.swap_from_asset_id as from_id_tx1,
asf.swap_from_amount as from_amount_tx1,
asf.swap_to_asset_id as to_id_tx1,
Run a query to Download Data