The user prefers C# and asked for no SDKs or extra components without permission. Speed is not a factor at this trading frequency and Python's advantages were exactly the SDKs now excluded, so ADR 0003 adopts the appendix D variant with Blazor instead of React, in-house broker clients, ADO.NET, .csv.gz research storage, a C# task runner instead of make and an in-house Windows installer instead of Inno Setup. ADR 0004 lists the only packages the user authorized (Microsoft.Data.Sqlite, ProtectedData, WebView2, MSTest, Npgsql, ML.NET with LightGBM/FastTree, ONNX Runtime, Tokenizers) and the ask-first rule for anything else. ADR 0005 records why the bot is called Anubis (he weighs and protects) and replaces the two-semicircle mark with the scale of the weighing of the heart: SVG, PNG, ICO and Unraid icon, applied to all nine screens. CLAUDE.md, SVILUPPO, STATE, README, ROADMAP and templates follow; the 84 Gitea issues were rewritten to match and verified against the source. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.9 KiB
2.9 KiB
Anubis
Bot di trading personale: azioni USA su Alpaca, crypto spot su OKX Europe, senza leva. C# su .NET 10: ASP.NET Core, interfaccia Blazor, PostgreSQL o SQLite (ADR 0003). Gira in Docker (Unraid) e come applicazione desktop Windows.
A inizio sessione
- Leggi
docs/STATE.md(fase corrente, prossimo passo, blocchi). - Leggi in
docs/SPEC.mdsolo le sezioni che la tabella di SPEC 17 indica per la fase, più 2, 16 e 19, e l'ADR 0003 (che sostituisce la sezione 3 e l'appendice D). - Apri le issue della milestone della fase su Gitea (owner
BalboSoft, repoAnubis, strumentimcp__gitea__*). - Segui
docs/SVILUPPO.md: branchfase-N, commit conrefs #N, chiusura con prove, tagfase-N.
Comandi
Nessuno ancora: nascono nella Fase 0 (issue #3). Previsti, tutti da tools/Anubis.Tasks tramite ./tasks.ps1 (Windows) o ./tasks.sh (Linux): tasks check (analizzatori, test, controllo dei pacchetti), tasks dev, tasks test, tasks build (immagine Docker), tasks ci, tasks seed-demo, tasks desktop-win. Niente make. Aggiorna questa sezione appena esistono.
Regole che, se dimenticate, fanno sbagliare
- Mai ordini su conti reali, mai chiavi con prelievo, mai
ANUBIS_ALLOW_LIVE=1oallow_live = true(SPEC 2.2). - Nessun pacchetto NuGet, npm o strumento esterno fuori dall'elenco dell'ADR 0004. Se serve qualcosa di nuovo: fermati e chiedi all'utente cosa aggiungi e perché, prima di aggiungerlo. È l'unica eccezione alla regola sotto.
- Per tutto il resto non chiedere conferme: decidi la via più prudente, scrivi un ADR, prosegui. Fermati solo per ciò che solo l'utente può dare (SPEC 2.1).
docs/SPEC.mdnon si modifica: i cambi di decisione vanno indocs/adr/.- Denaro sempre
decimal; tempo sempre dall'orologio iniettabile; UTC nel database. - Stesso schema e stessi test su PostgreSQL e SQLite.
- Nomi: progetti e namespace
Anubis.*, variabiliANUBIS_*, prefisso ordiniANU(ADR 0001). - Logo: solo i file di
docs/design/logo/(ADR 0005). - Codice e commit in inglese; tutto ciò che l'utente legge in italiano semplice.
- Una fase per sessione; a fine fase aggiorna
docs/ROADMAP.mdedocs/STATE.md, chiudi le issue con la prova, commit. - Il push su Gitea solo quando l'utente lo chiede o lo ha già indicato.
Puntatori
docs/SPEC.md— specifica completadocs/adr/0003-csharp-dotnet.md— stack, struttura del repository, strumentidocs/adr/0004-componenti-esterni.md— pacchetti ammessi e come chiederne altridocs/design/— screen di riferimento (SPEC 13.1);docs/design/logo/— logodocs/ROADMAP.md— fasi, issue, criteri di accettazionedocs/STATE.md— stato correntedocs/SVILUPPO.md— flusso di lavoro e regoledeploy/unraid/anubis.xml— template Unraid- Gitea: https://gitea.encke-hake.ts.net/BalboSoft/Anubis (in rete locale http://192.168.30.23:3000)
- Immagine Docker:
gitea.encke-hake.ts.net/balbosoft/anubis