Upvest Investment API.
Upvest Investment API (1.75.0)
https://sandbox.upvest.co/
https://api.upvest.co/
International securities identification number defined by ISO 6166, prefixed with a 'isin:' URN scheme.
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/accounts/{account_id}/positions/{instrument_id}
- Live environment
https://api.upvest.co/accounts/{account_id}/positions/{instrument_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/accounts/{account_id}/positions/{instrument_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'
{ "account_id": "c5161455-4d27-4781-bc74-f05532e49a77", "instrument": { "isin": "US0378331005", "uuid": "ccb86937-8a39-4160-8d33-85bf9e902321" }, "quantity": "10.4", "locked_for_trading": "5", "pending_settlement": "0", "available_for_trading": "5.4" }
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
International securities identification number defined by ISO 6166.
- Sandbox environment
https://sandbox.upvest.co/Positions events
- Live environment
https://api.upvest.co/Positions events
{ "id": "8962b496-8d42-4560-bfab-10490dd1a724", "created_at": "2021-07-21T14:10:00.00Z", "type": "POSITION.UPDATED", "object": { "account_id": "c5161455-4d27-4781-bc74-f05532e49a77", "instrument": { … }, "quantity": "10.4", "locked_for_trading": "5", "pending_settlement": "0", "available_for_trading": "5.4" }, "webhook_id": "9df39835-be87-4243-9018-f2500b39cee6" }