Quote
Authorization
Signed mode: every request is signed with your App Key/Secret. Header set:
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string · header | Required | The account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation. |
X-Api-Key | string · header | Required | Your App Key. |
X-Timestamp | string · header | Required | Request timestamp in seconds (Unix epoch). |
X-Api-Signature | string · header | Required | HMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=. |
Quote Permission RequiredFree
Included with OpenAPI activation — no extra purchase needed.
Update watched group
# add symbols to a group
longbridge watchlist update <id> --add TSLA.US --add AAPL.US
# remove a symbol from a group
longbridge watchlist update <id> --remove NVDA.US
# add and remove at the same time
longbridge watchlist update <id> --add TSLA.US --remove AAPL.US
Request
Request body
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Required | Watchlist group ID. |
name | string | Optional | New group name. |
securities | array | Optional | Security symbols to add/remove/replace, per `mode`. |
mode | string | Required | Securities update mode: `add`, `remove`, or `replace`. |
Response
Response JSON example
{
"code": 0
}Error code
See the Error Codes page for the full list of error codes.