diff --git a/frontend/src/app/Helpers/helper.service.ts b/frontend/src/app/Helpers/helper.service.ts index 24d485e..60a57c6 100644 --- a/frontend/src/app/Helpers/helper.service.ts +++ b/frontend/src/app/Helpers/helper.service.ts @@ -28,7 +28,8 @@ export class HelperService { return shares; } - formatKeywordsData(keywords: Keyword[]) { + formatKeywordsData(): Keyword[] { + var keywords: Keyword[] = []; this.botService.getKeywords().subscribe((result) => { var data = JSON.parse(result); for (let i = 0; i < data.data.length; i++) { diff --git a/frontend/src/app/Views/bot-settings/bot-settings.component.html b/frontend/src/app/Views/bot-settings/bot-settings.component.html index cee4a8a..8318bb9 100644 --- a/frontend/src/app/Views/bot-settings/bot-settings.component.html +++ b/frontend/src/app/Views/bot-settings/bot-settings.component.html @@ -44,7 +44,7 @@ { diff --git a/frontend/src/app/Views/dashboard/dashboard.component.html b/frontend/src/app/Views/dashboard/dashboard.component.html index b52475f..509ebbe 100644 --- a/frontend/src/app/Views/dashboard/dashboard.component.html +++ b/frontend/src/app/Views/dashboard/dashboard.component.html @@ -3,7 +3,7 @@
-
Aktienübersicht
+
Stocks
@@ -51,16 +51,55 @@
-
Depotübersicht
+
Depot
- + +
+
+
+
+

Portfolio Value

+
+
+
+
+

Portfolio Cost

+
+
+
+
+

Portfolio Profit

+
+
+
+
+
+
+ savings{{ depotCurrentValue.toFixed(2) }} +
+
+ paid{{ depotCost.toFixed(2) }} +
+
+ account_balance{{ profit.toFixed(2) }} +
+
+
+
-
Transaktionen
+
Transactions