Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -222,8 +222,8 @@ Applied channel-by-channel after aggregation. The first bar is always dropped
|
|
| 222 |
| Channel | Transformation |
|
| 223 |
|---|---|
|
| 224 |
| open, high, low, close | `log(price_t / close_{t-1})` — log-return vs previous bar close |
|
| 225 |
-
| volume | `volume_t /
|
| 226 |
-
| num_trades | `num_trades_t /
|
| 227 |
| typical_price (optional) | `log(((H+L+C)/3)_t / close_{t-1})` |
|
| 228 |
| time features (optional) | `[sin_hour, cos_hour, sin_dow, cos_dow]` — cyclic UTC encoding |
|
| 229 |
|
|
@@ -274,13 +274,15 @@ when the config changes (timeframe, preset, split boundaries, feature flags).
|
|
| 274 |
## Project context
|
| 275 |
|
| 276 |
This dataset is the data foundation for **DiffQuant**, a research framework
|
| 277 |
-
studying direct optimisation of trading objectives
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
|
|
|
|
|
|
| 284 |
|
| 285 |
**Key references:**
|
| 286 |
|
|
|
|
| 222 |
| Channel | Transformation |
|
| 223 |
|---|---|
|
| 224 |
| open, high, low, close | `log(price_t / close_{t-1})` — log-return vs previous bar close |
|
| 225 |
+
| volume | `log(volume_t / rolling_mean(volume, window) + eps)` — relative intensity |
|
| 226 |
+
| num_trades | `log(num_trades_t / rolling_mean(num_trades, window) + eps)` — same |
|
| 227 |
| typical_price (optional) | `log(((H+L+C)/3)_t / close_{t-1})` |
|
| 228 |
| time features (optional) | `[sin_hour, cos_hour, sin_dow, cos_dow]` — cyclic UTC encoding |
|
| 229 |
|
|
|
|
| 274 |
## Project context
|
| 275 |
|
| 276 |
This dataset is the data foundation for **DiffQuant**, a research framework
|
| 277 |
+
studying direct optimisation of trading objectives.
|
| 278 |
+
|
| 279 |
+
Most ML trading systems suffer from a structural misalignment: models are trained
|
| 280 |
+
on proxy losses — MSE, cross-entropy, TD-error — while performance is measured in
|
| 281 |
+
realised PnL, Sharpe ratio, and drawdown. DiffQuant studies what happens when this
|
| 282 |
+
proxy is removed entirely: the full pipeline from raw features through a
|
| 283 |
+
differentiable mark-to-market simulator to the Sharpe ratio is a single computation
|
| 284 |
+
graph. `loss.backward()` optimises what the strategy actually earns, with
|
| 285 |
+
transaction costs and slippage accounted for in every gradient update.
|
| 286 |
|
| 287 |
**Key references:**
|
| 288 |
|