Browse Source
Merge branch 'main' into bugfix/fix-activities-import-with-account-balances
pull/4446/head
Thomas Kaul
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
6 additions and
0 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/data-enhancer/yahoo-finance/yahoo-finance.service.ts
|
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
## Unreleased |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the symbol validation in the _Yahoo Finance_ service (get asset profiles) |
|
|
|
|
|
|
|
### Fixed |
|
|
|
|
|
|
|
- Fixed an issue in the activities import functionality related to the account balances |
|
|
|
|
|
@ -170,6 +170,8 @@ export class YahooFinanceDataEnhancerService implements DataEnhancerInterface { |
|
|
|
symbol = quotes[0].symbol; |
|
|
|
} |
|
|
|
} catch {} |
|
|
|
} else if (symbol?.includes('-')) { |
|
|
|
throw new Error(`${symbol} is not valid`); |
|
|
|
} else { |
|
|
|
symbol = this.convertToYahooFinanceSymbol(symbol); |
|
|
|
} |
|
|
|