Market Daily

Daily OHLC bars for A-shares, one row per stock per trading day, including open, high, low, close, previous close, price change, percentage change, volume, and turnover. History extends back to 1990 and updates after each market close. Note that prices are raw and unadjusted, so cross-ex-dividend historical analysis or long-horizon return calculations must be combined with adjustment factors; volume is in lots (1 lot = 100 shares) and turnover is in thousands of CNY.

GET /v2/market/daily

Parameters

Name Type Required Description
symbol string No Stock code, e.g. 000001.SZ
start_date string No Start date (YYYYMMDD)
end_date string No End date (YYYYMMDD)
trade_date string No Trading date YYYYMMDD (single day)

Response Fields

Field Type Description
symbol string Stock code
trade_date string Trading date
open number Opening price
high number Highest price
low number Lowest price
close number Closing price
pre_close number Previous close
change number Price change
pct_chg number Change %
vol number Volume (lots)
amount number Turnover (CNY thousands)

API Example

cURL
curl -H "X-API-Key: YOUR_KEY" \
  "https://asharehub.com/v2/market/daily?symbol=000001.SZ"
Python SDK
from asharehub import AShareHub

client = AShareHub(api_key="YOUR_KEY")
df = client.market_daily(symbol="000001.SZ")
print(df.head())

Sample Data

returns a pandas.DataFrame
symboltrade_dateopenhighlowclosepre_closechangepct_chgvol… +1
000001.SZ2026062610.4210.4710.1910.2310.42-0.19-1.82341236481.64
000001.SZ2026062510.4710.5910.4110.4210.51-0.09-0.85631083999.05
000001.SZ2026062410.6810.7810.5110.5110.71-0.2-1.86741125841.14