Upvest Investment API.
- Update portfolios allocation
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
- Sandbox environment
https://sandbox.upvest.co/portfolios/allocations/{allocation_id}
- Live environment
https://api.upvest.co/portfolios/allocations/{allocation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/portfolios/allocations/{allocation_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062'
Portfolios allocation
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
{ "id": "bf5f2676-4535-403d-bc66-06ec38cc70af", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "name": "Allocation 1", "allocation": [ { … }, { … } ] }
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
- Sandbox environment
https://sandbox.upvest.co/portfolios/allocations/{allocation_id}
- Live environment
https://api.upvest.co/portfolios/allocations/{allocation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://sandbox.upvest.co/portfolios/allocations/{allocation_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062' \
-d '{
"allocation": [
{
"instrument_id": "IE00B0M62Q58",
"instrument_id_type": "ISIN",
"weight": "0.6"
},
{
"instrument_id": "US0378331005",
"instrument_id_type": "ISIN",
"weight": "0.4"
}
]
}'
Portfolios allocation
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
List of portfolios allocations
International securities identification number defined by ISO 6166.
The type of the ID used in the request.
- ISIN - International Securities Identification Number
- UPVEST - UPVEST's unique instrument identifier
{ "id": "436244bb-4afd-4002-b53b-b1d7a3bca032", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-22T15:10:00.00Z", "name": "Allocation 1", "allocation": [ { … }, { … } ] }
Sort order of the result list if the sort
parameter is specified. By default, only ASC for ascending sort.
Use the offset
argument to specify where in the list of results to start when returning items for a particular query.
Use the limit
argument to specify the maximum number of items returned.
Returns portfolio configurations with dates starting from and including this date (UTC)
Returns portfolio configurations with dates up until this date (UTC)
Filters portfolio configurations by account ID
Bearer (access) token from the OAuth flow with correct scopes. https://datatracker.ietf.org/doc/html/rfc6750
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-http-header
https://tools.ietf.org/id/draft-ietf-httpbis-message-signatures-01.html#name-the-signature-input-http-he
- Sandbox environment
https://sandbox.upvest.co/portfolios/configurations
- Live environment
https://api.upvest.co/portfolios/configurations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/portfolios/configurations?sort=account_id&order=ASC&offset=0&limit=100&start_date=2022-10-14T10%3A10%3A10Z&end_date=2022-10-14T10%3A10%3A10Z&account_id=3ada8e9e-82c4-4c78-a43d-a691b1636509&allocation_id=f6c2b02a-3214-4a40-82ae-6c76df50bc8c' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'authorization: Bearer c2VjcmV0Cg==' \
-H 'signature: string' \
-H 'signature-input: string' \
-H 'upvest-api-version: 1' \
-H 'upvest-client-id: ebabcf4d-61c3-4942-875c-e265a7c2d062'
Portfolios configurations
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
{ "meta": { "offset": 0, "limit": 100, "count": 1, "total_count": 1, "sort": "account_id", "order": "ASC" }, "data": [ { … }, { … } ] }