Record the choices, proofs and state of Phase 14
ci / test (postgres) (push) Successful in 7m31s
ci / test (sqlite) (push) Successful in 6m2s
ci / test (postgres) (pull_request) Successful in 8m8s
ci / test (sqlite) (pull_request) Successful in 6m42s
ci / image (push) Successful in 1m47s
ci / image (pull_request) Successful in 1m4s

ADR 0030 writes down what the basket engine had to decide where the plan
and the research document are silent: the appendix G conventions found
by the prototype, the orphan-leg and broken-ladder closes, the estimated
financing, the modes, the reason codes, the trial grid and how the
command checks its plan. ROADMAP ticks the phase with the tests that
prove each criterion, STATE records the first verdict on the basket
family (not passed) and the review, and the manual explains the new
"backtest baskets" command.

refs #132

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-12-04 19:26:42 +01:00
1 parent a8defde572
commit ff9046f849
4 files changed
+123 -16

No files matched your search

+6
View File
@@ -310,6 +310,12 @@ docker exec -u 99:100 -e HOME=/tmp anubis dotnet /app/Anubis.Server.dll data ecb
docker exec -u 99:100 -e HOME=/tmp anubis dotnet /app/Anubis.Server.dll data fx /data/import/DAT_ASCII_EURUSD_M1_2024.csv
```
**Prova a panieri.** `backtest baskets` usa gli stessi cambi della BCE e fa tre cose: rifà i conti dell'appendice G del documento di ricerca, li confronta con le serie rimescolate a caso e prova il motore a panieri «come dal vivo», con i costi di eToro. La prova si registra nel database come ogni altra e conta per quelle dopo. Il rapporto `basket_reversion.md` si scrive qualunque sia il verdetto. È solo ricerca: nessun ordine, nemmeno finto. `--to AAAA-MM-GG` sceglie l'ultimo giorno (di solito è l'ultimo del mese scorso), `--offline` usa il file già scaricato, `--control N` sceglie quante serie rimescolate (150, come il documento).
```sh
docker exec -u 99:100 -e HOME=/tmp anubis dotnet /app/Anubis.Server.dll backtest baskets --out /data/backtests
```
Attenzione: il Laboratorio legge dallo storico di ricerca solo le serie giornaliere di Binance. I dati importati con `"venue": "import"` restano in archivio e il Laboratorio **non li usa**. Per usarli servono `"venue": "binance"`, `"timeframe": "1d"` e un simbolo di Binance come `BTCUSDT`: in quel caso le tue barre **sostituiscono** quelle già scaricate per gli stessi giorni, anche per la revisione trimestrale. Fallo solo se sei sicuro dei dati.
---