[Homepage] Add backend endpoint(s) for homepage aggregates #14

Open
opened 2026-02-26 21:43:32 +00:00 by fabioth · 3 comments
fabioth commented 2026-02-26 21:43:32 +00:00 (Migrated from gitlab.esvedra.one)

Goal: provide compact aggregate payloads for homepage widgets.

Context:

  • Current API supports /analytics/top-performers with filters.
  • Missing: single endpoint returning full homepage payload in one call.

Proposal:

  • GET /homepage/overview?period=1w&asset_type=stock
  • returns: top_movers, sector_leaders, country_leaders, optional watchlist_snapshot

Acceptance:

  • request/response contract documented
  • avoids N+1 homepage calls
  • auth + rate limiting applied
  • robust on partial/empty data
Goal: provide compact aggregate payloads for homepage widgets. Context: - Current API supports /analytics/top-performers with filters. - Missing: single endpoint returning full homepage payload in one call. Proposal: - GET /homepage/overview?period=1w&asset_type=stock - returns: top_movers, sector_leaders, country_leaders, optional watchlist_snapshot Acceptance: - request/response contract documented - avoids N+1 homepage calls - auth + rate limiting applied - robust on partial/empty data
fabioth commented 2026-02-26 21:56:16 +00:00 (Migrated from gitlab.esvedra.one)

changed the description

changed the description
fabioth commented 2026-02-27 20:11:19 +00:00 (Migrated from gitlab.esvedra.one)

Maybe look in to this if the performance is not that great, for now wontfix

Maybe look in to this if the performance is not that great, for now wontfix
fabioth commented 2026-03-05 07:36:22 +00:00 (Migrated from gitlab.esvedra.one)

added 1 design

added [1 design](/fabioth/evr/-/issues/14/designs?version=1)
fabioth self-assigned this 2026-05-02 11:52:35 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
fabioth/evr#14
No description provided.