v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBPortfolios
Create Portfolio
Creates a Portfolio.
post/managed/portfolios
Request body
Example request
{
"userID": "66304da9-3h6f-2234-935f-ac6b7933d706",
"name": "Recession Proof",
"clientPortfolioID": "-3344.123456789",
"description": "Mix of sectors",
"holdings": [
{
"type": "FUND",
"id": "fund_3d9d00d1-f06e-4f86-9cbf-893c75cf77fe",
"target": 0.95
}
],
"triggers": [
{
"type": "TOTAL_DRIFT",
"maxAllowed": 0.05,
"lowerBound": 0.01,
"upperBound": 0.02
}
]
}Response
Creating a Portfolio was Successful.
Example response
{
"id": "portfolio_4a22340a-31f8-4f0e-b5ee-24ddfbc66727",
"name": "Recession Proof",
"clientPortfolioID": "-3344.123456789",
"description": "A portifolio description",
"holdings": [
{
"id": "fund_3d9d00d1-f06e-4f86-9cbf-893c75cf77fe",
"name": "TECH",
"type": "FUND",
"clientFundID": "-3344.123456789",
"description": "Top 10 US Tech",
"target": 0.95,
"holdings": [
{
"instrumentID": "5b85fabb-d57c-44e6-a7f6-a3efc760226c",
"target": 0.5
}
],
"triggers": [
{
"type": "TOTAL_DRIFT",
"maxAllowed": 0.05,
"lowerBound": 0.01,
"upperBound": 0.02
}
]
}
],
"userID": "66304da9-3h6f-2234-935f-ac6b7933d706",
"triggers": [
{
"type": "TOTAL_DRIFT",
"maxAllowed": 0.05,
"lowerBound": 0.01,
"upperBound": 0.02
}
]
}