Skip to main content

Risk-by-asset-class matrix

The firm's risk-by-asset-class matrix, a fixed object rather than a list. Change the asset-class allocations a request names, or remove one asset class from it.

📄️Change allocations in the firm's risk-by-asset-class matrix

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`.

📄️Remove one asset class from the firm's risk-by-asset-class matrix

Removes the asset class `assetClass` from each of the firm's risk profiles, and answers with the body `{ data: { deleted: true } }`. Each security category allocated to this asset class has that allocation divided in whole percents among the firm's other asset classes, and its allocation to this asset class is removed. When no risk profile of the firm has this asset class, the response has the status `200` and the body `{ data: { deleted: false } }`.