Portfolio Allocation (All)
Portfolio Allocation (All)
Similar to /portfolio/{accountId}/allocation but returns a consolidated view of of all the accounts returned by /portfolio/accounts. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.
POST /portfolio/allocation
Request Object
Body Params
acctIds: Array of Strings. Required
Contains all account IDs as strings the user should receive data for.
Python
Abap
assetClass: Object.
Contains details pertaining to specific security types.
{
long: Object.
Returns the value of the asset class currently traded long.
short: Object.
Returns the value of the asset class currently traded short.
},
sector: Object.
Contains details pertaining to specific trade sectors.
{
long: Object.
Returns the value of the trade sector currently traded long.
short: Object.
Returns the value of the trade sector currently traded short.
},
group: Object.
Contains details pertaining to specific industry groups.
{
long: Object.
Returns the value of the industry group currently traded long.
short: Object.
Returns the value of the industry group currently traded short.
}

