Skip to content
Capital Flow

Get Historical Capital Flow

Returns the daily net capital inflow of a security for recent trading days, for the historical capital flow bar chart in the Capital block of the security detail page. Amounts are in units of 10,000 in the security's trading currency. To get today's capital distribution, intraday capital flow, and historical capital flow together, use “Get Aggregated Stock Capital Flow Data” instead.

GEThttps://api.lbkrs.com/v1/quote/flow/kline

Parameters

counter_idstringqueryRequired

Security ID in the format ST/<market>/<code>, such as ST/US/AAPL

line_numintegerqueryRequired

Number of trading days to return. The Broker App sends 20

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Historical Capital Flow” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
flowklinesarray<object>

Daily net inflow list in ascending time order

Child attributes
inflowstring

Net inflow for the day (negative means net outflow), in units of 10,000

timestampstring

Trading-day timestamp in seconds (int64 returned as a string)

Whale Docs