Create 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.

NameTypeMandatoryDescription
nameStringYPortfolio name: 6–20 characters, letters and numbers only, cannot be all numeric, case-sensitive.

Response fields

Field nameTypeRemarks
codeintegerApplication result code. 200 means success.
messageStringResult message.
dataobjectPaginated Portfolio result.
data.portfolioIdinteger (int64)Portfolio identifier. Preserve the full integer value.
data.nameStringPortfolio 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.
Response

Language
LoadingLoading…
Response
Choose an example:
application/json