Skip to content
Watchlist

Remove from watchlist

Removes one or more securities from the specified watchlist groups of the Client. When remove_all is true, the securities are removed from every group, which unwatches them. On success, the server updates the watchlist and returns all groups after the change. Used to unwatch securities on IPO, signal, and strategy pages. If the request fails, the watchlist is unchanged; the Broker App should roll back any optimistic update and show message.

WhaleCore's watchlistService() wraps this endpoint as the typed method removeStocks(counters:groups:removeAll:). If you use WhaleCore, prefer that method.

POSThttps://api.lbkrs.com/v7/delete/watchlist/stocks

Request body application/json

counter_idsstringrequired

Securities to process, as a JSON string of a security ID array, such as ["ST/US/AAPL"]

groupsstringrequired

Groups to remove from, as a JSON string of a group ID array. Send [] when remove_all is true

remove_allbooleanrequired

Whether to remove from every group

Responses

HTTP 200The request succeeded. The response body contains the result of the “Remove from watchlist” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

Watchlist change result

counter_idsarray<string>

Securities processed by this request

operation_idstring

ID of this operation

operationsarray<object>

Per-security records

Child attributes
counter_idstring

Security ID (counter_id)

security_namestring

Security name

all_group_listsobject

Watchlist groups and all watchlist securities

Child attributes
allarray<object>

All groups, system and custom

Child attributes
idstring

Group ID. Put it in groups when adding or removing watchlist stocks

namestring

Stable group identifier (system groups such as all and holdings). Use it to identify the group, not for display

show_namestring

Display name, possibly localized. Fall back to name when empty

kindinteger

Group kind, distinguishing system groups from custom groups

counter_idsarray<string>

Security IDs (counter_id) in the group, in group order

hiddenboolean

Whether the Client has hidden the group

indexstring

Group sort value

allstocksarray<object>

All watchlist securities, deduplicated

Child attributes
counter_idstring

Security ID (counter_id)

codestring

Security code

namestring

Security name

marketstring

Market code, such as US or HK

maxinteger

Maximum number of watchlist securities

timestampstring

Version timestamp of the watchlist data

Whale Docs