Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript π€
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/add hint for twr to portfolio summary (#2824)
Thomas Kaul6a048cee851b
diff --git a/.prettierignore b/.prettierignoreindex 47a053eee3..d086b6ff44 100644--- a/.prettierignore+++ b/.prettierignore@@ -1,3 +1,7 @@/.nx/cache++# Issue: https://github.com/prettier/prettier/issues/15650+/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html+/dist/test/importdiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 10761c797b..0ccfda047c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added+- Added a hint for _Time-Weighted Rate of Return_ (TWR) to the portfolio summary tab on the home page- Added support for REST APIs (`JSON`) via the scraper configuration- Enabled the _Redis_ authentication in the `docker-compose` filesdiff --git a/README.md b/README.mdindex dc5f2d25fa..0ea5eef22c 100644--- a/README.md+++ b/README.md@@ -49,7 +49,7 @@ Ghostfolio is for you if you are...- β Create, update and delete transactions- β Multi account management-- β Portfolio performance for `Today`, `YTD`, `1Y`, `5Y`, `Max`+- β Portfolio performance: Time-weighted rate of return (TWR) for `Today`, `YTD`, `1Y`, `5Y`, `Max`- β Various charts- β Static analysis to identify potential risks in your portfolio- β Import and export transactionsdiff --git a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.htmlindex aaf9bfb734..d8207cf73a 100644--- a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html+++ b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html@@ -69,7 +69,10 @@</div></div><div class="flex-nowrap px-3 py-1 row">- <div class="flex-grow-1 ml-3 text-truncate" i18n>Gross Performance</div>+ <div class="align-items-center d-flex flex-grow-1 ml-3 text-truncate">+ <ng-container i18n>Gross Performance</ng-container>+ <abbr class="initialism ml-2 text-muted" title="Time-Weighted Rate of Return">(TWR)</abbr>+ </div><div class="flex-column flex-wrap justify-content-end"><gf-valueclass="justify-content-end"@@ -112,7 +115,10 @@</div></div><div class="flex-nowrap px-3 py-1 row">- <div class="flex-grow-1 text-truncate ml-3" i18n>Net Performance</div>+ <div class="flex-grow-1 text-truncate ml-3">+ <ng-container i18n>Net Performance</ng-container>+ <abbr class="initialism ml-2 text-muted" title="Time-Weighted Rate of Return">(TWR)</abbr>+ </div><div class="flex-column flex-wrap justify-content-end"><gf-valueclass="justify-content-end"