All portfolios rebalancing related paths.
/portfolios/rebalancings/executionsTrigger portfolio rebalancing
Must match one of
accountsarrayrequired
List of accounts
Account unique identifier.
{
"accounts": [
"43801b85-bbcf-41c7-8389-b018082a5ec5",
"20151679-c159-4f16-b8a2-267b3d968c6f"
]
}Portfolio
{
"id": "735381ce-8380-4b07-9e42-97e2b6d3643e"
}/portfolios/rebalancings/executions/{execution_id}Retrieve portfolios rebalancing execution
execution_idstringrequired
Portfolios
{
"id": "735381ce-8380-4b07-9e42-97e2b6d3643e",
"created_at": "2021-07-21T14:10:00.00Z",
"updated_at": "2021-07-21T14:10:00.00Z",
"accounts": [
"43801b85-bbcf-41c7-8389-b018082a5ec5",
"20151679-c159-4f16-b8a2-267b3d968c6f"
],
"allocations": []
}/portfolios/rebalancings/executions/{execution_id}/ordersList portfolio rebalancing execution orders
sortstringSort the result by status.
orderstringSort order of the result list if the sort parameter is specified. By default, only ASC for ascending sort.
offsetintUse the offset argument to specify where in the list of results to start when returning items for a particular query.
limitintUse the limit argument to specify the maximum number of items returned.
start_datestringReturns rebalancing orders with dates starting from and including this date (UTC)
end_datestringReturns rebalancing orders with dates up until this date (UTC)
Portfolios
{
"meta": {
"count": 2,
"limit": 10,
"offset": 0,
"order": "ASC",
"sort": "state",
"total_count": 2
},
"data": [
{
"id": "adf706aa-4fac-4e1d-878b-5b225f7b7354",
"created_at": "2022-09-28T09:14:02Z",
"updated_at": "2022-09-28T09:14:02Z",
"execution_id": "edc74b48-a377-4b93-84fb-543b1137de05",
"account_id": "100bb408-149c-4e6f-8697-837c2a144a29",
"portfolio_order_id": "b31723e0-8c8c-4bd0-a962-8bd26c5aee4d",
"status": "FILLED"
},
{
"id": "1dd8cede-a326-43b3-a54c-9d2d0e80edb5",
"created_at": "2022-09-28T09:14:02Z",
"updated_at": "2022-09-28T09:14:02Z",
"execution_id": "f678fe2b-ffd8-4b99-844f-a8f78a67e528",
"account_id": "98b21a45-5ea0-481f-bb1e-880aab0d154d",
"portfolio_order_id": "411c625e-b2f4-4af4-ac21-e17846fb6bcc",
"status": "PROCESSING"
},
{
"id": "1bf46252-ad90-4e22-8717-9586d2b86327",
"created_at": "2022-09-28T09:14:02Z",
"updated_at": "2022-09-28T09:14:02Z",
"execution_id": "9275e08d-012f-40bd-80b7-58037bdc7ab6",
"portfolio_order_id": null,
"account_id": "98b21a45-5ea0-481f-bb1e-880aab0d154d",
"status": "NEW"
},
{
"id": "1bf46252-ad90-4e22-8717-9586d2b86327",
"created_at": "2022-09-28T09:14:02Z",
"updated_at": "2022-09-28T09:14:02Z",
"execution_id": "9275e08d-012f-40bd-80b7-58037bdc7ab6",
"portfolio_order_id": null,
"account_id": "98b21a45-5ea0-481f-bb1e-880aab0d154d",
"status": "CANCELLED",
"cancellation_reason": "PORTFOLIO_IS_BALANCED",
"cancellation_details": "Portfolio is balanced, no need to rebalance."
}
]
}idstringrequired
Event unique identifier
created_atstringrequired
Date and time when the event was created. RFC 3339-5, ISO8601 UTC
typestringrequired
Event type
objectobject (Portfolios rebalancing execution order)required
idstringrequired
execution_idstringrequired
account_idstringrequired
Account unique identifier.
portfolio_order_idOne Ofrequired
Must match one of
statusstringrequired
Status of the Rebalancing Execution Order.
created_atstringrequired
Date and time when the resource was created. RFC 3339-5, ISO8601 UTC
updated_atstringrequired
Date and time when the resource was last updated. RFC 3339-5, ISO8601 UTC
cancellation_reasonstringReason for Rebalancing Execution Order Cancellation. The field is present in case the Order has a status of CANCELLED.
cancellation_detailsstringwebhook_idstringrequired
Webhook unique identifier.
{
"id": "54b8d84f-5bd0-4e43-bf0f-164388cb4c23",
"created_at": "2021-07-21T14:10:00.00Z",
"type": "REBALANCING_EXECUTION_ORDER.NEW",
"object": {
"id": "eb5ba93f-5dfe-4bf1-8571-4da0caacc80c",
"execution_id": "760abce7-e6b5-440b-bdf3-88e35ed6417a",
"created_at": "2021-07-21T14:10:00.000Z",
"updated_at": "2021-07-21T14:10:00.000Z",
"account_id": "debf2026-f2da-4ff0-bb84-92e45babb1e3",
"portfolio_order_id": "4f2f5db9-ef4e-4dbf-80a1-bffc71985d6c",
"status": "PROCESSING"
},
"webhook_id": "cd2e4183-4e62-4e0f-981b-44b594d14610"
}Request has been processed successfully.
Empty response
Was this page helpful?