Task/ignore forex in search results of FMP service (#5951)

* Ignore forex in search

* Update changelog
pull/5954/head
Thomas Kaul 6 months ago committed by GitHub
parent 9efd1da17e
commit 6edc919f0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactored the get holding functionality in the portfolio service
- Changed the user data loading in the user detail dialog of the admin control panels users section to fetch data on demand
- Exposed the authentication with access token as an environment variable (`ENABLE_FEATURE_AUTH_TOKEN`)
- Improved the search functionality of the _Financial Modeling Prep_ service
- Improved the language localization for German (`de`)
- Upgraded `prisma` from version `6.18.0` to `6.19.0`

@ -504,8 +504,11 @@ export class FinancialModelingPrepService implements DataProviderInterface {
).then((res) => res.json());
items = result
.filter(({ symbol }) => {
if (includeIndices === false && symbol.startsWith('^')) {
.filter(({ exchange, symbol }) => {
if (
exchange === 'FOREX' ||
(includeIndices === false && symbol.startsWith('^'))
) {
return false;
}

Loading…
Cancel
Save