API Endpunkt und Frontend Darstellung
ID: REQ-MI-004 · Service: market-interpretation · Status: 🟢 aktiv · Use Case: UC-MI-001, UC-MI-002, UC-MI-003, UC-MI-004, UC-MI-005, UC-MI-007
Bereitstellung eines API Endpunkts der alle Einzelinterpretationen und die Gesamtaussage liefert, sowie die Frontend-Darstellung dieser Informationen.
Tech Stack
| Feld |
Wert |
| Framework |
FastAPI |
| Language |
Python 3.11+ |
API
Endpoint: GET /api/v1/interpretation
Parameter
Eintrag 1
Eintrag 2
| Feld |
Wert |
| Timeframe |
string |
Eintrag 3
| Feld |
Wert |
| Active Indicators |
list (vom Frontend übergeben) |
Antwort
Eintrag 1
| Feld |
Wert |
| Per Indicator |
list von Indikator-Interpretationen |
Eintrag 2
| Feld |
Wert |
| Overall Score |
float |
Eintrag 3
| Feld |
Wert |
| Overall Category |
string |
Eintrag 4
| Feld |
Wert |
| Summary Text |
string |
Eintrag 5
UI
Position: Sidebar oder Panel neben/unter dem Chart
Components
Indicator List
- Icon/Farbe je Kategorie
- Indikatorname
- Kurztext
Overall Panel
- Score-Anzeige (z.B. Gauge/Tacho-Visualisierung von -100 bis +100)
- Kategorie-Label (farbig)
- Zusammenfassungstext
- Aufklappbare Breakdown-Tabelle
- Disclaimer
Color Coding
| Feld |
Wert |
| Stark Bullish |
dunkelgrün |
| Bullish |
grün |
| Neutral |
grau |
| Bearish |
rot |
| Stark Bearish |
dunkelrot |
Verhalten
- Aktualisierung erfolgt automatisch bei Indikator-Toggle (siehe REQ-TA-012)
- Aktualisierung erfolgt automatisch bei Wechsel von Währungspaar/Zeitrahmen
- Ladeindikator während Neuberechnung
Abnahmekriterien
- [ ] API liefert korrekte Struktur mit allen Einzelinterpretationen und Gesamtaussage
- [ ] Frontend zeigt alle aktiven Indikatoren mit Kategorie und Text
- [ ] Score wird visuell ansprechend dargestellt (z.B. Gauge)
- [ ] Panel aktualisiert sich automatisch bei relevanten Änderungen
- [ ] Farbcodierung ist konsistent über die gesamte Anwendung
Changelog
Eintrag 1
Version: 1.0
Changes: Initiale Version