API Reference

Get Trading Portfolio List

Retrieve trading portfolio list under primary user.

🚧

Tips

Applies to primary user's API Key only. Permission: Read

Request

Field nameTypeNecessaryRemarks
portfolioIdLongNportfolio id
nameStringNportfolio name
belongingToIntegerN0:MainPortfolio; 2:Other Trading Portfolio
pageIntegerNCurrent page, default=1, the min value=1
pageSizeIntegerNPage size, default=100, the max value=1000

Response

Field nameTypeRemarks
portfolioIdLongportfolioId
nameStringname
belongingToInteger0:MainPortfolio; 2:Other Trading Portfolio
createAtLongcreate timestamp
updateAtLongupdate timestamp
Body Params
int64

portfolio id

string

portfolio name

string

portfolio which belongs to

int32
Defaults to 1

Current page, default=1, the min value=1

int32
Defaults to 100

Page size, default=100, the max value=1000

Response

Language
Choose an example:
application/json