# 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

| 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 | … |

## Data source and units

The upstream field definitions are documented in [Tushare's daily stock price reference](https://tushare.pro/document/2?doc_id=27). AShareHub exposes the public code as `symbol`. Daily `vol` is measured in lots of 100 shares and `amount` in CNY 1,000; the [intraday quote endpoint](https://asharehub.com/en/docs/realtime) has its own units and timestamps. Check returned trading dates before combining datasets.

For comparable prices across dividends and splits, combine daily bars with [adjustment factors and an explicit anchor date](https://asharehub.com/en/docs/adj-factor). Data is provided for research and may be delayed or revised.
