Create Sharelist
Create a new community stock list with an optional initial set of securities.
SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | YES | Sharelist name |
| description | string | NO | Description |
| securities | string[] | NO | Initial list of security symbols, e.g. ["AAPL.US", "NVDA.US"] |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"id": 15922
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | CreateSharelistResponse |
| 400 | Bad request | None |
Schemas
CreateSharelistResponse
| Name | Type | Required | Description |
|---|---|---|---|
| id | int64 | true | ID of the newly created sharelist |

