Skip to content
K-Lines and Intraday

Get Five-day Intraday Data

Returns intraday data for the last five trading days of a security, split by trading day, for the five-day intraday chart and five-day overlay comparison on the security detail page. Use base_price as the reference line.

WhaleCore's quoteService() wraps this endpoint as the typed method getTimeshares (with fiveDays set to true). If you use WhaleCore, prefer that method.

GEThttps://api.lbkrs.com/v1/quote/stock/mutitimeshares

Parameters

counter_idstringqueryRequired

Security ID (counter_id), for example ST/US/AAPL or ST/HK/700

daysintegerquery

Number of days. The Broker App passes 5

5

trade_sessionintegerquery

Trading sessions included in the five-day data; same values as kline_session in GET /v3/quote/kline. Overlay comparison always passes 0 (regular session)

0100101102

adjust_typeintegerquery

Price adjustment type: 0 unadjusted, 1 forward-adjusted. Pass 1 only when the security supports five-day adjustment

01

avg_priceintegerquery

Whether to return the intraday average price avg_price: 1 returns it, 0 omits it. The Broker App always passes 1

01

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Five-day Intraday Data” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

Intraday data

base_pricestring

Intraday base price, used as the previous-close reference line and to calculate the change

timesharesarray<object>

Intraday data segments; a single-day query usually returns one segment, and a five-day query returns one segment per trading day

Child attributes
datestring

Trading day

pre_closestring

Previous close for this trading day

minutesarray<object>

Intraday points for the trading day, in ascending time order

Child attributes
timestampstring

Minute time as a Unix timestamp in seconds

pricestring

Price for the minute, used to draw the intraday line

avg_pricestring

Average price up to this minute; returned only when avg_price is 1

amountstring

Volume for the minute, in the trading unit of the security

balancestring

Turnover for the minute, in the quote currency of the security

Whale Docs