Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Feature/beautify etf names in asset profiles (#1709)
Thomas Kaulbff09f529dfa
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 159bbfa7db..4eceeb924c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Changed++- Beautified the ETF names in the asset profile+## 1.235.0 - 2023-02-16### Changed@@ -1338,7 +1344,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Changed-- Beautified the ETF names in the symbol profile+- Beautified the ETF names in the asset profile### Fixeddiff --git a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.tsindex bccc5c648d..20895340e2 100644--- a/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts+++ b/apps/api/src/services/data-provider/yahoo-finance/yahoo-finance.service.ts@@ -441,8 +441,10 @@ export class YahooFinanceService implements DataProviderInterface {let name = longName;if (name) {+ name = name.replace('Amundi Index Solutions - ', '');name = name.replace('iShares ETF (CH) - ', '');name = name.replace('iShares III Public Limited Company - ', '');+ name = name.replace('iShares V PLC - ', '');name = name.replace('iShares VI Public Limited Company - ', '');name = name.replace('iShares VII PLC - ', '');name = name.replace('Multi Units Luxembourg - ', '');