Calculate the risk allocation of a portfolio
POST/v1/models/risk-allocation
Calculates the percent of the portfolio in the request body that is in each of your firm's risk levels, and returns it in current. target is always {}. Nothing is saved. Security group and sleeve IDs that are not your firm's are ignored.
Request
Responses
- 201
- 400
- 401
- 403
- 429
The risk allocation of the portfolio.
The request body is invalid, for example sleeves is missing or a weight is not a number.
The access token is missing, invalid, or expired.
The access token does not have the write:model scope.
Too many requests. Wait the number of seconds in the Retry-After-per-person header (script-audience tokens) or the Retry-After header (other requests) before you retry. See Rate limit.