diff --git a/modules/boersenchecker/partials/dashboard.php b/modules/boersenchecker/partials/dashboard.php index ef2d82d..8c401c1 100644 --- a/modules/boersenchecker/partials/dashboard.php +++ b/modules/boersenchecker/partials/dashboard.php @@ -13,453 +13,502 @@ -
Depots anderer Benutzer sind nur fuer `appadmin` sichtbar und bearbeitbar.
+- Die Umrechnung liest gespeicherte FX-Daten aus dem Mining-Checker. Eine Aktualisierung wird nur manuell - angestossen und respektiert die dortige Max-Age-Logik. -
-- Aktienkurse werden ueber Alpha Vantage anhand des hinterlegten API-Symbols / Tickers pro Aktie abgerufen. -
-- Suche nach Firma oder Ticker ueber den Alpha-Vantage-`SYMBOL_SEARCH`-Endpoint und uebernimm einen Treffer direkt ins Positionsformular. -
- - - -| Symbol | -Name | -Typ | -Region | -Waehrung | -Match | -Aktion | -
|---|---|---|---|---|---|---|
| = e((string) ($result['symbol'] ?? '')) ?> | -= e((string) ($result['name'] ?? '')) ?> | -= e((string) ($result['type'] ?? '')) ?> | -= e((string) ($result['region'] ?? '')) ?> | -= e((string) ($result['currency'] ?? '')) ?> | -= e((string) ($result['match_score'] ?? '')) ?> | -- - In Formular uebernehmen - - | -
Stammdaten und Berichtswahrung fuer ein Depot pflegen.
| Depot | -Aktie | -ISIN / WKN | -Stueck | -Kauf | -Letzter Kurs | -Wert | -Delta | -Aktion | -||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| = e((string) ($portfolioById[(int) $position['portfolio_id']]['name'] ?? '')) ?> | -
- = e((string) $position['instrument_name']) ?>
-
- = e((string) $position['symbol']) ?>
-
- |
-
- = e((string) ($position['isin'] ?: '-')) ?>
- = e((string) ($position['wkn'] ?: '-')) ?>
- |
- = e($fmtNumber((float) $position['quantity'], 6)) ?> | -
- = e($fmtNumber((float) $position['purchase_price'], 4)) ?> = e((string) $position['purchase_currency']) ?>
- = e((string) $position['purchase_date']) ?>
- |
-
-
- = e($fmtNumber((float) $position['latest_price'], 4)) ?> = e((string) $position['latest_currency']) ?>
- = e((string) $position['latest_quoted_at']) ?>
-
- kein Kurs
-
- |
- - - = e($fmtNumber((float) $position['current_total_base'])) ?> = e((string) $position['base_currency']) ?> - - n/a - - | -- - = e($fmtNumber((float) $position['gain_base'])) ?> = e((string) $position['base_currency']) ?> - - n/a - - | -
-
- Bearbeiten
- Kurs erfassen
-
+
+
+
+ API-Symbol suchen+Alpha-Vantage-Symbole suchen und direkt ins Positionsformular uebernehmen. +
+
+
+
+
+
+
+ Noch keine Symbolsuche ausgefuehrt.
+
+
+
+
+
+ Manuellen Kurs erfassen+Kurse mit Uhrzeit und Quelle direkt in die Historie schreiben. +Sobald Positionen vorhanden sind, koennen hier Kurse mit Uhrzeit gespeichert werden.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Depots+Uebersicht aller Depots mit Kennzahlen und Schnellaktionen. +Noch keine Depots vorhanden.
+
+
+
+ 0, 'invested' => 0.0, 'current' => 0.0, 'gain' => null, 'has_invested' => false, 'has_current' => false];
+ ?>
+
+
+ = e((string) $portfolio['name']) ?>
+
+
- = e((string) $portfolio['base_currency']) ?> · = e((string) $stats['positions']) ?> Position(en)
+ |
-
| Zeitpunkt | -Kurs | -Quelle | -Aktion | -
|---|---|---|---|
| = e((string) $quote['quoted_at']) ?> | -= e($fmtNumber((float) $quote['price'], 4)) ?> = e((string) $quote['currency']) ?> | -= e((string) $quote['source']) ?> | -
- |
-
Alle Positionen mit Kaufdaten, letztem Kurs und aktuellen Werten.
+| Depot | +Aktie | +ISIN / WKN | +Stueck | +Kauf | +Letzter Kurs | +Wert | +Delta | +Aktion | +
|---|---|---|---|---|---|---|---|---|
| = e((string) ($portfolioById[(int) $position['portfolio_id']]['name'] ?? '')) ?> | +
+ = e((string) $position['instrument_name']) ?>
+
+ = e((string) $position['symbol']) ?>
+
+ |
+
+ = e((string) ($position['isin'] ?: '-')) ?>
+ = e((string) ($position['wkn'] ?: '-')) ?>
+ |
+ = e($fmtNumber((float) $position['quantity'], 6)) ?> | +
+ = e($fmtNumber((float) $position['purchase_price'], 4)) ?> = e((string) $position['purchase_currency']) ?>
+ = e((string) $position['purchase_date']) ?>
+ |
+
+
+ = e($fmtNumber((float) $position['latest_price'], 4)) ?> = e((string) $position['latest_currency']) ?>
+ = e((string) $position['latest_quoted_at']) ?>
+
+ kein Kurs
+
+ |
+ + + = e($fmtNumber((float) $position['current_total_base'])) ?> = e((string) $position['base_currency']) ?> + + n/a + + | ++ + = e($fmtNumber((float) $position['gain_base'])) ?> = e((string) $position['base_currency']) ?> + + n/a + + | ++ + | +
Historische Kurse pro Aktie mit Zeitstempel und Quelle.
+| Zeitpunkt | +Kurs | +Quelle | +Aktion | +
|---|---|---|---|
| = e((string) $quote['quoted_at']) ?> | += e($fmtNumber((float) $quote['price'], 4)) ?> = e((string) $quote['currency']) ?> | += e((string) $quote['source']) ?> | +
+ |
+
Systemweit vorhandene Aktie aus allen Depots auswaehlen.
+Alpha-Vantage-Symbole finden und direkt fuer die Aktie uebernehmen.
+| Symbol | +Name | +Region | +Waehrung | +Aktion | +
|---|---|---|---|---|
| = e((string) ($result['symbol'] ?? '')) ?> | += e((string) ($result['name'] ?? '')) ?> | += e((string) ($result['region'] ?? '')) ?> | += e((string) ($result['currency'] ?? '')) ?> | ++ + Uebernehmen + + | +
Stammdaten, Markt und Kurswaehrung zentral fuer die Aktie pflegen.
+Einzelne Kurse mit Zeitstempel und Quelle fuer die ausgewaehlte Aktie speichern.
+Gespeicherte Kursdaten der ausgewaehlten Aktie mit Quelle und Loeschoption.
+| Zeitpunkt | +Kurs | +Quelle | +Aktion | +|
|---|---|---|---|---|
| = e((string) ($result['symbol'] ?? '')) ?> | -= e((string) ($result['name'] ?? '')) ?> | -= e((string) ($result['region'] ?? '')) ?> | -= e((string) ($result['currency'] ?? '')) ?> | -- - Uebernehmen - + + |
| = e((string) $quote['quoted_at']) ?> | += e(number_format((float) $quote['price'], 4, ',', '.')) ?> = e((string) $quote['currency']) ?> | += e((string) $quote['source']) ?> | +
+ |
| = e((string) $quote['quoted_at']) ?> | -= e(number_format((float) $quote['price'], 4, ',', '.')) ?> = e((string) $quote['currency']) ?> | -= e((string) $quote['source']) ?> | -
- |
-