dataforge-labs commited on
Commit
27215c9
·
verified ·
1 Parent(s): ba5eecc

crypto-execution-costs: 2026-08-29

Browse files
README.md CHANGED
@@ -19,52 +19,53 @@ size_categories:
19
 
20
  # Crypto execution costs
21
 
22
- What it actually costs to move money on-chain, recorded as it was quoted. Three angles: swap
23
- quotes from competing DEX aggregators, retail fiat on-ramp quotes, and how long an L2 takes to
24
- turn a sequencer promise into something L1 confirms.
25
 
26
- Quotes are computed per request against live state and stored by nobody. The live comparison is
27
- free to anyone at the moment they ask; a record of what was quoted over time is not, as far as we
28
- could find.
29
 
30
- ## What is in here
31
 
32
  | name | one row is |
33
  |---|---|
34
- | `e10_quote_benchmark` | one swap quote from LI.FI, KyberSwap or CoW, at a fixed size, fee split out |
35
- | `e17_perp_depth` | one order-book snapshot from a perp DEX: spread, level counts, and resting notional within 5/10/25/50/100 bps of mid |
36
- | `e16_dex_routes` | one leg of the route a router chose: venue, pool, amount, and how many venues the trade was split across |
37
- | `e12_onramp_quotes` | one retail fiat on-ramp quote, buy or sell |
38
- | `e14_l2_preconf` | an L2 heartbeat (unsafe vs safe head) or a sequencer promise the chain replaced |
39
- | `e0_run_manifest` | one collection window: polls, failures, coverage counters |
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  ## Before you build on this
42
 
43
- - `e16_dex_routes` records the route a router picked for a trade nobody placed. Executed swaps
44
- are on-chain forever; a quoted route for a hypothetical size is computed on demand and kept by
45
- nobody, so this maps where routable liquidity sits rather than where volume went. It surfaces
46
- venues too small for volume rankings, and the split widens sharply with size: one round put
47
- WBTC/USDC through a single venue at 0.01 BTC and ten venues at 10 BTC. Only KyberSwap exposes
48
- a leg breakdown; the others contribute the venue name alone.
49
- - `e17_perp_depth` covers Aevo and Paradex, second-tier perpetual DEXs that no depth archive
50
- carries -- Tardis lists 64 exchanges and includes dydx, dydx-v4 and hyperliquid but neither of
51
- these. Neither venue serves its own history either. Rows are SNAPSHOTS at the poll interval,
52
- not a tick-level book, so a move that reverses between polls is invisible. Depth is cumulative
53
- resting notional within a band of mid; where the spread is wider than the band the value is
54
- correctly zero, which happens often on the thinner markets.
55
- - Quote rows are what each aggregator served, which is not what you could have filled. One round
56
- has LI.FI 5% above the other two; read outliers as provider behaviour rather than free money.
57
- - LI.FI applies a fixed fee of about 25 bps at every size. It is split into `fee_usd` precisely
58
- so its pricing policy is not mistaken for worse routing. Read price and fee together.
59
- - The on-ramp panel is thin: Mercuryo answers full quotes without a key, Ramp gives a reference
60
- price and fee bounds, and MoonPay, Transak, Guardarian and Mt Pelerin all require keys. It is
61
- 1.5 providers, not a market survey.
62
- - In `e14`, only the `violation` rows are hard to get elsewhere. The heartbeat lag can be rebuilt
63
- after the fact from L2 block timestamps and L1 batch times, both of which are permanent, so
64
- treat heartbeats as coverage attestation rather than as a scarce series.
65
- - Optimism's public endpoint serves a stale `safe` tag (tens of millions of blocks behind, where
66
- Base is a dozen). Rows carry `safe_tag_plausible` so that shows up instead of being published
67
- as a property of the rollup.
68
 
69
  Partitions are parquet, one file per collection window, under `dataset/YYYY/MM/`. This repo carries a FIXED 7-day sample (2026-08-25 to 2026-08-31) so you can check schema, coverage and quality before asking for more. It does not advance, so there is nothing to gain by re-downloading it. The full history is held privately, available on request.
70
 
 
19
 
20
  # Crypto execution costs
21
 
22
+ What it costs to trade, quoted at the moment someone would have traded.
 
 
23
 
24
+ Executed trades are on chain forever. Quotes for trades nobody placed are computed on demand and
25
+ kept by nobody, so they only exist if they were recorded when they were served.
 
26
 
27
+ ## Contents
28
 
29
  | name | one row is |
30
  |---|---|
31
+ | `e10_quote_benchmark` | one swap quote at a fixed size, with the provider fee separated out |
32
+ | `e16_dex_routes` | one leg of a route a router chose: venue, pool, amount, and how many venues the trade was split across |
33
+ | `e17_perp_depth` | one order book snapshot: spread, level counts, resting notional within fixed distances of mid |
34
+ | `e12_onramp_quotes` | one fiat on-ramp quote |
35
+ | `e14_l2_preconf` | an L2 sequencer promise, and whether it held |
36
+
37
+ ## Reading it
38
+
39
+ Quotes are what a provider served, which is not what you would necessarily have filled. Provider
40
+ fees are separated from price so that a fee policy is not mistaken for routing quality.
41
+
42
+ `e16_dex_routes` maps where routable liquidity sits rather than where volume went, and it
43
+ surfaces venues too small to appear in volume rankings. The split widens sharply with size: one
44
+ observation put the same pair through a single venue at small size and ten venues at large size.
45
+
46
+ `e17_perp_depth` stores book shape rather than raw ladders, as cumulative resting notional within
47
+ a band of mid. Where a spread is wider than a band, that band is correctly zero, which happens
48
+ often on thinner markets.
49
 
50
  ## Before you build on this
51
 
52
+ - Not every provider answers every request. Refusals and rate-limit skips are written as explicit
53
+ error rows rather than omitted, so a provider that was unavailable is distinguishable from one
54
+ that had nothing to offer. Check the `error` column before treating absence as meaning.
55
+ - One provider is queried on a subset of pairs. Its coverage is deliberately narrower than the
56
+ others and should not be read as a market-wide view.
57
+ - Only some routers expose a leg breakdown. Rows from the others carry the venue name alone,
58
+ which is why `pool` and `swap_amount_raw` are frequently null.
59
+ - Depth rows are snapshots at the observation interval, not a tick-level book. A move that
60
+ reverses between observations is invisible.
61
+ - Depth covers a single venue, so it sizes that one book rather than the market. Treat it as
62
+ one participant's view; a second venue would be a control and there is not one here.
63
+ - `e14_l2_preconf` is mostly an attested absence. Violations are rare and the value is in the
64
+ zeros being credible, which requires the coverage rows alongside them.
65
+ - `lag_blocks` is only meaningful where `safe_tag_plausible` is true. One chain's endpoint
66
+ served a stale `safe` tag through much of the period, which yields a lag of tens of millions
67
+ of blocks. The raw numbers are published uncorrected so the endpoint's own inconsistency
68
+ stays visible; filter on the flag before using the column.
 
 
 
 
 
 
 
 
69
 
70
  Partitions are parquet, one file per collection window, under `dataset/YYYY/MM/`. This repo carries a FIXED 7-day sample (2026-08-25 to 2026-08-31) so you can check schema, coverage and quality before asking for more. It does not advance, so there is nothing to gain by re-downloading it. The full history is held privately, available on request.
71
 
e17_perp_depth/2026/08/2026-08-28T0242Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:90942bdee0fd965534191af69d053091c4a0f60e6af3fcf0502c62eb0cb9afd1
3
- size 33405
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f31bb0430e5dc90af6750dbfc9284fd899040a7d2d957b4dbbf224dbd66f1b96
3
+ size 25268
e17_perp_depth/2026/08/2026-08-28T0838Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b8f30344134aba7819068b83b6421f9cdc54fc9ae2569008b081a6ac5ea1a03e
3
- size 16090
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d32696e0ca0c85f62544fccafd6aa739baaf5bfdb6e91e061c4c10f74b1d9752
3
+ size 15433
e17_perp_depth/2026/08/2026-08-28T1019Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:139bdb3463a92e68bd49984ee707d369b0bb65831a7dc6bd50e23a2f5a712aaa
3
- size 16065
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8b5d63acd003a443218e23666fb8ffd9dcc692a65d9bae8abc87f916850bd71
3
+ size 15432
e17_perp_depth/2026/08/2026-08-28T1108Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:070141c9794f788d3aea4c26a42276e645787587a4f028be92d9c11cc1bbac44
3
- size 32992
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dc8c38e1911dbcb2fd08bb1cb4f3a8db5a397fbafa7a35089247eb1e5839601
3
+ size 24783
e17_perp_depth/2026/08/2026-08-28T1830Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93c5ee09f3be44c02a7a3399c31d5ee0abcb7f15c3b41f93d6e55eaaf235d76e
3
- size 33415
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e34f2aba9fe2da9a45da594b5a035e737f3205eb78a9a9ca3661495665be53a4
3
+ size 25359
e17_perp_depth/2026/08/2026-08-28T2302Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:21dfd13a4159ec47902bd3620fad3499abffc14d278bec24392aae7d23b1b39e
3
- size 33584
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b706c6f4f50c93084cc031050ed0d2aa6d9ed0a36cb787566c53f5cd1b46890
3
+ size 25492
e17_perp_depth/2026/08/2026-08-29T0334Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:767147d1a3775bec2e4622e5e78305677f93fa19eec24dcc4cad17841fd790db
3
- size 33572
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67af96d2285146ab50a75c93d694ef31185e9e9982133ca08d20f6f03a13e0b1
3
+ size 25437
e17_perp_depth/2026/08/2026-08-29T0805Z.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2661b4ae61356916aee4f726b328e8bfde59d25c2170f18d8db811c4fae1aeb
3
- size 33095
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f220917ee8d5b5408fd31357a9cfc987f0a056927e323144e90d80b7d132010c
3
+ size 25602