feat(TA): update technical analysis service

This commit is contained in:
2026-08-09 21:01:42 +02:00
parent 05d55a324c
commit c74a4456af
18 changed files with 2288 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
# Finlytic Technical Analysis Service
Finlytic Technical Analysis is a C# microservice providing real-time technical indicator calculations, candle pattern recognition, and trend regime evaluations for traded assets.
---
## Core Features & Architecture
1. **Indicator Calculations**:
- Calculates Exponential Moving Averages (`EMA 20`), Simple Moving Averages (`SMA 50`, `SMA 200`), Relative Strength Index (`RSI 14`), Moving Average Convergence Divergence (`MACD`), and `Supertrend`.
2. **Chart Pattern Detection**:
- Detects technical chart patterns (`ChartPatternDto`) including Double Bottoms, Head & Shoulders, Bull Flags, and Trendline breakouts.
3. **Macro Market Regime Mapping**:
- Evaluates overall technical signals (`BUY`, `STRONG BUY`, `NEUTRAL`, `SELL`, `STRONG SELL`).
4. **MQTT RPC & Event Messaging**:
- Publishes technical analysis updates to `finlytic/technicalanalysis/{symbol}` and `finlytic/ta/{symbol}`.
- Answers RPC queries on `services/request/ta_GetAnalysis/#`.
---
## Feature Status
### Implemented Features
- [x] Technical Indicator Calculations (`IndicatorValuesDto`, `TechnicalAnalysisDto`).
- [x] Chart Pattern Detection Service (`IChartPatternDetector`).
- [x] Zero-Allocation MQTT serialization via `FinlyticJsonSerializerContext`.
- [x] Pure Worker Service architecture (no Kestrel HTTP webserver).
### Planned Features
- [ ] Auto-tuned indicator parameters based on asset volatility regime (Adaptive EMA/RSI).
- [ ] Multi-timeframe indicator alignment matrix (5m, 1h, 1D, 1W sync).