Skip to content
Drawings and Overlays

Get Overlay Comparison Settings

Returns the overlay comparison settings the current user saved for a security: the other securities overlaid on its chart, and the drawing style and currency of each. The Broker App calls this endpoint when entering the chart and when opening the overlay settings page, then loads the K-lines or intraday data of each security in stocks and subscribes to their quotes. When nothing is set, stocks is empty.

GEThttps://api.lbkrs.com/v1/watchlist/superimposition

Parameters

counter_idstringqueryRequired

Main chart security ID, for example ST/US/AAPL

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Overlay Comparison Settings” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
stocksarray<object>

Overlay securities in display order

Child attributes
counter_idstring

Overlay security ID

codestring

Overlay security code

namestring

Overlay security name

marketstring

Market of the overlay security, such as US or HK

json_dataobject

Display configuration per overlay security; each key is an overlay security ID

Whale Docs