post
https://api.connex.trade/api/v1/trading/portfolio
Create a trading portfolio only by a primary user.
Permission
- Applies to primary user's API Key only.
- Permission: TRADE.
Rate Limit
- 3 requests per 10 seconds
Request body
Send a JSON object with Content-Type: application/json.
| Name | Type | Mandatory | Description |
|---|---|---|---|
| name | String | Y | Portfolio name: 6–20 characters, letters and numbers only, cannot be all numeric, case-sensitive. |
Response fields
| Field name | Type | Remarks |
|---|---|---|
| code | integer | Application result code. 200 means success. |
| message | String | Result message. |
| data | object | Paginated Portfolio result. |
| data.portfolioId | integer (int64) | Portfolio identifier. Preserve the full integer value. |
| data.name | String | Portfolio name after this operation. |
Example Request
{
"name": "MyPortfolio"
}
Example Response
{
"code": 200,
"message": "success",
"data": {
"portfolioId": 2154503491108165,
"name": "MyPortfolio"
}
}
Note:
- After user completed KYB, the system will automatically create a Trading Portfolio for the primary user, named "MainPortfolio". This Trading Portfolio is used for trading of primary user on ConneX.
- Primary user can create more Trading Portfolios (up to 50) by calling this endpoint. If you need to create more than 50, please contact your account manager.
- There is no hierarchical relationship between the MainPortfolio and the other Trading Portfolios, They are all under the primary user.
