Change allocations in the firm's risk-by-asset-class matrix
PUT/v1/firm/risk/asset-class
Sets the allocation percent of each pair of risk profile (firmRiskId) and asset class that allocations lists, and adds the pair where the risk profile does not have the asset class yet. Allocations that the body does not list keep their values. When the body sends displayOrders, sets the display order of each asset class listed there. When the firm has no security-category allocations yet, each default security category is also allocated 100 percent to the firm's first asset class. Returns the asset-class allocations of the firm's risk profiles, one item for each risk profile and asset class, paginated by limit and offset.
Request
Responses
- 200
- 400
- 401
- 403
- 429
One page of the asset-class allocations of the firm's risk profiles, after the change.
The request is malformed, for one of these reasons:
- The request body does not follow the request body schema.
limitoroffsetis not a whole number, orlimitis less than 1.
The request carries no bearer token, or the API does not accept the token, for example because it has expired.
The API accepts the token, but not for this operation: the role of the person the token belongs to does not permit the operation, or the token does not carry the scope that the operation requires.
The request is over a rate limit. On the limit for each client IP address, the Retry-After header gives the number of seconds to wait before the next request to this operation. On the limit for each person, the Retry-After-per-person header gives the number of seconds to wait before the next request of that person.