Browse Source
Feature/improve support for mutual funds in FMP service (#5651)
* Improve support for mutual funds in getAssetProfile()
* Update changelog
pull/5627/head^2
Thomas Kaul
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts
|
|
@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Improved the support for mutual funds in the _Financial Modeling Prep_ service (get asset profiles) |
|
|
|
- Improved the language localization for German (`de`) |
|
|
|
|
|
|
|
## 2.204.0 - 2025-09-30 |
|
|
|
|
|
@ -106,7 +106,10 @@ export class FinancialModelingPrepService implements DataProviderInterface { |
|
|
|
response.assetClass = assetClass; |
|
|
|
response.assetSubClass = assetSubClass; |
|
|
|
|
|
|
|
if (assetSubClass === AssetSubClass.ETF) { |
|
|
|
if ( |
|
|
|
assetSubClass === AssetSubClass.ETF || |
|
|
|
assetSubClass === AssetSubClass.MUTUALFUND |
|
|
|
) { |
|
|
|
const etfCountryWeightings = await fetch( |
|
|
|
`${this.getUrl({ version: 'stable' })}/etf/country-weightings?symbol=${symbol}&apikey=${this.apiKey}`, |
|
|
|
{ |
|
|
|