Skip to content
Drawings and Overlays

Clear Drawings

Deletes all of the current user's drawings on a security for one K-line period. Deleted drawings cannot be restored, and drawings on other periods are not affected. Call it after the user chooses to clear drawings in the drawing tool and confirms; after success, remove the drawings from the chart.

POSThttps://api.lbkrs.com/v1/watchlist/clear_shapes

Request body application/json

counter_idstringrequired

Security ID

kline_typeintegerrequired

K-line period the drawing belongs to; same values as line_type in GET /v3/quote/kline

Responses

HTTP 200The request succeeded. A code of 0 means all drawings for the period were deleted.
codeintegerrequired

Business status code, 0 indicates success

messagestringrequired

Human-readable result or error message.

Whale Docs