Portfolio Allocation
Returns consolidated portfolio allocation by Financial Instrument, Asset Class, Sector, Region, or Country for a given set of accounts. Result is aggregated for the included accounts. Current day data is supported only if all included accounts have the same base currency as specified in the currency parameter.
Request
This endpoint expects an object.
acctIds
type
The allocation category type. One of FINANCIAL_INSTRUMENT, ASSET_CLASS, SECTOR, REGION, COUNTRY, or ALL. Case insensitive. When ALL is specified, the response includes allocations for every category type.
currency
Three character currency code. The base currency to use for the NAV calculation in the response.
date
Optional. Formatted as yyyymmdd. If specified, should be prior to the current day. If not specified, request will be for the current day. If the request is for current day and current day data is not available, then the response will be for the previous business day.
model
Optional. Model portfolio name to use for the allocation calculation.
Response
Returns the allocation breakdown for the specified accounts.
id
Response identifier.
currency
Three character currency code. Currency of NAV values, as specified in the request.
realtime
true indicates the response is for current day data.
date
The as-of date for the NAV and allocations. Formatted as yyyymmdd.
allocations
Object keyed by allocation type (FINANCIAL_INSTRUMENT, ASSET_CLASS, SECTOR, REGION, or COUNTRY). When type=ALL is requested, multiple keys may be present.
excluded
Requested accounts that were not included in the result due to an error.
warning
Warning message, if any.
Errors
400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error

