两融标的

文档 v1.0.67 · 发布快照 1.0.78下载 meoz Skill最新文档

根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。

正式接口 · meoz 接口目录

查询每日融资融券标的证券清单,包括股票和 ETF。返回记录表示该证券在对应交易日属于两融标的。

交易日盘前更新

历史覆盖:以实际入库覆盖为准

仅查询90本地已发布数据;不指定日期时读取最近已发布业务窗口,不回退80。

接口名称 margin_securities

请求方法 POST /api

  • https://hist.meoz.cn:6688
  • https://hist-vip.meoz.cn:6688

返回字段

字段 名称 类型 描述 单位
tradedate string 交易日期,格式 YYYYMMDD
symbol string 证券短代码
name string|null 证券名称
exchange string 交易所代码:SSE、SZSE 或 BSE

请求

{"content":{"application/json":{"example":{"apikey":"","apiname":"margin_securities","fields":"tradedate,symbol,name,exchange","params":{"exchange":"SSE","symbols":"600000,510050.SH","tradedate":"20260724"}},"schema":{"properties":{"apikey":{"default":"","description":"浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。","type":"string"},"apiname":{"default":"margin_securities","description":"接口名称","enum":["margin_securities"],"type":"string"},"fields":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"tradedate,symbol,name,exchange","description":"| 字段 | 类型 | 名称 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `tradedate` | `string` | 交易日期 | `20260724` | 日期格式:YYYYMMDD。 |\n| `symbol` | `string` | 证券短代码 | `000001` | 证券短代码 |\n| `name` | `string\\|null` | 证券名称 | `平安银行` | 证券名称 |\n| `exchange` | `string` | 交易所代码 | `示例` | 交易所代码:SSE、SZSE 或 BSE |"},"params":{"additionalProperties":false,"default":{"exchange":"SSE","symbols":"600000,510050.SH","tradedate":"20260724"},"description":"| 参数 | 类型 | 是否必选 | 示例值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `symbols` | `string\\|array` | 可选 | `600000,510050.SH` | 证券代码,支持六位代码或带市场后缀的完整代码;支持股票和 ETF。不传则查询全市场标的。 |\n| `tradedate` | `string` | 可选 | `20260724` | 单日查询日期,格式:YYYYMMDD。不传 tradedate 时返回该数据集最新完整入库日。 |\n| `startdate` | `string` | 可选 | `20260701` | 查询区间开始日期,格式:YYYYMMDD;仅传该参数时查询至最新交易日。 |\n| `enddate` | `string` | 可选 | `20260724` | 查询区间结束日期,格式:YYYYMMDD;仅传该参数时按该交易日查询。 |\n| `recentdays` | `integer` | 可选 | `5` | 最近 N 个已完整入库交易日;以该数据集的完整入库日为准,不能与 tradedate/startdate/enddate 同时使用。 |\n| `exchange` | `string` | 可选 | `SSE` | 交易所代码:SSE=上海证券交易所,SZSE=深圳证券交易所,BSE=北京证券交易所。 |","properties":{"enddate":{"description":"查询区间结束日期,格式:YYYYMMDD;仅传该参数时按该交易日查询。","example":"20260724","pattern":"^\\d{8}$","type":"string"},"exchange":{"description":"交易所代码:SSE=上海证券交易所,SZSE=深圳证券交易所,BSE=北京证券交易所。","enum":["SSE","SZSE","BSE"],"example":"SSE","type":"string"},"recentdays":{"description":"最近 N 个已完整入库交易日;以该数据集的完整入库日为准,不能与 tradedate/startdate/enddate 同时使用。","example":5,"minimum":1,"type":"integer"},"startdate":{"description":"查询区间开始日期,格式:YYYYMMDD;仅传该参数时查询至最新交易日。","example":"20260701","pattern":"^\\d{8}$","type":"string"},"symbols":{"description":"证券代码,支持六位代码或带市场后缀的完整代码;支持股票和 ETF。不传则查询全市场标的。","example":"600000,510050.SH","oneOf":[{"description":"单个或多个英文逗号分隔的证券代码","type":"string"},{"description":"证券代码数组","items":{"type":"string"},"type":"array"}]},"tradedate":{"description":"单日查询日期,格式:YYYYMMDD。不传 tradedate 时返回该数据集最新完整入库日。","example":"20260724","pattern":"^\\d{8}$","type":"string"}},"type":"object"}},"required":["apikey","apiname"],"type":"object"}}},"description":"| 参数 | 类型 | 是否必选 | 固定值 | 描述 |\n| --- | --- | --- | --- | --- |\n| `apiname` | `string` | 必选 | `margin_securities` | 接口名称 |\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","exchange"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一个交易日的融资融券标的证券","example":[["20260724","000001","平安银行","示例"]],"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"}}}}}