Upload docs/source_one_dome.md with huggingface_hub
Browse files- docs/source_one_dome.md +81 -0
docs/source_one_dome.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Source One: DOME Baseline Data
|
| 2 |
+
|
| 3 |
+
Prepared: 2026-07-02 UTC
|
| 4 |
+
|
| 5 |
+
## Purpose
|
| 6 |
+
|
| 7 |
+
DOME is the existing local market-data corpus and remains the audit/baseline source for the strategy stack. It is not being replaced. It gives us continuity with the already-built reconstructed windows, Binance and Chainlink joins, labels, and older research artifacts.
|
| 8 |
+
|
| 9 |
+
Canonical local root:
|
| 10 |
+
|
| 11 |
+
```text
|
| 12 |
+
/home/Binance_Chainlink_Data/isolated_balanced_pm2s
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
## Local Layers Observed
|
| 16 |
+
|
| 17 |
+
The current DOME corpus has three relevant layers:
|
| 18 |
+
|
| 19 |
+
- `reconstructed/{ASSET}/date=YYYY-MM-DD/window_*.jsonl.gz`
|
| 20 |
+
- `raw/orderbooks/{ASSET}/date=YYYY-MM-DD/window_*_{yes,no}.json.gz`
|
| 21 |
+
- `raw/trades/{ASSET}/date=YYYY-MM-DD/window_*_{yes,no}.json.gz`
|
| 22 |
+
|
| 23 |
+
Observed inventory from the local filesystem:
|
| 24 |
+
|
| 25 |
+
| Layer | Assets | Date coverage | Shape |
|
| 26 |
+
|---|---|---|---|
|
| 27 |
+
| `reconstructed` | BTC, ETH, SOL, XRP | BTC starts `2026-02-13`; ETH/SOL/XRP start `2026-02-19`; all extend to `2026-05-31` locally | 1 Hz window files, usually up to 288 five-minute windows per day |
|
| 28 |
+
| `raw/orderbooks` | BTC, ETH, SOL, XRP | `2026-03-16` through `2026-05-31` locally | YES and NO raw orderbook files per market window |
|
| 29 |
+
| `raw/trades` | BTC, ETH, SOL, XRP | `2026-03-16` through `2026-05-31` locally | YES and NO raw trade files per market window |
|
| 30 |
+
|
| 31 |
+
Exact generated counts are maintained in:
|
| 32 |
+
|
| 33 |
+
```text
|
| 34 |
+
/home/Data_Collection_v2/catalog/dome_inventory.csv
|
| 35 |
+
/home/Data_Collection_v2/catalog/market_data_catalog.json
|
| 36 |
+
```
|
| 37 |
+
|
| 38 |
+
## Strengths
|
| 39 |
+
|
| 40 |
+
DOME is strong for baseline research and cross-checks:
|
| 41 |
+
|
| 42 |
+
- It already matches the existing strategy research code and reconstructed-frame loaders.
|
| 43 |
+
- It covers multiple assets: BTC, ETH, SOL, XRP.
|
| 44 |
+
- It includes reconstructed 1 Hz five-minute windows for large historical ranges.
|
| 45 |
+
- It includes raw YES and NO books for many March-May windows, which is important for validating two-leg YES/NO parity.
|
| 46 |
+
- It is integrated with the older Binance/Chainlink feature and resolution workflows.
|
| 47 |
+
- It is useful as a fallback when another source has missing archives or questionable transforms.
|
| 48 |
+
|
| 49 |
+
## What DOME Is Good For
|
| 50 |
+
|
| 51 |
+
Use DOME for:
|
| 52 |
+
|
| 53 |
+
- Baseline backtests where the old 1 Hz frame interface is expected.
|
| 54 |
+
- Validating PMData-derived YES/NO ladders against real DOME YES/NO books.
|
| 55 |
+
- Checking top-of-book agreement across sources.
|
| 56 |
+
- Comparing reconstructed 1 Hz behavior with sub-second PMData behavior.
|
| 57 |
+
- Maintaining compatibility with older Binance/Chainlink and resolution labels.
|
| 58 |
+
- Fallback or patching for isolated PMData archive gaps.
|
| 59 |
+
|
| 60 |
+
## Limitations
|
| 61 |
+
|
| 62 |
+
DOME is weaker than PMData for execution-grade maker/taker fill simulation:
|
| 63 |
+
|
| 64 |
+
- Reconstructed windows are 1 Hz, while the strategy plan needs sub-second book and trade-event replay.
|
| 65 |
+
- The reconstructed NO side can be synthetic in some corpus products; two-leg math must validate against raw real NO books.
|
| 66 |
+
- Raw trade quality and temporal density vary by date; some periods are tape-dense and some are patchy.
|
| 67 |
+
- Queue position cannot be known exactly from DOME alone.
|
| 68 |
+
- It is not as cleanly packaged for date-range archival and re-download as the PMData daily ZIP structure.
|
| 69 |
+
|
| 70 |
+
## Strategy Role
|
| 71 |
+
|
| 72 |
+
DOME should remain the audit and baseline source.
|
| 73 |
+
|
| 74 |
+
Recommended uses in the V3 plan:
|
| 75 |
+
|
| 76 |
+
- `data/twosided.py`: compatibility layer for 1 Hz frames.
|
| 77 |
+
- Source validation: compare PMData top-of-book and derived YES/NO ladders against DOME raw books.
|
| 78 |
+
- Acceptance testing: confirm PMData adapter output agrees with DOME on overlapping windows.
|
| 79 |
+
- Fallback: use DOME only where PMData is missing and the fallback is explicitly marked.
|
| 80 |
+
|
| 81 |
+
Do not use DOME alone as the final execution-quality source for maker queue-fill simulation unless the test is explicitly a baseline or compatibility run.
|