Skip to content
Market Temperature

Get Market Temperature History

Returns three history series for a market over a date range: market temperature (temp_list), valuation (pe_list), and sentiment (up_list). Use them for the history charts on the market temperature page. Non-trading days in the range have no data points, so the first and last returned dates may differ from the requested range. Hide a series when it is empty. The market temperature page opened from the stock Analysis page uses this endpoint as well.

GEThttps://api.lbkrs.com/v1/stock-info/hist-temp

Parameters

marketstringqueryRequired

Market:

  • US - US stocks
  • HK - Hong Kong stocks
  • CN - China A-shares
  • SG - Singapore

USHKCNSG

start_datestringqueryRequired

Start date in YYYYMMDD format

end_datestringqueryRequired

End date in YYYYMMDD format

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Market Temperature History” operation.
Standard response envelopecodemessagedata
dataobjectdata structure

History series

temp_listarray<object>

Market temperature series

Child attributes
timestampstring

Data date as a Unix timestamp in seconds, in string form

valuestring

Score from 0 to 100. The App maps it to six levels: 0–15, 15–30, 30–50, 50–70, 70–85, and 85–100.

pe_listarray<object>

Valuation series

Child attributes
timestampstring

Data date as a Unix timestamp in seconds, in string form

valuestring

Score from 0 to 100. The App maps it to six levels: 0–15, 15–30, 30–50, 50–70, 70–85, and 85–100.

up_listarray<object>

Sentiment series

Child attributes
timestampstring

Data date as a Unix timestamp in seconds, in string form

valuestring

Score from 0 to 100. The App maps it to six levels: 0–15, 15–30, 30–50, 50–70, 70–85, and 85–100.

Whale Docs