Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Task/ignore forex in search results of FMP service (#5951)
Thomas Kaul6edc919f0da7
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a31ab334b4..51f060daa4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -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 panel’s 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`diff --git a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.tsindex 90035b1a86..6fe928d7ab 100644--- a/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts+++ b/apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts@@ -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;}