Phase 14 needs an engine that simulates the research document's baskets with the frictions of the venue, so the trial judge can say whether they earn anything once those frictions are paid. BasketEngine walks a BasketMarket (the bars of a BarDataset without the moments no symbol trades) bar by bar: decisions on the closed bar, execution at the next open, buys at the ask and sells at the bid (bid and ask rebuilt from the venue spread when the source gives one price, as the ECB fixings do). Every leg of every level is its own position with the venue's mandatory stop; a stop that leaves one leg of a two-leg basket alone closes the rest at the next execution as an orphan leg. Commission on both sides, financing at every rollover crossed (Wednesday triple, from the VenueCosts calendar), liquidation below half the initial margin. On top, the document's account rules (9% stop on the open loss over the balance, on mid prices in the daily pause, entries back at the next server day; 2% gate on new baskets only; open baskets, Rvol, correlation, three costs) and, «come dal vivo», SPEC 9.2 through RiskMonitor (day, week, fall from the high, trip with the seven-day restart), the 40% margin limit, nine positions, no opposite positions, net exposure per currency and the Prudente basket stops. One equity point a day for every variant. Signals come from the replica's RollingZ and RollingSigma on each unit's compressed series; a rolling Rvol joins them, equal to BasketIndex.Rvol. The comparison configuration (same close, no cost, no protection) makes the replica's baskets on 200 seeded series and its total to 1e-9; on the ECB fixture it gives the replica's 535.54 targets over 1,259 baskets. TrialPlan gains optional Mode and Costs, left out when null, so the plans of the daily families keep their hashes. refs #127 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anubis
Bot di trading personale: azioni USA su Alpaca e crypto spot su OKX Europe, senza leva e senza vendite allo scoperto. Parte in simulazione e passa ai soldi veri solo quando ogni strategia ha superato requisiti misurati e l'utente lo conferma di persona. Mostra in un'interfaccia web in italiano cosa sta facendo, come stanno i conti e se sta guadagnando o perdendo.
Si installa in un solo modo: un container Docker, pensato per un server Unraid sempre acceso (ADR 0022). Immagine: gitea.encke-hake.ts.net/balbosoft/anubis (sezione Packages del repository).
Database a scelta: PostgreSQL oppure SQLite. Scritto in C# su .NET 10, con interfaccia Blazor: sul server non c'è niente da installare oltre a Docker (ADR 0003).
Il nome e il logo
Nell'antico Egitto Anubis, il dio con la testa di sciacallo, pesava il cuore dei defunti contro la piuma di Maat, la verità e l'equilibrio, e custodiva le tombe. Il bot fa lo stesso con i soldi: pesa ogni operazione contro il rischio prima di farla e protegge il capitale. Il logo è quella bilancia, con il cuore e la piuma in equilibrio (ADR 0005).
Stato: in simulazione, pronto da installare in Docker. Il piano è nelle milestone del repository.
Documentazione
| Documento | Contenuto |
|---|---|
| docs/MANUALE.md | Installare, usare, salvare, ripristinare |
| docs/RUNBOOK.md | Cosa fare negli incidenti |
| docs/GO-LIVE.md | Cosa deve essere vero prima dei soldi veri (questa versione non li usa) |
| docs/SPEC.md | Specifica completa: architettura, strategie, rischio, interfaccia, piano a fasi |
| docs/ROADMAP.md | Le fasi con i lavori su Gitea e i criteri di accettazione |
| docs/STATE.md | A che punto siamo e cosa serve dall'utente |
| docs/SVILUPPO.md | Come si lavora: flusso su Gitea, regole, prove |
| docs/adr/ | Decisioni prese: nome (0001), Gitea (0002), linguaggio C# (0003), componenti esterni (0004), logo (0005); la nuova rotta del 2 dicembre 2026 negli ADR 0021–0026 |
| docs/design/ | Schermate di riferimento e logo |
| deploy/unraid/anubis.xml | Template Docker per Unraid |
Schermate di riferimento
| Panoramica | Conti e posizioni |
| Operazioni | Strategie |
| Notizie e mercato | Apprendimento |
| Rischio | Diario e sistema |
| Panoramica su telefono |
I numeri e le notizie negli screen sono dati di esempio (SPEC appendice F).
Avvertenza
Nessun sistema garantisce un profitto e la maggior parte dei trader privati perde denaro. Anubis punta sulla disciplina: regole semplici con evidenza pubblicata, costi realistici, limiti di rischio rigidi, nessun passaggio ai soldi veri senza prove.
