Spaces:
Running on Zero
Running on Zero
Backtest Lab v1.0.0
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ license: apache-2.0
|
|
| 11 |
hf_oauth: true
|
| 12 |
hf_oauth_scopes:
|
| 13 |
- inference-api
|
| 14 |
-
short_description:
|
| 15 |
tags:
|
| 16 |
- finance
|
| 17 |
- backtesting
|
|
@@ -38,6 +38,31 @@ The store holds **raw model outputs and prices only** β never trade decisions.
|
|
| 38 |
Trading rules, costs and sizing are applied live, per request, so many
|
| 39 |
strategies can be compared over the same forecasts without re-running inference.
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
## Architecture
|
| 42 |
|
| 43 |
```
|
|
@@ -107,8 +132,12 @@ out-of-sample, and on the holdout. Every displayed number comes from
|
|
| 107 |
|
| 108 |
## Honest limitations
|
| 109 |
|
| 110 |
-
- **Coverage is sparse.** The
|
| 111 |
-
Chronos-Bolt small
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
- **Binance is geo-blocked from the seeding machine**, so crypto prices came
|
| 113 |
from Coinbase. Prices will not tick-match another venue.
|
| 114 |
- **Equity intraday history is provider-capped** β roughly 730 days of hourly
|
|
|
|
| 11 |
hf_oauth: true
|
| 12 |
hf_oauth_scopes:
|
| 13 |
- inference-api
|
| 14 |
+
short_description: Compare forecasting models under honest costs
|
| 15 |
tags:
|
| 16 |
- finance
|
| 17 |
- backtesting
|
|
|
|
| 38 |
Trading rules, costs and sizing are applied live, per request, so many
|
| 39 |
strategies can be compared over the same forecasts without re-running inference.
|
| 40 |
|
| 41 |
+
## The Compare tab
|
| 42 |
+
|
| 43 |
+
The app opens on **Compare**, a view over everything this Space has ever
|
| 44 |
+
computed β currently **168 combinations** of strategy Γ model Γ asset Γ
|
| 45 |
+
timeframe, precomputed under one canonical config so the rows are actually
|
| 46 |
+
comparable with each other.
|
| 47 |
+
|
| 48 |
+
- **Leaderboard** β ranked board with filters, plus *returns over time*
|
| 49 |
+
overlaying the top algorithms on one axis, and a risk/return scatter where
|
| 50 |
+
marker area is trade count.
|
| 51 |
+
- **Models** β directional accuracy against naive baselines, band calibration,
|
| 52 |
+
and best result per model.
|
| 53 |
+
- **Signals** β a signal aggregator: every model's latest stored forecast for
|
| 54 |
+
one asset, weighted by how accurate that model has actually been on that
|
| 55 |
+
slice, plus a consensus verdict.
|
| 56 |
+
- **Run history** β session runs merged with runs saved to the store, so a
|
| 57 |
+
result found on one machine is visible from another.
|
| 58 |
+
|
| 59 |
+
Two editorial rules run through it. Rows with fewer than 20 trades are flagged
|
| 60 |
+
and kept out of the default ranking, because a Sharpe of 4 on 13 trades will
|
| 61 |
+
otherwise own the board forever. And naive baselines are ranked alongside the
|
| 62 |
+
learned models everywhere β which is how you find out that on daily bars **the
|
| 63 |
+
drift baseline currently calls direction more often correctly than any Chronos
|
| 64 |
+
variant**. The Models tab says so in plain language.
|
| 65 |
+
|
| 66 |
## Architecture
|
| 67 |
|
| 68 |
```
|
|
|
|
| 132 |
|
| 133 |
## Honest limitations
|
| 134 |
|
| 135 |
+
- **Coverage is sparse.** The seed covers 6 assets Γ 3 timeframes with eight
|
| 136 |
+
models (Chronos-Bolt tiny/mini/small/base, Chronos-T5 small, and three naive
|
| 137 |
+
baselines) β 78 signal slices, ~265k rows. Anything else needs extending.
|
| 138 |
+
- **The learned models are not clearly beating the naive baselines** on
|
| 139 |
+
directional accuracy at daily resolution. That is a real result, and it is
|
| 140 |
+
displayed rather than buried.
|
| 141 |
- **Binance is geo-blocked from the seeding machine**, so crypto prices came
|
| 142 |
from Coinbase. Prices will not tick-match another venue.
|
| 143 |
- **Equity intraday history is provider-capped** β roughly 730 days of hourly
|