Portfolios

Create portfolios allocation

Creates a named portfolio allocation specifying a set of instrument weights.

The allocation array must contain at least one instrument entry. Weights are expressed as percentages and must sum to 100.

See the Portfolios guide (TOL / BYOL) for implementation details.

post/portfolios/allocations

Request

  • Base URL: https://sandbox.upvest.co
  • URL: https://sandbox.upvest.co/portfolios/allocations
  • Auth: OAuth 2 (client credentials, token URL https://sandbox.upvest.co/auth/token, scopes: portfolios:admin)

Headers

idempotency-keystring uuid required
Example:ccb07f42-4104-44ad-8e1f-c660bb7b269c

A UUID to be used as an idempotency key. This prevents a duplicate request from being replayed. https://docs.upvest.co/documentation/concepts/api_concepts/idempotency

Request body

namestring

Allocation name

rebalancing_strategy_idsstring[]

List of rebalancing strategy ids

Response

Portfolios allocation

idstring uuid required

Universally Unique Identifier (UUID) of a portfolio allocation.

created_atstring date-time required

Date and time when the resource was created. RFC 3339-5, ISO8601 UTC

updated_atstring date-time required

Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC

namestring required

Allocation name

Changes

No recorded changes to this operation across all 25 revisions of this API.