Get Category Analytics

One fund against its AMFI category cohort — percentile band and ranks.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Request body for POST /api/portfolio/category-analytics.

  • Mode Aas_of + horizon.
  • Mode Bstart_date + end_date.

string
required

unique_id of the fund being compared to its category.

metrics
array of strings
Defaults to annualised_return,volatility,sharpe,sortino,max_drawdown,beta,treynor,up_capture,down_capture

Scalar metrics to rank the fund on. Defaults to all.

Metrics
trailing_horizons
array of strings

Trailing horizons to rank the cohort over, anchored on the window end. Opt-in: empty (the default) skips the work and the extra NAV history it needs.

Trailing Horizons
discrete_frequencies
array of strings

Calendar cadences to rank the cohort over, one stat per bucket. Opt-in, and a list so a caller offering the cadence as a UI toggle can switch without a second request.

Discrete Frequencies
Allowed:
boolean
Defaults to false

Add aum_series — daily AUM for each reference fund plus the category total. Opt-in: it is a second timeseries fetch over the whole cohort, which a caller not drawing that chart should not pay.

string

unique_id of the instrument beta / treynor / up_capture / down_capture are measured against, for every cohort member. There is no default: without it those four metrics are null rather than silently measured against an index the caller never chose.

date

Mode A: window end

string
enum

Mode A: window size back from as_of

date

Mode B: window start

date

Mode B: window end

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json