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>
42 lines
2.9 KiB
Markdown
42 lines
2.9 KiB
Markdown
# 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
|
|
|
|
1. Leggi `docs/STATE.md` (fase corrente, prossimo passo, blocchi).
|
|
2. Leggi in `docs/SPEC.md` solo 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).
|
|
3. Apri le issue della milestone della fase su Gitea (owner `BalboSoft`, repo `Anubis`, strumenti `mcp__gitea__*`).
|
|
4. Segui `docs/SVILUPPO.md`: branch `fase-N`, commit con `refs #N`, chiusura con prove, tag `fase-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=1` o `allow_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.md` non si modifica: i cambi di decisione vanno in `docs/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.*`, variabili `ANUBIS_*`, prefisso ordini `ANU` (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.md` e `docs/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 completa
|
|
- `docs/adr/0003-csharp-dotnet.md` — stack, struttura del repository, strumenti
|
|
- `docs/adr/0004-componenti-esterni.md` — pacchetti ammessi e come chiederne altri
|
|
- `docs/design/` — screen di riferimento (SPEC 13.1); `docs/design/logo/` — logo
|
|
- `docs/ROADMAP.md` — fasi, issue, criteri di accettazione
|
|
- `docs/STATE.md` — stato corrente
|
|
- `docs/SVILUPPO.md` — flusso di lavoro e regole
|
|
- `deploy/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`
|