Datasets:
Tasks:
Tabular Classification
Formats:
parquet
Languages:
English
Size:
< 1K
Tags:
economics
quantitative-finance
causal-inference
macroeconomics
housing-economics
market-microstructure
License:
File size: 4,809 Bytes
ebcde1f | 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 37 38 39 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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | # Public aggregate-trade exploratory protocol
## Evidence status
This protocol governs the first real-data research run built from the fixed,
capped Binance Spot aggregate-trade sample already acquired for 2024-01-02. It
is **retrospective and exploratory**, not a preregistered confirmatory study. The
data availability, per-symbol coverage, and class balance were inspected before
this document was frozen; model comparison and held-out results were not.
Every output must retain the `PUBLIC_SAMPLE_PARTIAL` evidence tier. The run may
support a sample-specific data and predictability diagnostic, but it cannot
support a claim about persistent alpha, statistical significance, execution,
profitability, or capacity.
## Question and hypotheses
The narrow question is whether recently observed aggregate-trade direction and
size contain out-of-time information about the sign of the trade price 20
aggregate trades later.
- **H0:** the transparent model ladder does not improve held-out log loss over a
historical-prior classifier in this capped sample.
- **H1 (exploratory):** causal signed-volume and trade-imbalance features improve
held-out log loss relative to that prior.
All tested model rows are published. The final test is not used for feature,
hyperparameter, calibration, or model selection. A favorable point estimate is
not called significant; the block bootstrap is a dependence diagnostic, not a
confirmatory p-value procedure.
## Data and coverage policy
- Instruments are BTCUSDT and ETHUSDT, evaluated separately because the fixed
5,000-row caps produce different observed clock-time endpoints.
- The exact ingestion manifest and normalized part hashes are inputs to the run.
- Internal aggregate-trade IDs must be unique and step by one within each symbol;
the availability clock must not reverse. Only after those checks may the
derived research view assign one continuity epoch per symbol. Raw normalized
rows remain unchanged.
- Exchange event time is the only historical availability proxy. No local
receipt-time or colocated-latency claim is allowed.
- Tied exchange timestamps retain aggregate-trade-ID ordering and remain in the
same time split.
## Causal feature and label contract
At decision trade `i`, features may use trade `i` and earlier trades from the
same verified continuity epoch:
- signed trade volume and absolute volume over 5, 20, and 100 trades;
- signed-volume imbalance over the same windows;
- trade count and event-time intensity;
- one-trade log return;
- realized trade-price volatility over 100 trades.
The target is `1` when the trade price at `i + 20` is above the price at `i`, and
`0` otherwise. The target trade ID and availability timestamp are serialized.
Segment tails are right-censored. Feature-ready rows require the full longest
lookback.
## Evaluation
- Each instrument receives its own expanding time-ordered walk-forward plan.
- Configuration: 1,200 initial decision-time buckets, 400 validation buckets,
400 final-test buckets, 400-bucket steps, and a 20-bucket embargo.
- Label information ending at or after an evaluation boundary is purged.
- The model ladder is historical prior, unpenalized logistic regression, the
declared L2 grid, and the declared shallow-tree grid.
- Selection metric is validation log loss. Calibration is trained only from the
chronological training/calibration region.
- The primary H0/H1 diagnostic is the paired difference in held-out log loss:
validation-selected model minus historical prior on identical `row_id`
observations. It uses the same seeded resample draw for both models within
each fixed, contiguous 40-trade block (twice the label horizon), separately
by instrument. Five hundred draws, the seed, row count, block count, point
difference, and percentile interval are serialized. Marginal per-model
intervals are secondary and are never compared as a substitute for the
paired loss difference.
## Explicit exclusions
There is no contemporaneous bid/ask, depth, cancellation, queue, or local
receipt-time history in this dataset. Therefore this run does not calculate:
- order-book imbalance, microprice, spread, or liquidity recovery;
- limit-fill probability or queue position;
- market/limit execution, fees-to-alpha conversion, P&L, or capacity.
Those analyses require continuous snapshot-plus-delta L2 epochs collected and
validated separately.
## Promotion criteria
This exploratory run cannot be promoted to `FULL_DATA`. A later confirmatory
study must freeze its protocol before model outcomes are inspected, use multiple
complete nontruncated dates, preserve adjacent untouched dates for final testing,
report per-date and cross-instrument stability, and add continuous L2 evidence
before making book-dependent or execution claims.
|