Datasets:
crypto-options-surface: 2026-09-15
Browse files- README.md +70 -63
- e0_run_manifest/2026/09/2026-09-15T0614Z.parquet +3 -0
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: odc-by
|
| 3 |
-
pretty_name: "
|
| 4 |
tags:
|
| 5 |
- options
|
| 6 |
- implied-volatility
|
|
@@ -16,82 +16,89 @@ task_categories:
|
|
| 16 |
- time-series-forecasting
|
| 17 |
size_categories:
|
| 18 |
- 1M<n<10M
|
| 19 |
-
configs:
|
| 20 |
-
- config_name: options_surface
|
| 21 |
-
data_files:
|
| 22 |
-
- split: train
|
| 23 |
-
path: e22_options_surface/**/*.parquet
|
| 24 |
-
default: true
|
| 25 |
-
- config_name: options_order_book
|
| 26 |
-
data_files:
|
| 27 |
-
- split: train
|
| 28 |
-
path: e22_options_book/**/*.parquet
|
| 29 |
-
- config_name: collection_runs
|
| 30 |
-
data_files:
|
| 31 |
-
- split: train
|
| 32 |
-
path: e0_run_manifest/**/*.parquet
|
| 33 |
---
|
| 34 |
|
| 35 |
-
# Crypto options
|
| 36 |
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
## Contents
|
| 40 |
|
| 41 |
-
|
|
| 42 |
|---|---|
|
| 43 |
-
| `
|
| 44 |
-
| `
|
| 45 |
-
|
| 46 |
-
##
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 69 |
|
| 70 |
```python
|
| 71 |
-
from
|
|
|
|
| 72 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
df =
|
|
|
|
| 76 |
```
|
| 77 |
|
| 78 |
## Coverage
|
| 79 |
|
| 80 |
-
`
|
|
|
|
|
|
|
| 81 |
|
| 82 |
## License and contact
|
| 83 |
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
<details>
|
| 87 |
-
<summary>File paths and compatibility</summary>
|
| 88 |
-
|
| 89 |
-
The table names above are Hugging Face dataset configurations. Each configuration reads the original Parquet files, whose paths remain unchanged for existing downloads and scripts. No records are copied, moved or renamed.
|
| 90 |
-
|
| 91 |
-
| Table name | Storage directory |
|
| 92 |
-
|---|---|
|
| 93 |
-
| `options_surface` | `e22_options_surface/` |
|
| 94 |
-
| `options_order_book` | `e22_options_book/` |
|
| 95 |
-
| `collection_runs` | `e0_run_manifest/` |
|
| 96 |
-
|
| 97 |
-
</details>
|
|
|
|
| 1 |
---
|
| 2 |
license: odc-by
|
| 3 |
+
pretty_name: "Implied volatility surface for on-chain crypto options"
|
| 4 |
tags:
|
| 5 |
- options
|
| 6 |
- implied-volatility
|
|
|
|
| 16 |
- time-series-forecasting
|
| 17 |
size_categories:
|
| 18 |
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Crypto options implied volatility surface
|
| 22 |
|
| 23 |
+
Every listed option on one venue, priced, with its greeks, sampled through the day.
|
| 24 |
+
|
| 25 |
+
An option quote is computed on demand and kept by nobody. The chain that existed at any past
|
| 26 |
+
moment is not recoverable from the venue or from the chain it settles on: only trades leave a
|
| 27 |
+
record, and most of these strikes never trade.
|
| 28 |
|
| 29 |
## Contents
|
| 30 |
|
| 31 |
+
| name | one row is |
|
| 32 |
|---|---|
|
| 33 |
+
| `e22_options_surface` | one instrument at one moment: strike, expiry, mark, forward, and the full greek set |
|
| 34 |
+
| `e22_options_book` | top of book for a near-the-money ladder: bid, ask, their sizes, and both quoted in vol terms |
|
| 35 |
+
|
| 36 |
+
## Reading it
|
| 37 |
+
|
| 38 |
+
`iv`, `delta`, `gamma`, `vega`, `theta` and `rho` are the venue's own values, published
|
| 39 |
+
alongside its mark price rather than recomputed here. That is deliberate: re-deriving implied
|
| 40 |
+
volatility needs a rate and dividend assumption, and a number the venue itself margins against
|
| 41 |
+
is the more useful one.
|
| 42 |
+
|
| 43 |
+
Each asset's chain is fetched in one request and every row from it shares a `sampled_ts`,
|
| 44 |
+
so grouping on `(asset, sampled_ts)` recovers one surface and adding `expiry` recovers one
|
| 45 |
+
smile. `round_ts` is shared by the assets collected in the same pass, which is what to
|
| 46 |
+
group on when comparing across assets at a moment.
|
| 47 |
+
|
| 48 |
+
`strike` and `expiry` are parsed from the instrument name, and both are null where the name
|
| 49 |
+
does not match the expected shape rather than being guessed. `expiry_ts` comes from the venue.
|
| 50 |
+
|
| 51 |
+
## What the mark costs you
|
| 52 |
+
|
| 53 |
+
The surface carries the venue's mark. `e22_options_book` carries what was actually quoted:
|
| 54 |
+
`best_bid_iv` and `best_ask_iv` give the two sides in vol terms and `iv_spread` the distance
|
| 55 |
+
between them. Across one ladder that distance ran from 4.2 to 18.6 vol points, and the mark sat
|
| 56 |
+
inside the band every time, near the middle rather than at it.
|
| 57 |
+
|
| 58 |
+
The ladder is deliberate rather than exhaustive, because a book costs one request per
|
| 59 |
+
instrument. It takes the strikes nearest the forward across several expiries and skips the
|
| 60 |
+
expiring contract, which was measured to have no book at all. So `e22_options_book` covers a
|
| 61 |
+
slice of `e22_options_surface` and never all of it; the two join on `instrument_name` within a
|
| 62 |
+
round.
|
| 63 |
+
|
| 64 |
+
A one-sided book is a real state and is recorded as one, with the missing side null while
|
| 65 |
+
`error` stays empty. `error` is set only where the request itself failed.
|
| 66 |
+
|
| 67 |
+
## Before you build on this
|
| 68 |
+
|
| 69 |
+
- One venue, and not the largest one. This is what a single order book quoted, not a
|
| 70 |
+
market-wide consensus. Anything inferred about crypto volatility generally needs a second
|
| 71 |
+
source.
|
| 72 |
+
- Every listed instrument appears, including deep out-of-the-money strikes that never trade.
|
| 73 |
+
A mark price is published for those too, so filter before treating the surface as tradeable.
|
| 74 |
+
- Put and call at the same strike and expiry carry the same implied volatility by construction.
|
| 75 |
+
Two rows agreeing is parity, not confirmation.
|
| 76 |
+
- Sampled at an interval, so a move that reverses between samples is invisible. `sampled_ts`
|
| 77 |
+
is ours, taken at observation, and carries our network distance to the venue.
|
| 78 |
+
- A fetch that fails writes one explicit error row for that asset with the measurements null.
|
| 79 |
+
Check `error` before reading an absent chain as a delisting.
|
| 80 |
+
- Coverage per asset differs and changes as the venue lists and expires instruments; count
|
| 81 |
+
distinct `expiry` per day rather than assuming a fixed ladder.
|
| 82 |
+
|
| 83 |
+
Partitions are parquet, one file per collection window, under `dataset/YYYY/MM/`. Every dataset here carries a FIXED 7-day sample WINDOW starting at its own first day of collection, together spanning 2026-08-29 to 2026-09-04, 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.
|
| 84 |
|
| 85 |
```python
|
| 86 |
+
from huggingface_hub import snapshot_download
|
| 87 |
+
import pandas as pd, glob
|
| 88 |
|
| 89 |
+
path = snapshot_download("dataforge-labs/crypto-options-surface", repo_type="dataset",
|
| 90 |
+
allow_patterns="e22_options_surface/**")
|
| 91 |
+
df = pd.concat(map(pd.read_parquet,
|
| 92 |
+
glob.glob(f"{path}/e22_options_surface/**/*.parquet", recursive=True)))
|
| 93 |
```
|
| 94 |
|
| 95 |
## Coverage
|
| 96 |
|
| 97 |
+
`e0_run_manifest` lists every collection window with its poll counts and failure counts, and is
|
| 98 |
+
published in full rather than windowed. Gaps between windows are real, cannot be filled in
|
| 99 |
+
afterwards, and nothing here is interpolated.
|
| 100 |
|
| 101 |
## License and contact
|
| 102 |
|
| 103 |
+
ODC-BY: use it freely, credit "DataForge (dataforge-labs)". Questions and requests for the full
|
| 104 |
+
history via the discussions tab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
e0_run_manifest/2026/09/2026-09-15T0614Z.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce4aa936b71bce832631c826a92fce496172d7d07141dcbbdd04965393fc7bc1
|
| 3 |
+
size 13290
|