更新置顶证券
在自选股分组中置顶或取消置顶指定证券,以控制显示顺序。
SDK Links
Request
| HTTP Method | PUT |
| HTTP URL | /watchlist/groups |
Parameters
Content-Type: application/json; charset=utf-8
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | YES | Watchlist group ID |
| symbol | string | YES | Security symbol to pin or unpin, e.g. AAPL.US |
| is_pinned | bool | YES | Set to true to pin the security, false to unpin it |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | None |
| 400 | Bad request | None |
Schemas
No response schemas. The endpoint returns an empty data object on success.

