日线行情
根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。
查询猫爪板块日线行情,最新交易日会合并实时缓存,历史日期读取沉淀日线。
当前稳定提供:gn=概念、hy=行业、fg=风格/固定专题、tj=统计板块、yjhy=研究行业;不传 params.type 仍返回前四类。
接口名称 theme_daily
请求方法 POST /api
- https://sz.meoz.cn:6688
- https://sh.meoz.cn:6688
返回字段
| 字段 | 名称 | 类型 | 描述 | 单位 |
|---|---|---|---|---|
| tradedate | string | 交易日期 YYYYMMDD | ||
| symbol | string | 板块代码 | ||
| name | string|null | 板块名称 | ||
| type | string|null | 板块类型 | ||
| open | number|null | 开盘价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 | ||
| high | number|null | 最高价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 | ||
| low | number|null | 最低价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 | ||
| close | number|null | 收盘价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 | ||
| pct_chg | number|null | 涨跌幅(%) | ||
| amount | number|null | 成交额;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |
请求
{"content":{"application/json":{"example":{"apikey":"","apiname":"theme_daily","fields":"tradedate,symbol,name,type,open,high,low,close,pct_chg,amount","params":{"type":"yjhy"}},"schema":{"properties":{"apikey":{"default":"","description":"浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。","type":"string"},"apiname":{"default":"theme_daily","description":"接口名称","enum":["theme_daily"],"type":"string"},"fields":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"tradedate,symbol,name,type,open,high,low,close,pct_chg,amount","description":"| 字段 | 类型 | 名称 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `tradedate` | `string` | 交易日期 | `20260724` | 日期格式:YYYYMMDD。 |\n| `symbol` | `string` | 板块代码 | `000001` | 板块代码 |\n| `name` | `string\\|null` | 板块名称 | `平安银行` | 板块名称 |\n| `type` | `string\\|null` | 板块类型 | `示例` | 板块类型 |\n| `open` | `number\\|null` | 开盘价 | `10.25` | 开盘价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |\n| `high` | `number\\|null` | 最高价 | `10.58` | 最高价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |\n| `low` | `number\\|null` | 最低价 | `10.12` | 最低价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |\n| `close` | `number\\|null` | 收盘价 | `10.43` | 收盘价;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |\n| `pct_chg` | `number\\|null` | 涨跌幅(%) | `2.76` | 涨跌幅 |\n| `amount` | `number\\|null` | 成交额(元) | `1685000000.24` | 成交额;该字段的单位、数值尺度或源口径尚未确认;不据名称推定。 |"},"params":{"additionalProperties":false,"default":{"type":"yjhy"},"description":"| 参数 | 类型 | 是否必选 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `type` | `string` | 可选 | `yjhy` | 板块分类。`gn=概念`、`hy=行业`、`fg=风格/固定专题`、`tj=统计板块`、`yjhy=研究行业`;不传返回前四类。 |\n| `symbols` | `string\\|array` | 可选 | `880904,880905` | 板块代码过滤条件。 |\n| `symbol` | `string\\|array` | 可选 | `880904` | 板块代码过滤条件。 |\n| `tradedate` | `string` | 可选 | `20260205` | 指定交易日,格式:YYYYMMDD;不传任何日期参数时默认最新交易日。 |\n| `startdate` | `string` | 可选 | `20260203` | 开始日期,格式:YYYYMMDD。 |\n| `enddate` | `string` | 可选 | `20260205` | 结束日期,格式:YYYYMMDD。 |","properties":{"enddate":{"description":"结束日期,格式:YYYYMMDD。","example":"20260205","pattern":"^\\d{8}$","type":"string"},"startdate":{"description":"开始日期,格式:YYYYMMDD。","example":"20260203","pattern":"^\\d{8}$","type":"string"},"symbol":{"description":"板块代码过滤条件。","example":"880904","oneOf":[{"description":"单个板块代码","type":"string"},{"description":"多个板块代码数组","items":{"type":"string"},"type":"array"}]},"symbols":{"description":"板块代码过滤条件。","example":"880904,880905","oneOf":[{"description":"多个板块代码,逗号分隔","type":"string"},{"description":"多个板块代码数组","items":{"type":"string"},"type":"array"}]},"tradedate":{"description":"指定交易日,格式:YYYYMMDD;不传任何日期参数时默认最新交易日。","example":"20260205","pattern":"^\\d{8}$","type":"string"},"type":{"description":"板块分类。`gn=概念`、`hy=行业`、`fg=风格/固定专题`、`tj=统计板块`、`yjhy=研究行业`;不传返回前四类。","example":"yjhy","type":"string"}},"type":"object"}},"required":["apikey","apiname"],"type":"object"}}},"description":"| 参数 | 类型 | 是否必选 | 固定值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `apiname` | `string` | 必选 | `theme_daily` | 接口名称 |\n| `apikey` | `string` | 必选 | [访问个人中心获取](/console) | 访问密钥 |","required":true}
响应
{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"业务状态码,200 表示成功","example":200,"type":"integer"},"data":{"description":"矩阵型返回数据","nullable":true,"properties":{"fields":{"description":"返回字段名列表,顺序与 items 中每一列一一对应","example":["tradedate","symbol","name","type","open","high","low","close","pct_chg","amount"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条记录","example":[["20260724","000001","平安银行","示例",10.25,10.58,10.12,10.43,2.76,1685000000.24]],"items":{"items":{},"type":"array"},"type":"array"}},"required":["fields","items"],"type":"object"},"message":{"description":"响应消息","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Successful Response"},"429":{"content":{"application/json":{"schema":{"properties":{"code":{"example":429,"type":"integer"},"data":{"example":null,"nullable":true},"message":{"example":"请求频率超限:daily_auc_detail 接口的调用上限为 3 次/秒,请降低该接口的调用频率,建议 1 秒后重试。","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"账户总调用频率或单个重接口调用频率超过当前套餐限额。","headers":{"Retry-After":{"description":"建议等待后重试的秒数。","schema":{"minimum":1,"type":"integer"}}}}}