Skip to content

Create Portfolio Performance API Endpoints #33

@grantfox-oss

Description

@grantfox-oss

Description:
Implement REST endpoints for accessing portfolio performance metrics and analytics data.

Acceptance Criteria:

  • GET /api/portfolio/:id/performance - Overall metrics
  • GET /api/portfolio/:id/allocation - Asset allocation
  • GET /api/portfolio/:id/performance-history - Time series data
  • GET /api/portfolio/:id/comparison - Benchmark comparison
  • Support time range filtering (1M, 3M, 6M, 1Y, ALL)
  • Response includes timestamp and calculation date
  • Swagger documentation complete

Definition of Done:

  • All endpoints implemented and tested
  • Response time < 500ms
  • Swagger documentation complete
  • Data accuracy verified

Test Requirements:

  • E2E tests for all endpoints
  • Time range filtering tests
  • Performance test

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions