Persistenza dati e logging avanzato con UI e Unraid

- Aggiunto TradeHistoryService per persistenza trade/posizioni attive su disco (JSON, auto-save/restore)
- Logging centralizzato (LoggingService) con livelli, categorie, simbolo e buffer circolare (500 log)
- Nuova pagina Logs: monitoraggio real-time, filtri avanzati, cancellazione log, colorazione livelli
- Sezione "Dati Persistenti" in Settings: conteggio trade, dimensione dati, reset con conferma modale
- Background service per salvataggio sicuro su shutdown/stop container
- Aggiornata sidebar, stili modali/bottoni danger, .gitignore e documentazione (README, CHANGELOG, UNRAID_INSTALL, checklist)
- Versione 1.3.0
This commit is contained in:
2025-12-22 11:24:17 +01:00
parent d7ae3e5d44
commit 92c8e57a8c
15 changed files with 1697 additions and 36 deletions

View File

@@ -5,7 +5,7 @@
[![.NET 10](https://img.shields.io/badge/.NET-10.0-512BD4)](https://dotnet.microsoft.com/)
[![Blazor](https://img.shields.io/badge/Blazor-Server-512BD4)](https://blazor.net/)
[![Docker](https://img.shields.io/badge/Docker-Ready-2496ED)](https://www.docker.com/)
[![Version](https://img.shields.io/badge/version-1.1.0-blue)](https://gitea.encke-hake.ts.net/Alby96/Encelado/-/packages)
[![Version](https://img.shields.io/badge/version-1.3.0-blue)](https://gitea.encke-hake.ts.net/Alby96/Encelado/-/packages)
---
@@ -16,6 +16,8 @@
- **15 Criptovalute**: BTC, ETH, BNB, ADA, SOL, XRP, DOT, DOGE, AVAX, MATIC, LINK, LTC, UNI, ATOM, XLM
- **Analisi Tecnica**: SMA, EMA, RSI, MACD, Bollinger Bands
- **Portfolio Management**: Gestione automatizzata posizioni
- **Trade Persistence**: Salvataggio automatico trade e posizioni attive
- **Comprehensive Logs**: Sistema di logging real-time con filtri avanzati
- **Docker Ready**: Container ottimizzato con health checks
---
@@ -62,16 +64,18 @@ wget -O /boot/config/plugins/dockerMan/templates-user/TradingBot.xml \
## ?? Versioning
### Current Version: `1.1.0`
### Current Version: `1.3.0`
**Latest**: Comprehensive logs page con monitoring real-time
```powershell
# Bug fix (1.1.0 ? 1.1.1)
# Bug fix (1.3.0 ? 1.3.1)
.\bump-version.ps1 patch -Message "Fix memory leak"
# New feature (1.1.0 ? 1.2.0)
# New feature (1.3.0 ? 1.4.0)
.\bump-version.ps1 minor -Message "Add RSI strategy"
# Breaking change (1.1.0 ? 2.0.0)
# Breaking change (1.3.0 ? 2.0.0)
.\bump-version.ps1 major -Message "New API"
```
@@ -89,7 +93,7 @@ Vedi [CHANGELOG.md](CHANGELOG.md) per release notes complete.
Il sistema automaticamente:
- ? Build Docker image
- ? Tag: `latest`, `1.1.0`, `1.1.0-20241217`
- ? Tag: `latest`, `1.3.0`, `1.3.0-20241221`
- ? Push su Gitea Registry
### Deploy su Unraid