Query historical quotation data for stocks, funds, bonds, and futures. For Shanghai, Shenzhen, and Beijing market securities, daily queries automatically include today's settled bar after 18:30 Beijing time on an A-share trading day; before settlement or on non-trading days they safely fall back to the latest settled trading day. Metadata reports requested/effective dates, same-day availability, and fallback reasons. The same-day settlement policy applies only to daily requests whose codes all belong to those A-share markets; other markets, mixed-market requests, and longer intervals retain their existing date boundary.
- Provider
- cn financial pro 数据 (cn financial pro Data)
- Input summary
- {"name":"codes","type":"string","required":true,"description":"Security codes, comma-separated. Requests with more than 50 codes are split into upstream batches automatically. Stocks: '300033.SZ,600030.SH'; Funds: '000008.OF'"}, {"name":"indicators","type":"string","required":false,"description":"Preset: 'stock_common'/'stock_all' (stock), 'fund' (fund NAV/premium). Or custom comma-separated names. Default 'stock_all'. Aliases: 'common', 'all'"}, {"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'. When every requested code belongs to the Shanghai/Shenzhen/Beijing markets, daily data automatically qu..., {"name":"interval","type":"string","required":false,"description":"Time period: 'D' (daily), 'W' (weekly), 'M' (monthly), 'Q' (quarterly), 'S' (semi-annual), 'Y' (yearly), default is 'D'"}, {"name":"cps","type":"string","required":false,"description":"Adjustment method: '1'(none), '2'/'3'(dividend), '6'/'7'(cash). Stock default '1', fund preset default '6'"}, {"name":"fill","type":"string","required":false,"description":"Non-trading day handling: 'Previous' (use previous data), 'Blank' (empty value), default is 'Previous'"}
- Output summary
- Not available
- Billing
- 1 credits/result
- Freshness
- Not available
- Verification
- Not available