Datasets:
Update README.md
Browse files25 unmodified lines26272829293031323333343536207 unmodified lines24424524624724724824925025125225025325425225325525625725825625926026126226326426516 unmodified lines2822832842792852862812872882832842852862872892902912922932942952963 unmodified lines30030130229730330430530625 unmodified lines33233333432933525 unmodified linescovering five full calendar years: **2021-01-01 through 2025-12-31 (UTC)**.
This repository contains **raw market bars only**. Feature engineering, aggregation,sample construction, normalisation, and temporal splitting belong to the downstreamsample construction, normalization, and temporal splitting belong to the downstream[DiffQuant](https://github.com/YuriyKolesnikov/diffquant) pipeline, described belowfor reproducibility.
Full codebase: [GitHub Repository](https://github.com/YuriyKolesnikov/diffquant) Full codebase: [GitHub Repository](https://github.com/YuriyKolesnikov/diffquant)
---
207 unmodified linescfg.data.feature_columns = ["close", "volume"]```
### Step 4 — Temporal splits (DiffQuant defaults)### Step 4 — Temporal splits
The full dataset supports arbitrary split boundaries via `SplitConfig`.The primary DiffQuant experiment used the following non-overlapping splits:
```Train : 2021-01-01 → 2025-03-31 (~4.25 years)Train : 2024-01-01 → 2025-03-31 (15 months — intentionally recent)Val : 2025-04-01 → 2025-06-30 (3 months)Test : 2025-07-01 → 2025-09-30 (3 months)Backtest : 2025-10-01 → 2025-12-31 (3 months)Test : 2025-07-01 → 2025-09-30 (3 months, out-of-sample)Backtest : 2025-10-01 → 2025-12-31 (3 months, final hold-out)```
Boundaries are fully configurable via `SplitConfig`.The training window is deliberately limited to 15 months rather than the fullhistorical record. This keeps the training regime close to the evaluation periodsand minimizes distribution shift. Extending to earlier data is the recommendedfirst ablation and is straightforward via `SplitConfig.train_start`.
### Step 5 — Full pipeline one-liner
16 unmodified lines## Project context
This dataset is the data foundation for **DiffQuant**, a research frameworkstudying direct optimisation of trading objectives.studying direct optimization of trading objectives.
Most ML trading systems suffer from a structural misalignment: models are trainedMost ML trading systems face a structural misalignment: models are trainedon proxy losses — MSE, cross-entropy, TD-error — while performance is measured inrealised PnL, Sharpe ratio, and drawdown. DiffQuant studies what happens when thisproxy is removed entirely: the full pipeline from raw features through adifferentiable mark-to-market simulator to the Sharpe ratio is a single computationgraph. `loss.backward()` optimises what the strategy actually earns, withtransaction costs and slippage accounted for in every gradient update.realized PnL, Sharpe ratio, and drawdown. DiffQuant studies what happens whenthis proxy is removed entirely: the full pipeline from raw features through adifferentiable mark-to-market simulator to the Sharpe ratio becomes a singlecomputation graph. `loss.backward()` optimizes what the strategy actually earns,with transaction costs and slippage accounted for in every gradient update.
**Key references:**
3 unmodified lines
- Moody, J., Saffell, M. (2001). *Learning to Trade via Direct Reinforcement.* IEEE Transactions on Neural Networks, 12(4). — original formulation of direct PnL optimisation as a training objective. — original formulation of direct PnL optimization as a training objective.
- Khubiev, K., Semenov, M., Podlipnova, I., Khubieva, D. (2026). *Finance-Grounded Optimization For Algorithmic Trading.*25 unmodified lines publisher = {Hugging Face}, url = {https://huggingface.co/datasets/ResearchRL/diffquant-data},}``````README.md+22-16