Browse Source
Feature/beautify ampersand in asset profile names (#2138)
* Beautify ampersand
* Update changelog
pull/2142/head
Thomas Kaul
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
8 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts
|
|
@ -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 names with ampersand (`&`) in the asset profile |
|
|
|
|
|
|
|
## 1.287.0 - 2023-07-09 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
@ -135,6 +135,8 @@ export class YahooFinanceDataEnhancerService implements DataEnhancerInterface { |
|
|
|
let name = longName; |
|
|
|
|
|
|
|
if (name) { |
|
|
|
name = name.replace('&', '&'); |
|
|
|
|
|
|
|
name = name.replace('Amundi Index Solutions - ', ''); |
|
|
|
name = name.replace('iShares ETF (CH) - ', ''); |
|
|
|
name = name.replace('iShares III Public Limited Company - ', ''); |
|
|
|