Trade Calendar
Trading calendar for Shanghai (SSE) and Shenzhen (SZSE) exchanges. Useful for scheduling data pulls and handling holidays.
GET /v2/reference/trade-calendarcurl -H "X-API-Key: YOUR_KEY" \
"https://asharehub.com/v2/reference/trade-calendar?exchange=SSE&is_open=1&start_date=20240101&limit=20"
Parameters
Name
Type
Required
Description
exchange
string
No
Exchange: SSE / SZSE (default SSE)
is_open
int
No
Is trading day: 1 open / 0 closed
start_date
string
No
Start date (YYYYMMDD)
end_date
string
No
End date (YYYYMMDD)
limit
int
No
Max rows (defaults to the cap; no need to raise it)
Response Fields
Field
Type
Description
exchange
string
Exchange code (SSE / SZSE)
cal_date
string
Calendar date
is_open
int
1=trading day, 0=closed
pretrade_date
string
Previous trading date
Esc