Query trading date information for specified exchanges in the market data service. Supports querying trading days or calendar days, and can query date sequences or date counts by periods such as daily, weekly, monthly, quarterly, or yearly. Applicable to multiple markets including SSE, SZSE, HKEX, and futures exchanges.
- Provider
- cn financial pro 数据 (cn financial pro Data)
- Input summary
- {"name":"marketcode","type":"string","required":true,"description":"Exchange code, e.g., '212001' (SSE), '212100' (SZSE), '212200' (HKEX)"}, {"name":"startdate","type":"string","required":true,"description":"Start date, supported formats: 'YYYY-MM-DD', 'YYYY/MM/DD', 'YYYYMMDD'"}, {"name":"enddate","type":"string","required":true,"description":"End date, supported formats: 'YYYY-MM-DD', 'YYYY/MM/DD', 'YYYYMMDD'"}, {"name":"mode","type":"string","required":false,"description":"Function mode: '1' (query date range), '2' (query date count), default is '1'"}, {"name":"date_type","type":"string","required":false,"description":"Date type: '0' (trading days), '1' (calendar days), default is '0'"}, {"name":"period","type":"string","required":false,"description":"Time period: 'D' (daily), 'W' (weekly), 'M' (monthly), 'Q' (quarterly), 'S' (semi-annual), 'Y' (yearly), default is 'D'"}, {"name":"date_format","type":"string","required":false,"description":"Date format: '0' (YYYY-MM-DD), '1' (YYYY/MM/DD), '2' (YYYYMMDD), default is '0'"}
- Output summary
- Not available
- Billing
- 2
- Freshness
- Not available
- Verification
- Not available