Asset Classes
Asset classes group your firm's investments, such as Equity and Fixed Income. Each asset class has a risk allocation: the percent of it that belongs to each risk level. The percents of an asset class should add up to 100.
In the console, the percents of each asset class add up to 100. Keep each total at or below 100. The API does not check that a total reaches 100.
Your firm defines its own asset classes. An asset class exists while at least one risk level has a percent of it. To create an asset class, change a risk allocation, or reorder asset classes, call Create or update asset classes. To delete an asset class, call Delete an asset class.
Each security category of your firm is allocated to these asset classes, as Security Categories describes.
List asset classes
Returns your firm's asset classes, its risk levels, and the percent of each asset class that belongs to each risk level. `allocations` is keyed by asset class name, then by risk level name. To update a percent, find the risk level's `firmRiskId` in `riskProfiles`, and send it to **Create or update asset classes**.
Create or update asset classes
Sets the percent of an asset class that belongs to a risk level, for each item in `allocations`. An asset class name that your firm does not have yet creates the asset class. Allocations you leave out keep their current values. If any `firmRiskId` in `allocations` is not a risk level of your firm, the response is status `404` and nothing changes, including for the other items in `allocations`. To change the order of asset classes, send `displayOrders`; to change only the order, send `allocations` as an empty array. If your firm has no security category allocations yet, AdviceCloud also creates them, with each default security category allocated 100 percent to your firm's first asset class. Returns a page of the risk allocations of all asset classes, not only the ones you changed.
Delete an asset class
Deletes the asset class with the given name and its risk allocation. In the allocation of each security category, the percent of the deleted asset class is rounded to a whole number and split evenly among your firm's other asset classes. Returns `200` with `deleted: true`, or `deleted: false` if no risk level of your firm has that asset class.