Trading Days Calendar
2025
Jan
Su | Mo | Tu | We | Th | Fr | Sa |
---|---|---|---|---|---|---|
29
| 30
| 31
| 01
| 02
| 03
| 04
|
05
| 06
| 07
| 08
| 09
| 10
| 11
|
12
| 13
| 14
| 15
| 16
| 17
| 18
|
19
| 20
| 21
| 22
| 23
| 24
| 25
|
26
| 27
| 28
| 29
| 30
| 31
| 01
|
02
| 03
| 04
| 05
| 06
| 07
| 08
|
Trading Days API
Endpoint
URL:
https://api.tradingdays.zldlwq.top/v1
Method: GET
Usage:
https://api.tradingdays.zldlwq.top/v1?start=2015-01-01&end=2015-01-02
Parameters
Parameter | Type | Description | Required |
---|---|---|---|
start | string | Start date in 'YYYY-MM-DD' format | Yes |
end | string | End date in 'YYYY-MM-DD' format | Yes |
Response
Content-Type:
application/json
Example Response:
{
markets: ["HK", "US", "CN", "NT", "ST", "JP_FUTURE", "SG_FUTURE"],
data: {
"2015-01-01": [-1, -1, -1, 1, 1, 1, 1],
"2015-01-02": [1, 1, -1, 1, 1, 1, 1],
……
},
}
Description:
- markets: An array of market identifiers
- data: An object where keys are dates and values are arrays corresponding to the markets
- The values in the data arrays represent:
- -1: Market is closed
- 1: Whole day trading
- 2: Morning trading only
- 3: Afternoon trading only
- The data range is from
2015-01-01
tothe last day of the current year
.