EQUITIES / END OF DAY
A-share daily bars
Explore daily A-share research data, starting with trading dates and closing prices.
bars_stock_dailyFields in the public example
| Field | Description |
|---|---|
trade_date | Trading date, used in the public query example. |
close | Closing price, used in the public query example. |
symbol | Instrument identifier; the public example filters on 600519.SH. |
How to use it
Discover datasets visible to your account, then query by instrument and trading date. The SDK example demonstrates the request without assuming a response schema.
Read the discovery guide →import os
from heyquant import HeyQuantClient
with HeyQuantClient(
base_url=os.environ["HEYQUANT_BASE_URL"],
api_key=os.environ["HEYQUANT_API_KEY"],
) as client:
result = client.query(
"select trade_date, close "
"from bars_stock_daily "
"where symbol = '600519.SH' "
"order by trade_date desc limit 5"
)
print(result)