Portfolio PnL summary over fixed windows
GET/portfolio/summary
PnL roll-ups over fixed windows rather than a date series — the object is
keyed by summary_for_yesterday, summary_for_1_week,
summary_for_30_days, summary_for_one_year and summary_for_all_time,
each holding one entry per reference currency with currency, dailyPnl,
cumulativePnl, percentageDailyPnl and percentageCumulativePnl.
Takes no query params — the windows are fixed. Gated by
treasury.balances.read, and subject to the same
PORTFOLIO_TRACKER_ACTIVE feature gate.
Request
Responses
- 200
- 401
- 403
- 404
Object keyed by window name, as described above; every figure is a
pre-formatted decimal string. Untyped because the body is forwarded
verbatim from the portfolio-tracker service when
PORTFOLIO_TRACKER_PROXY_ENABLED is on; shape owned by that service.
Missing/invalid JWT or entity selection (RBAC_ENTITY_SELECTION_REQUIRED)
Caller lacks the treasury.balances.read permission (RBAC_PERMISSION_DENIED)
Portfolio tracker is not enabled for this environment