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/dailyParameters
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
| symbol | trade_date | open | high | low | close | pre_close | change | pct_chg | vol | … +1 |
|---|---|---|---|---|---|---|---|---|---|---|
| 000001.SZ | 20260626 | 10.42 | 10.47 | 10.19 | 10.23 | 10.42 | -0.19 | -1.8234 | 1236481.64 | … |
| 000001.SZ | 20260625 | 10.47 | 10.59 | 10.41 | 10.42 | 10.51 | -0.09 | -0.8563 | 1083999.05 | … |
| 000001.SZ | 20260624 | 10.68 | 10.78 | 10.51 | 10.51 | 10.71 | -0.2 | -1.8674 | 1125841.14 | … |
Esc