diff --git a/apps/api/src/app/portfolio/portfolio.service.ts b/apps/api/src/app/portfolio/portfolio.service.ts index 9de48ead4..5bb2a7114 100644 --- a/apps/api/src/app/portfolio/portfolio.service.ts +++ b/apps/api/src/app/portfolio/portfolio.service.ts @@ -258,7 +258,9 @@ export class PortfolioService { ): Promise { const userId = await this.getUserId(aImpersonationId); - const orders = await this.getOrders(userId); + const orders = (await this.getOrders(userId)).filter( + (order) => order.symbol === aSymbol + ); if (orders.length <= 0) { return {