Skip to content

Implement GET Portfolio Summary for Investor (Total Invested, Total Received, by Offering) #66

@thlpkee20-wq

Description

@thlpkee20-wq

Description
Implement GET /api/portfolio/summary (or GET /api/investments/summary) that returns for the authenticated investor: total invested, total received (payouts), breakdown by offering. Use existing investment and distribution repositories.

Requirements and context

  • Implement only in new files or by extending investments route. Do not modify package.json, src/index.ts. Require JWT (investor).

Suggested execution

  • Branch: git checkout -b feature/portfolio-summary-api
  • Add handler and service; add tests. Example commit message: feat(api): add portfolio summary for investor

Guidelines

  • Additive route only. Timeframe: 96 hours.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions