Upvest Investment API.
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/accounts/{account_id}/liquidations/{account_liquidation_id}
- Live environment
https://api.upvest.co/accounts/{account_id}/liquidations/{account_liquidation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://sandbox.upvest.co/accounts/{account_id}/liquidations/{account_liquidation_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 liquidation object
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
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - British Pound
Execution status of the Account liquidation.
- NEW -
- PROCESSING -
- FILLED -
- CANCELLED -
- SETTLED -
Position liquidation orders associated with this account liquidation
{ "id": "f386fdc4-dcd8-4dce-8acb-dae332f51483", "created_at": "2021-07-21T14:10:00.00Z", "updated_at": "2021-07-21T14:10:00.00Z", "user_id": "4b9732bd-7496-4e91-8a5f-6360479d7fed", "account_id": "f2f7d2c7-d79b-4de2-ae9b-d01646259f9e", "cash_amount": "100.00", "currency": "EUR", "status": "PROCESSING", "orders": [ { … }, { … } ] }
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}/liquidations/{account_liquidation_id}
- Live environment
https://api.upvest.co/accounts/{account_id}/liquidations/{account_liquidation_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://sandbox.upvest.co/accounts/{account_id}/liquidations/{account_liquidation_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'
No content
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
Event type
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
Alphabetic three-letter ISO 4217 currency code.
- EUR - Euro
- GBP - British Pound
Execution status of the Account liquidation.
- NEW -
- PROCESSING -
- FILLED -
- CANCELLED -
- SETTLED -
Position liquidation orders associated with this account liquidation
- Sandbox environment
https://sandbox.upvest.co/Account liquidation events
- Live environment
https://api.upvest.co/Account liquidation events
{ "id": "56510309-d9de-4730-9b5b-4a0ed047f3a9", "created_at": "2021-07-21T14:10:00.00Z", "type": "ACCOUNT_LIQUIDATION.NEW", "object": { "id": "b2f541dc-a27b-4d5a-b970-41812b0892b9", "created_at": "2021-07-21T14:10:00.000Z", "updated_at": "2021-07-21T14:10:00.000Z", "account_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3", "user_id": "81dfb00e-9be6-4617-8994-dfd0407f34df", "cash_amount": "1000", "currency": "EUR", "status": "NEW", "orders": [] }, "webhook_id": "b838bde5-b6df-4f1f-bfc4-71d3fb01d430" }