Browse Source
Feature/improve activities import by isin for yahoo finance (#4140)
* Allow activities import by isin even if multiple quotes found
* Update changelog
pull/4141/head^2
Thomas Kaul
4 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
7 additions and
1 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/), |
|
|
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). |
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
|
|
|
|
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
|
|
|
|
- Improved support to import activities by `isin` in the _Yahoo Finance_ service |
|
|
|
|
|
|
|
|
## 2.130.0 - 2024-12-21 |
|
|
## 2.130.0 - 2024-12-21 |
|
|
|
|
|
|
|
|
### Added |
|
|
### Added |
|
|
|
@ -166,7 +166,7 @@ export class YahooFinanceDataEnhancerService implements DataEnhancerInterface { |
|
|
try { |
|
|
try { |
|
|
const { quotes } = await yahooFinance.search(symbol); |
|
|
const { quotes } = await yahooFinance.search(symbol); |
|
|
|
|
|
|
|
|
if (quotes.length === 1) { |
|
|
if (quotes?.[0]?.symbol) { |
|
|
symbol = quotes[0].symbol; |
|
|
symbol = quotes[0].symbol; |
|
|
} |
|
|
} |
|
|
} catch {} |
|
|
} catch {} |
|
|