Alby96andClaude Opus 5.5 f9d71559e8
ci / test (postgres) (push) Successful in 2m22s
ci / test (sqlite) (push) Failing after 2m27s
ci / image (push) Skipped
feat(server): web server, interface shell, demo mode and Docker image (refs #11 #12 #13 #14 #15 #16 #17)
Phase 1 completed on top of the library foundations:
- Server: startup state machine (config, first run, database down, schema,
  identity, ready) with an error page that retries by itself; the configured
  database is the only one ever opened, and a vanished SQLite file is never
  recreated. REST API and status WebSocket; session cookie auth, CSRF on
  every form and write call; desktop and demo answer only the computer itself.
- Interface: static Blazor rendering with plain forms (no interactive
  runtime), menu, top bar and phone bottom bar as in the mockups, light and
  dark themes with appendix C tokens and a contrast test, Panoramica, Diario,
  Rischio, Impostazioni; service pages for sign-in, first access, desktop
  first run and the database error page with its choices.
- Demo mode (tasks seed-demo): appendix F in a database of its own under the
  temp folder, frozen clock, never touches the configured installation.
- Docker: entrypoint gives /data to PUID:PGID and drops root with setpriv,
  HEALTHCHECK through bash /dev/tcp; proven with SQLite, PostgreSQL, a wrong
  configuration and a database that goes away and comes back.
- tasks screenshots drives the installed Edge/Chrome through DevTools for
  exact 1440 and 390 pixel shots; anubis db export|import on the command line.

Fixes from the independent review: return paths without control characters,
Host check against DNS rebinding, attempt limit counted before the check and
also on the error-page password, one-use TOTP codes and a code to switch the
second factor off, error-page choices serialized with the startup loop,
identity checked before migrating, restore restarts with "Ferma tutto" on,
damaged archives reported instead of crashing. Running the server tests on
PostgreSQL exposed pages rendered before their data arrived; data-loading
components now load first (LoadedComponent).

Decisions in ADR 0007. Tests: 100 on SQLite and on PostgreSQL.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 12:40:15 +01:00

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 due modi, dallo stesso codice:

  • Docker, un solo container pensato per un server Unraid sempre acceso. Immagine: gitea.encke-hake.ts.net/balbosoft/anubis (sezione Packages del repository).
  • Applicazione desktop per Windows, con installatore (sezione Release).

Database a scelta: PostgreSQL oppure SQLite. Scritto in C# su .NET 10, con interfaccia Blazor: nessun runtime da installare, né su Windows né su Unraid (ADR 0003).

Logo di Anubis

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: progettazione completata, sviluppo non ancora iniziato. Il piano è nelle milestone del repository.

Panoramica

Documentazione

Documento Contenuto
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)
docs/design/ Schermate di riferimento e logo
deploy/unraid/anubis.xml Template Docker per Unraid (bozza)

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.

S
Description
Bot di trading avanzato
Readme
15 MiB
0 Stars 1 Watchers 0 Forks
Languages
C# 90%
HTML 7.9%
CSS 1.7%
JavaScript 0.2%