{
  "openapi": "3.0.3",
  "info": {
    "title": "股票历史数据分析查询",
    "description": "查询历史数据的分析统计。本接口数据仅用于学习分析，不得用于对外展示！根据股票代码、日期获取股票历史数据及相关分析，返回日期、开盘价、收盘价、最高价、最低价、成交量、成交额、换手率、涨跌幅等，可绘制相应日线图及走势分析 。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/131-89": {
      "x-pointCode": 89,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "A股复权因子查询",
        "description": "通过交易日期查询A股历史复权因子，最大查询时间跨度为93个交易日（不是自然日哦！）交易日早上8点前更新当日复权因子",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示调用成功，-1表示没有查询到数据或调用失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "reinstate_multiplier": {
                                    "type": "number",
                                    "description": "复权因子值（我们计算该值失败时，返回-1）"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "交易日期"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_89_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "A股股票代码，不需要加市场代码"
                  },
                  "start": {
                    "type": "string",
                    "description": "查询的开始日期，格式为yyyyMMdd或yyyy-MM-dd"
                  },
                  "end": {
                    "type": "string",
                    "description": "查询的截至日期，格式为yyyyMMdd或yyyy-MM-dd"
                  }
                },
                "required": [
                  "code",
                  "start",
                  "end"
                ]
              }
            }
          }
        }
      }
    },
    "/131-87": {
      "x-pointCode": 87,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "大盘股指历史MACD",
        "description": "支持沪深数百支大盘指数MACD历史数据查询，以及3支港股MACD（恒生指数hsi，国企指数hscei,红筹指数hscci）但只能查询2001年后历史数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，负数表示查询失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "dea": {
                                    "type": "number",
                                    "description": "DEA"
                                  },
                                  "macd": {
                                    "type": "number",
                                    "description": "MACD"
                                  },
                                  "dif": {
                                    "type": "number",
                                    "description": "DIF"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "查询的股指代码"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据的日期"
                                  }
                                }
                              },
                              "description": "MACD数据集合"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_87_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的股指代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "month",
            "in": "query",
            "description": "要查询的年月，注意入参格式为yyyyMM",
            "required": true,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    },
    "/131-86": {
      "x-pointCode": 86,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "股票历史boll布林通道查询",
        "description": "查询一只股票的BOLL指标（Bollinger Bands），最大查询时间跨度不超过一个季度，港股和北交所股票只有不复权的布林线",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示没有数据或查询失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ma": {
                                    "type": "string",
                                    "description": "中轨"
                                  },
                                  "down": {
                                    "type": "string",
                                    "description": "下轨"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据日期"
                                  },
                                  "up": {
                                    "type": "string",
                                    "description": "上轨"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_86_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查的股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "begin_date",
            "in": "query",
            "description": "开始日期，格式yyyyMMdd，不填默认当日",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "结束日期，格式yyyyMMdd，不填默认当日，最大时间跨度不能超过一个季度",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fqtype",
            "in": "query",
            "description": "数据复权类型：hfq（后复权），bfq（不复权），qfq（前复权），默认不复权，港股和北交所暂时只有不复权的数据。",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sp",
            "in": "query",
            "description": "计算天数（采样周期）支持20和26，不填默认20",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-85": {
      "x-pointCode": 85,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "大盘股指周月线历史",
        "description": "查询股指的历史K线,每周更新数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功,-1表示没有找到"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "amount": {
                                    "type": "string",
                                    "description": "成交额"
                                  },
                                  "open": {
                                    "type": "string",
                                    "description": "开盘点位"
                                  },
                                  "vol": {
                                    "type": "string",
                                    "description": "成交量"
                                  },
                                  "pct_chg": {
                                    "type": "string",
                                    "description": "涨跌幅"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "统计日"
                                  },
                                  "change": {
                                    "type": "string",
                                    "description": "涨跌数"
                                  },
                                  "pre_close": {
                                    "type": "string",
                                    "description": "收盘点"
                                  },
                                  "high": {
                                    "type": "string",
                                    "description": "最高点位"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "指数代码"
                                  },
                                  "low": {
                                    "type": "string",
                                    "description": "最低点位"
                                  },
                                  "close": {
                                    "type": "string",
                                    "description": "收盘点位"
                                  }
                                }
                              },
                              "description": "数据集合"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_85_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查历史的股指代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "beginDate",
            "in": "query",
            "description": "要检索的开始日期,时间格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "要检索的结束日期,时间格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "week代表周K线,month代表日K线",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-82": {
      "x-pointCode": 82,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "沪深通每日统计",
        "description": "获取港股通每日成交信息，交易日的第三天更新数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示没有数据"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "sell_amount": {
                                    "type": "string",
                                    "description": "卖出成交金额（亿元）"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "交易日期"
                                  },
                                  "buy_amount": {
                                    "type": "string",
                                    "description": "买入成交金额（亿元）"
                                  },
                                  "sell_volume": {
                                    "type": "string",
                                    "description": "卖出成交金额（亿元）"
                                  },
                                  "buy_volume": {
                                    "type": "string",
                                    "description": "买入成交笔数（万笔）"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_82_POST",
        "parameters": [
          {
            "name": "begin_date",
            "in": "query",
            "description": "要开始检索的交易日期，格式为yyyyMMdd，不填默认当天的",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要结束检索的交易日期，格式为yyyyMMdd，不填默认当天的",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-81": {
      "x-pointCode": 81,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "沪深通日持股变化",
        "description": "查询沪深通持股数据，每个交易日的第二日更新数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询到数据了，-1表示没有数据"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "vol": {
                                    "type": "string",
                                    "description": "持股数量(股)"
                                  },
                                  "market": {
                                    "type": "string",
                                    "description": "sh沪股通 sz深股通"
                                  },
                                  "ratio": {
                                    "type": "string",
                                    "description": "持股占比（%），占已发行股份百分比"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "日期"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  }
                                }
                              },
                              "description": "每日持股明细统计"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_81_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询股票股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "begin_date",
            "in": "query",
            "description": "要开始检索的交易日期，格式为yyyyMMdd，不填默认当天的",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要结束检索的交易日期，格式为yyyyMMdd，不填默认当天的，两个时间跨度最大三个月。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-80": {
      "x-pointCode": 80,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "沪深通成交资金top10",
        "description": "查询沪深股通资金量排名前十位的成分股，当日晚上上8点更新（暂无港股通数据）",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示没有数据"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "amount": {
                                    "type": "string",
                                    "description": "成交量（元）"
                                  },
                                  "net_amount": {
                                    "type": "string",
                                    "description": "净成交量（元）"
                                  },
                                  "rank": {
                                    "type": "string",
                                    "description": "当日资金量排名"
                                  },
                                  "market": {
                                    "type": "string",
                                    "description": "sz表示深股通，sh表示沪股通"
                                  },
                                  "sell": {
                                    "type": "string",
                                    "description": "卖出量（元）"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "交易日期"
                                  },
                                  "buy": {
                                    "type": "string",
                                    "description": "买入量（元）"
                                  },
                                  "change": {
                                    "type": "string",
                                    "description": "涨跌额"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "close": {
                                    "type": "string",
                                    "description": "收盘价"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_80_POST",
        "parameters": [
          {
            "name": "begin_date",
            "in": "query",
            "description": "要检索的开始日期，不填默认当日，格式yyyyMMdd",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要检索的结束日期，不填默认当日，格式yyyyMMdd，最大时间跨度不能超过1个月",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-79": {
      "x-pointCode": 79,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "沪深通每日资金动向历史",
        "description": "查询沪深股通资金流向统计，次日早上8点更新（暂无港股通数据）",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "错误信息0，-1表示没有查到"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "north_money": {
                                    "type": "string",
                                    "description": "北向资金（百万元）"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "交易日期"
                                  },
                                  "ggt_ss": {
                                    "type": "string",
                                    "description": "港股通（上海）"
                                  },
                                  "south_money": {
                                    "type": "string",
                                    "description": "南向资金（百万元）"
                                  },
                                  "sgt": {
                                    "type": "string",
                                    "description": "深股通（百万元）"
                                  },
                                  "ggt_sz": {
                                    "type": "string",
                                    "description": "港股通（深圳）"
                                  },
                                  "hgt": {
                                    "type": "string",
                                    "description": "沪股通（百万元）"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_79_POST",
        "parameters": [
          {
            "name": "begin_date",
            "in": "query",
            "description": "要检索的开始日期，不填默认当日，格式yyyyMMdd",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要检索的结束日期，不填默认当日，格式yyyyMMdd，最大时间跨度不能超过3个月",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-78": {
      "x-pointCode": 78,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "沪深通标的",
        "description": "查询沪深港股通的现行标的（成分股），最快当周周末更新",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示查询失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "in_date": {
                                    "type": "string",
                                    "description": "纳入日期"
                                  }
                                }
                              },
                              "description": "成分股代码列表"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_78_POST",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "description": "sh表示沪股通标的，sz表示深股通标的，hk表示港股通标的。默认查沪股通的",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-77": {
      "x-pointCode": 77,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "个股资金动向历史",
        "description": "查询某只A股大中小单历史成交量，分析主力动向。交易日当晚23点更新当日数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功,-1表示没有找到数据"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "buy_elg_amount": {
                                    "type": "string",
                                    "description": "特大单买入金额（万元）"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "buy_elg_vol": {
                                    "type": "string",
                                    "description": "特大单买入量（手）"
                                  },
                                  "net_mf_vol": {
                                    "type": "string",
                                    "description": "净流入量（手）"
                                  },
                                  "sell_lg_amount": {
                                    "type": "string",
                                    "description": "大单卖出金额（万元）"
                                  },
                                  "sell_sm_amount": {
                                    "type": "string",
                                    "description": "小单卖出金额（万元）"
                                  },
                                  "sell_elg_amount": {
                                    "type": "string",
                                    "description": "特大单卖出金额（万元）"
                                  },
                                  "buy_sm_amount": {
                                    "type": "string",
                                    "description": "小单买入金额（万元）"
                                  },
                                  "buy_md_amount": {
                                    "type": "string",
                                    "description": "中单买入金额（万元）"
                                  },
                                  "buy_lg_amount": {
                                    "type": "string",
                                    "description": "大单买入金额（万元）"
                                  },
                                  "buy_lg_vol": {
                                    "type": "string",
                                    "description": "大单买入量（手）"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "日期"
                                  },
                                  "sell_elg_vol": {
                                    "type": "string",
                                    "description": "特大单卖出量（手）"
                                  },
                                  "net_mf_amount": {
                                    "type": "string",
                                    "description": "净流入额（万元）"
                                  },
                                  "sell_md_vol": {
                                    "type": "string",
                                    "description": "中单卖出量（手）"
                                  },
                                  "buy_sm_vol": {
                                    "type": "string",
                                    "description": "小单买入量（手）"
                                  },
                                  "buy_md_vol": {
                                    "type": "string",
                                    "description": "中单买入量（手）"
                                  },
                                  "sell_lg_vol": {
                                    "type": "string",
                                    "description": "大单卖出量（手）"
                                  },
                                  "sell_md_amount": {
                                    "type": "string",
                                    "description": "中单卖出金额（万元）"
                                  },
                                  "sell_sm_vol": {
                                    "type": "string",
                                    "description": "小单卖出量（手）"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_77_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的A股代码，",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "begin_date",
            "in": "query",
            "description": "要查询的开始日期，不填默认当日，格式yyyyMMdd",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要查询的结束日期，不填默认当日，格式yyyyMMdd，两个时间跨度最大不可超过一个月",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-76": {
      "x-pointCode": 76,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "A股涨跌停限制的历史",
        "description": "可以查询A股某只股票近一年中出现的涨跌停情况。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "last_time": {
                                    "type": "string",
                                    "description": "当天最后一次封板时间"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "查询的股票代码"
                                  },
                                  "type": {
                                    "type": "string",
                                    "description": "up涨停，down跌停"
                                  },
                                  "close": {
                                    "type": "string",
                                    "description": "当日收盘价"
                                  },
                                  "strth": {
                                    "type": "string",
                                    "description": "强度"
                                  },
                                  "fd_amount": {
                                    "type": "string",
                                    "description": "封单金额"
                                  },
                                  "first_time": {
                                    "type": "string",
                                    "description": "当天第一次停牌时间"
                                  },
                                  "pct_chg": {
                                    "type": "string",
                                    "description": "涨跌幅"
                                  },
                                  "open_times": {
                                    "type": "string",
                                    "description": "当天打开次数"
                                  },
                                  "trade_date": {
                                    "type": "string",
                                    "description": "当天日期"
                                  },
                                  "fl_ratio": {
                                    "type": "string",
                                    "description": "封单手数/流通股本"
                                  },
                                  "fc_ratio": {
                                    "type": "string",
                                    "description": "封单金额/日成交金额"
                                  },
                                  "amp": {
                                    "type": "string",
                                    "description": "振幅"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_76_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "股票代码，暂时只有A股数据。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "begin_date",
            "in": "query",
            "description": "要检索的开始日期，不填默认当日，格式yyyyMMdd",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end_date",
            "in": "query",
            "description": "要检索的结束日期，不填默认当日，格式yyyyMMdd，两个时间跨度最大一年",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-75": {
      "x-pointCode": 75,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "新股IPO",
        "description": "返回A股今日前后一个月内（从今日向前和向后各数15天）的IPO信息",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "item_list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "buy_code": {
                                    "type": "string",
                                    "description": "申购代码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "ipo_date": {
                                    "type": "string",
                                    "description": "上网发行日期"
                                  },
                                  "issue_date": {
                                    "type": "string",
                                    "description": "上市日期"
                                  },
                                  "amount": {
                                    "type": "string",
                                    "description": "发行总量（万股）"
                                  },
                                  "market_amount": {
                                    "type": "string",
                                    "description": "上网发行总量（万股）"
                                  },
                                  "price": {
                                    "type": "string",
                                    "description": "发行价格"
                                  },
                                  "pe": {
                                    "type": "string",
                                    "description": "市盈率"
                                  },
                                  "limit_amount": {
                                    "type": "string",
                                    "description": "个人申购上限（万股）"
                                  },
                                  "funds": {
                                    "type": "string",
                                    "description": "募集资金（亿元）"
                                  },
                                  "ballot": {
                                    "type": "string",
                                    "description": "中签率"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_75_POST",
        "parameters": []
      }
    },
    "/131-74": {
      "x-pointCode": 74,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "公司高管持股",
        "description": "查询A股上市公司的高管持股数",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "高管姓名"
                                  },
                                  "ann_date": {
                                    "type": "string",
                                    "description": "公布日期"
                                  },
                                  "title": {
                                    "type": "string",
                                    "description": "高管职位"
                                  },
                                  "hold_vol": {
                                    "type": "string",
                                    "description": "持股数"
                                  },
                                  "reward": {
                                    "type": "string",
                                    "description": "薪酬"
                                  }
                                }
                              }
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示查询失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_74_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的A股的高管持股的股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "announce_date",
            "in": "query",
            "description": "公布日期，格式为yyyyMMdd，不填则返回所有数据",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-73": {
      "x-pointCode": 73,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "公司高管",
        "description": "允许用户查询A股上市公司的高级管理团队的详细信息，包括董事、监事、高级管理人员等，为投资者提供深入了解公司治理结构和管理层背景的渠道。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "birthday": {
                                    "type": "string",
                                    "description": "高管生日格式为yyyy或yyyyMM"
                                  },
                                  "resume": {
                                    "type": "string",
                                    "description": "高管简历"
                                  },
                                  "title": {
                                    "type": "string",
                                    "description": "任期职位"
                                  },
                                  "end_date": {
                                    "type": "string",
                                    "description": "任期截止日期"
                                  },
                                  "lev": {
                                    "type": "string",
                                    "description": "任期职位类别"
                                  },
                                  "national": {
                                    "type": "string",
                                    "description": "国籍"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "姓名"
                                  },
                                  "gender": {
                                    "type": "string",
                                    "description": "性别"
                                  },
                                  "begin_date": {
                                    "type": "string",
                                    "description": "任期开始日期"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "edu": {
                                    "type": "string",
                                    "description": "学历"
                                  },
                                  "ann_date": {
                                    "type": "string",
                                    "description": "公布日期"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_73_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的A股上市公司代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "announce_limit",
            "in": "query",
            "description": "要查询的公布期限制，last表示查询最新公布出的一届高管信息，all表示查询历届高管信息",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-72": {
      "x-pointCode": 72,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "A股行业今日统计",
        "description": "通过行业代码查询CSRC分类行业当日收盘后的行情",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "remark": {
                              "type": "string",
                              "description": "错误新"
                            },
                            "kinds": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "gainers": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "领涨"
                                  },
                                  "total_tradeAmount": {
                                    "type": "number",
                                    "description": "子行业成交额（元）"
                                  },
                                  "laggards": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "领跌"
                                  },
                                  "circulation_value": {
                                    "type": "number",
                                    "description": "子行业流通市值（亿元）"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "子行业代码"
                                  },
                                  "rise_count": {
                                    "type": "number",
                                    "description": "股价上涨股票只数"
                                  },
                                  "total_count": {
                                    "type": "number",
                                    "description": "子行业交易股票只数"
                                  },
                                  "kind": {
                                    "type": "string",
                                    "description": "子行业"
                                  },
                                  "diff_rate": {
                                    "type": "number",
                                    "description": "子行业涨跌幅"
                                  },
                                  "reduce_count": {
                                    "type": "number",
                                    "description": "股价下跌股票只数"
                                  },
                                  "total_all_value": {
                                    "type": "number",
                                    "description": "子行业总市值（亿元）"
                                  },
                                  "total_tradeNum": {
                                    "type": "number",
                                    "description": "子行业成交量（股）"
                                  }
                                }
                              }
                            },
                            "genus": {
                              "type": "string",
                              "description": "行业"
                            },
                            "ut": {
                              "type": "string",
                              "description": "更新时间"
                            },
                            "code": {
                              "type": "string",
                              "description": "行业代码"
                            },
                            "circulation_value": {
                              "type": "number",
                              "description": "行业流通市值（亿元）"
                            },
                            "rise_count": {
                              "type": "number",
                              "description": "股价上涨股票只数"
                            },
                            "total_count": {
                              "type": "number",
                              "description": "行业交易股票只数"
                            },
                            "reduce_count": {
                              "type": "number",
                              "description": "股价下跌股票只数"
                            },
                            "total_all_value": {
                              "type": "number",
                              "description": "行业总市值（亿元）"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功"
                            },
                            "gainers": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "领涨"
                            },
                            "total_tradeAmount": {
                              "type": "number",
                              "description": "行业成交额（元）"
                            },
                            "laggards": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "领跌"
                            },
                            "diff_rate": {
                              "type": "number",
                              "description": "行业涨跌幅"
                            },
                            "total_tradeNum": {
                              "type": "number",
                              "description": "行业成交量（股）"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_72_POST",
        "parameters": [
          {
            "name": "genusCode",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-71": {
      "x-pointCode": 71,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "A股行业列表",
        "description": "查询A股CSRC（证监会）行业的名称、代码、股票列表",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "l": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "kinds": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "code": {
                                          "type": "string",
                                          "description": "子行业数字代码"
                                        },
                                        "stocks": {
                                          "type": "array",
                                          "items": {
                                            "type": "string"
                                          },
                                          "description": "子行业包含的股票代码"
                                        },
                                        "kind": {
                                          "type": "string",
                                          "description": "字行业"
                                        }
                                      }
                                    },
                                    "description": "子行业列表"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "行业英文代码"
                                  },
                                  "genus": {
                                    "type": "string",
                                    "description": "行业"
                                  }
                                }
                              },
                              "description": "行业列表"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_71_POST",
        "parameters": [
          {
            "name": "genusCode",
            "in": "query",
            "description": "要查询的CSRC行业代码：目前有A~S19个大行业代码。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kindCode",
            "in": "query",
            "description": "要查询的CSRC子行业代码，上传该参数即便没有找到结果也将扣减调用次数。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-70": {
      "x-pointCode": 70,
      "x-mode": "mapping",
      "x-read-timeout": 20,
      "x-connect-timeout": 10,
      "post": {
        "summary": "A股行业查询",
        "description": "查某只A股的CSRC（证监会）分类结果，CSRC每季度更新一次",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "是否查询成功！，若为-1表示CSRC还未公布分类结果或输入了错误的股票代码。"
                            },
                            "kCode": {
                              "type": "string",
                              "description": "子行业代码"
                            },
                            "gCode": {
                              "type": "string",
                              "description": "行业代码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_70_POST",
        "parameters": [
          {
            "name": "oneCode",
            "in": "query",
            "description": "要查询CSRC分类的A股代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-69": {
      "x-pointCode": 69,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "股票历史KDJ查询",
        "description": "查询沪深两市股票历史的KDJ（随机指数）（9,3,3）最大查询时间段跨度为31天。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "d": {
                                    "type": "number"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据日期"
                                  },
                                  "j": {
                                    "type": "number"
                                  },
                                  "k": {
                                    "type": "number"
                                  }
                                }
                              }
                            },
                            "code": {
                              "type": "string",
                              "description": "股票代码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_69_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的股票代码，注意不需要加市场代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "要查询的开始日期，数据格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "description": "要查询的结束日期，数据格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fqtype",
            "in": "query",
            "description": "数据复权类型，qfq表示前复权、hfq表示后复权、bfq表示不复权，默认不复权。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-68": {
      "x-pointCode": 68,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "国内证券市场交易日历",
        "description": "通过某日日期，查询国内证券市场是否开市交易",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "open": {
                              "type": "boolean",
                              "description": "查询的日期是否开市"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，找到结果，-1表示没有找到结果"
                            },
                            "market": {
                              "type": "string",
                              "description": "国内证券市场代码 sh表示上交所，sz表示深交所，hk表示港交所"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "date": {
                              "type": "string",
                              "description": "查询的日期"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_68_POST",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "description": "要查询的市场代码，包括：sh，sz，hk",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date",
            "in": "query",
            "description": "要查询的日期，格式为yyyyMMdd",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-67": {
      "x-pointCode": 67,
      "x-mode": "mapping",
      "x-read-timeout": 23,
      "x-connect-timeout": 10,
      "post": {
        "summary": "股票历史RSI查询",
        "description": "可以查询沪深股票的RSI（相对强弱指数），查询时间区间最大跨度为一个月",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示查询失败！"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "rsi12": {
                                    "type": "number",
                                    "description": "最近12个交易日的相对强弱指数"
                                  },
                                  "rsi6": {
                                    "type": "number",
                                    "description": "最近6个交易日的相对强弱指数"
                                  },
                                  "rsi24": {
                                    "type": "number",
                                    "description": "最近24个交易日的相对强弱指数"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据日期"
                                  }
                                }
                              }
                            },
                            "code": {
                              "type": "string",
                              "description": "股票代码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_67_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "要查询的开始日期，数据格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "description": "要查询的结束日期，数据格式为yyyyMMdd",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fqtype",
            "in": "query",
            "description": "数据复权类型，qfq表示前复权、hfq表示后复权、bfq表示不复权，默认不复权。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-66": {
      "x-pointCode": 66,
      "x-mode": "mapping",
      "x-read-timeout": 20,
      "x-connect-timeout": 10,
      "post": {
        "summary": "股票历史日均线",
        "description": "查询股票日均线数据，最多返回3个月数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示查询成功，-1表示失败"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "ma5": {
                                    "type": "number",
                                    "description": "5日均线（当该字段返回值为负一时说明没有值）"
                                  },
                                  "ma20": {
                                    "type": "number",
                                    "description": "20日均线"
                                  },
                                  "ma30": {
                                    "type": "number",
                                    "description": "30日均线"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据日期"
                                  },
                                  "ma60": {
                                    "type": "number",
                                    "description": "60日均线"
                                  },
                                  "ma10": {
                                    "type": "number",
                                    "description": "10日均线"
                                  }
                                }
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_66_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "date",
            "in": "query",
            "description": "要查询的日期，格式为yyyyMMdd，返回查询日期之前三个月(交易日)的MA数据",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fqtype",
            "in": "query",
            "description": "A股数据复权类型，支持\"'bfq\",\"qfq\",\"hfq\"，分别代表不复权，前复权和后复权，默认不复权。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-65": {
      "x-pointCode": 65,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "MACD历史数据查询",
        "description": "可以按天查询沪深股票的历史MACD数据，查询时间最大跨度为一个月",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number"
                            },
                            "remark": {
                              "type": "string"
                            },
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "dea": {
                                    "type": "number",
                                    "description": "dea数据"
                                  },
                                  "macd": {
                                    "type": "number",
                                    "description": "macd数据"
                                  },
                                  "dif": {
                                    "type": "number",
                                    "description": "dif数据"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "数据时间"
                                  }
                                }
                              }
                            },
                            "code": {
                              "type": "string",
                              "description": "股票代码"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_65_POST",
        "parameters": [
          {
            "name": "code",
            "in": "query",
            "description": "要查询的股票代码",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "要查询的的开始时间",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "end",
            "in": "query",
            "description": "要查询的结束时间",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fqtype",
            "in": "query",
            "description": "数据复权类型，qfq表示前复权、hfq表示后复权、bfq表示不复权，默认不复权。",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/131-63": {
      "x-pointCode": 63,
      "x-mode": "mapping",
      "x-read-timeout": 15,
      "x-connect-timeout": 15,
      "post": {
        "summary": "科创板股票列表",
        "description": "此接入点可以返回科创版股票信息，包括股票名称、股票代码等，每页固定返回40条数据，每日更新数据",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "为0时表示成功"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息，成功时返回空字符串"
                            },
                            "data": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {}
                              }
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_63_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "page": {
                    "type": "number",
                    "description": "页数，每页固定返回40条数据"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/131-61": {
      "x-pointCode": 61,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "查询中国港股板块中的股票列表",
        "description": "根据港股板块编码，查询某板块下所有的股票列表，比如查询 恒生行业、创业板、A+H、国企股、红筹股、蓝筹股板块下的股票列表。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "description": "股票编码"
                            },
                            "name": {
                              "type": "string",
                              "description": "751927.47345"
                            },
                            "currcapital_val": {
                              "type": "string",
                              "description": "流通市值，万元"
                            },
                            "totalcapital_val": {
                              "type": "string",
                              "description": "总市值，万元"
                            },
                            "market": {
                              "type": "string",
                              "description": "股市类型。 "
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_61_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "typeId": {
                    "type": "string",
                    "description": "板块id，其来源于【港股板块股票列表】接入点。"
                  },
                  "page": {
                    "type": "string",
                    "description": "返回第几页数据。每页最多返回40条记录。"
                  }
                },
                "required": [
                  "typeId",
                  "page"
                ]
              }
            }
          }
        }
      }
    },
    "/131-60": {
      "x-pointCode": 60,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "中国港股板块列表",
        "description": "查看四大板块细分类目列表，四大板块为 申万行业、概念板块、地域板块、证监会行业。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "板块名称"
                                  },
                                  "childList": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "code": {
                                          "type": "string",
                                          "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "板块名称"
                                        },
                                        "childList": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "code": {
                                                "type": "string",
                                                "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                              },
                                              "name": {
                                                "type": "string",
                                                "description": "板块名称"
                                              },
                                              "childList": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "code": {
                                                      "type": "string",
                                                      "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                    },
                                                    "name": {
                                                      "type": "string",
                                                      "description": "板块名称"
                                                    },
                                                    "childList": {
                                                      "type": "array",
                                                      "items": {
                                                        "type": "object",
                                                        "properties": {
                                                          "code": {
                                                            "type": "string",
                                                            "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                          },
                                                          "name": {
                                                            "type": "string",
                                                            "description": "板块名称"
                                                          },
                                                          "childList": {
                                                            "type": "array",
                                                            "items": {
                                                              "type": "object",
                                                              "properties": {
                                                                "code": {
                                                                  "type": "string",
                                                                  "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                                },
                                                                "name": {
                                                                  "type": "string",
                                                                  "description": "板块名称"
                                                                },
                                                                "childList": {
                                                                  "type": "array",
                                                                  "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                      "code": {
                                                                        "type": "string",
                                                                        "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                                      },
                                                                      "name": {
                                                                        "type": "string",
                                                                        "description": "板块名称"
                                                                      },
                                                                      "childList": {
                                                                        "type": "array",
                                                                        "items": {
                                                                          "type": "object"
                                                                        },
                                                                        "description": "下级板块"
                                                                      }
                                                                    }
                                                                  },
                                                                  "description": "下级板块"
                                                                }
                                                              }
                                                            },
                                                            "description": "下级板块"
                                                          }
                                                        }
                                                      },
                                                      "description": "下级板块"
                                                    }
                                                  }
                                                },
                                                "description": "下级板块"
                                              }
                                            }
                                          },
                                          "description": "下级板块"
                                        }
                                      }
                                    },
                                    "description": "下级板块"
                                  }
                                }
                              },
                              "description": "股票板块列表。"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_60_POST",
        "parameters": []
      }
    },
    "/131-59": {
      "x-pointCode": 59,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "查询沪深板块中的股票列表",
        "description": "根据板块编码，查询某板块下所有的股票列表，比如查询 申万行业、概念板块、地域板块、证监会行业板块下的股票列表。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "description": "股票编码"
                            },
                            "name": {
                              "type": "string",
                              "description": "751927.47345"
                            },
                            "currcapital_val": {
                              "type": "string",
                              "description": "流通市值，万元"
                            },
                            "totalcapital_val": {
                              "type": "string",
                              "description": "总市值，万元"
                            },
                            "market": {
                              "type": "string",
                              "description": "股市类型。sh深市，sz沪市"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_59_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "typeId": {
                    "type": "string",
                    "description": "板块id，其来源于【板块股票列表】接入点。"
                  },
                  "page": {
                    "type": "string",
                    "description": "返回第几页数据。每页最多返回40条记录。"
                  }
                },
                "required": [
                  "typeId",
                  "page"
                ]
              }
            }
          }
        }
      }
    },
    "/131-58": {
      "x-pointCode": 58,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "沪深股票板块列表",
        "description": "查看四大板块细分类目列表，四大板块为 申万行业、概念板块、地域板块、证监会行业。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "板块名称"
                                  },
                                  "childList": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "code": {
                                          "type": "string",
                                          "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                        },
                                        "name": {
                                          "type": "string",
                                          "description": "板块名称"
                                        },
                                        "childList": {
                                          "type": "array",
                                          "items": {
                                            "type": "object",
                                            "properties": {
                                              "code": {
                                                "type": "string",
                                                "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                              },
                                              "name": {
                                                "type": "string",
                                                "description": "板块名称"
                                              },
                                              "childList": {
                                                "type": "array",
                                                "items": {
                                                  "type": "object",
                                                  "properties": {
                                                    "code": {
                                                      "type": "string",
                                                      "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                    },
                                                    "name": {
                                                      "type": "string",
                                                      "description": "板块名称"
                                                    },
                                                    "childList": {
                                                      "type": "array",
                                                      "items": {
                                                        "type": "object",
                                                        "properties": {
                                                          "code": {
                                                            "type": "string",
                                                            "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                          },
                                                          "name": {
                                                            "type": "string",
                                                            "description": "板块名称"
                                                          },
                                                          "childList": {
                                                            "type": "array",
                                                            "items": {
                                                              "type": "object",
                                                              "properties": {
                                                                "code": {
                                                                  "type": "string",
                                                                  "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                                },
                                                                "name": {
                                                                  "type": "string",
                                                                  "description": "板块名称"
                                                                },
                                                                "childList": {
                                                                  "type": "array",
                                                                  "items": {
                                                                    "type": "object",
                                                                    "properties": {
                                                                      "code": {
                                                                        "type": "string",
                                                                        "description": "板块编码，如果此字段为它，说明肯定会有下级板块"
                                                                      },
                                                                      "name": {
                                                                        "type": "string",
                                                                        "description": "板块名称"
                                                                      },
                                                                      "childList": {
                                                                        "type": "array",
                                                                        "items": {
                                                                          "type": "object"
                                                                        },
                                                                        "description": "下级板块"
                                                                      }
                                                                    }
                                                                  },
                                                                  "description": "下级板块"
                                                                }
                                                              }
                                                            },
                                                            "description": "下级板块"
                                                          }
                                                        }
                                                      },
                                                      "description": "下级板块"
                                                    }
                                                  }
                                                },
                                                "description": "下级板块"
                                              }
                                            }
                                          },
                                          "description": "下级板块"
                                        }
                                      }
                                    },
                                    "description": "下级板块"
                                  }
                                }
                              },
                              "description": "股票板块列表。"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_58_POST",
        "parameters": []
      }
    },
    "/131-57": {
      "x-pointCode": 57,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "当日除权|停复牌|上市股票",
        "description": "可获取当日停复牌、新上市、除权等信息的股票列表。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "stopList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "停牌股票列表"
                            },
                            "recoverList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "复牌股票列表"
                            },
                            "startList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "首发上市股票列表"
                            },
                            "newStockNetPublishList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "首发新股网上发行列表"
                            },
                            "stockholderList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "股东资格登记日列表"
                            },
                            "addNewStockNetPublishList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "增发新股上市列表"
                            },
                            "shareRegistList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "分红转增股权登记列表"
                            },
                            "shareDividendList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "除权除息列表"
                            },
                            "stockAlarmList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "退市风险警示列表"
                            },
                            "date": {
                              "type": "string",
                              "description": "日期"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "接口调用是否成功,0表示成功,其他值表示失败"
                            },
                            "rationedSharesRegList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "配股股权登记日列表"
                            },
                            "rationedSharesList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "reason": {
                                    "type": "string",
                                    "description": "原因备注"
                                  }
                                }
                              },
                              "description": "配股上市日列表"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_57_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "date": {
                    "type": "string",
                    "description": "日期，格式为yyyyMMdd"
                  }
                },
                "required": [
                  "date"
                ]
              }
            }
          }
        }
      }
    },
    "/131-56": {
      "x-pointCode": 56,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "大盘历史日线查询",
        "description": "支持沪深数百支大盘指数查询，以及3支港股大盘（恒生指数hsi，国企指数hscei,红筹指数hscci）",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "date": {
                                    "type": "string",
                                    "description": "日期"
                                  },
                                  "open_price": {
                                    "type": "string",
                                    "description": "开盘价"
                                  },
                                  "max_price": {
                                    "type": "string",
                                    "description": "最高价"
                                  },
                                  "min_price": {
                                    "type": "string",
                                    "description": "最低价"
                                  },
                                  "close_price": {
                                    "type": "string",
                                    "description": "收盘价"
                                  },
                                  "diff_money": {
                                    "type": "string",
                                    "description": "涨跌额"
                                  },
                                  "diff_rate": {
                                    "type": "string",
                                    "description": "涨跌幅"
                                  },
                                  "trade_num": {
                                    "type": "string",
                                    "description": "交易量(手)"
                                  },
                                  "trade_money": {
                                    "type": "string",
                                    "description": "交易金额(元)"
                                  }
                                }
                              },
                              "description": "股指历史记录"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_56_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string",
                    "description": "股指代码。"
                  },
                  "month": {
                    "type": "string",
                    "description": "月份，格式为yyyyMM"
                  }
                },
                "required": [
                  "code",
                  "month"
                ]
              }
            }
          }
        }
      }
    },
    "/131-55": {
      "x-pointCode": 55,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "大盘股指列表查询",
        "description": "获取大盘股指列表数据，如上证转债，上证银行，上证150等",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "market": {
                              "type": "string",
                              "description": "市场简写"
                            },
                            "name": {
                              "type": "string",
                              "description": "股票名称"
                            },
                            "code": {
                              "type": "string",
                              "description": "编码"
                            },
                            "pinyin": {
                              "type": "string",
                              "description": "拼音首字母"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_55_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "market": {
                    "type": "string",
                    "description": "市场简写。支持 sh、sz、hk、bj"
                  },
                  "name": {
                    "type": "string",
                    "description": "股指名称，支持模糊查询"
                  },
                  "page": {
                    "type": "string",
                    "description": "第几页。每页最多返回50条记录"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/131-53": {
      "x-pointCode": 53,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "股票列表查询",
        "description": "股票列表查询API能够帮助用户获取沪深港三个证券交易所的股票列表，方便投资者进行数据分析和股票查看。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "contentlist": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "market": {
                                    "type": "string",
                                    "description": "市场缩写，比如SZ代表深圳交易所"
                                  },
                                  "pinyin": {
                                    "type": "string",
                                    "description": "股票拼音简写"
                                  },
                                  "totalcapital": {
                                    "type": "string",
                                    "description": "总股本，万股"
                                  },
                                  "currcapital": {
                                    "type": "string",
                                    "description": "流通股本，万股"
                                  },
                                  "profit_four": {
                                    "type": "string",
                                    "description": "最近四个季度净利润（亿元）"
                                  },
                                  "mgjzc": {
                                    "type": "string",
                                    "description": "每股净资产（元）"
                                  },
                                  "state": {
                                    "type": "string",
                                    "description": "1为上市，其他为停牌"
                                  },
                                  "listing_date": {
                                    "type": "string",
                                    "description": "上市日期"
                                  },
                                  "is_quit_market": {
                                    "type": "boolean",
                                    "description": "退市标志（不一定有该字段返回）"
                                  },
                                  "city": {
                                    "type": "string",
                                    "description": "公司城市（需要入参needCom=1才有该字段）"
                                  },
                                  "office": {
                                    "type": "string",
                                    "description": "公司地址（需要入参needCom=1才有该字段）"
                                  },
                                  "secretary": {
                                    "type": "string",
                                    "description": "董秘（需要入参needCom=1才有该字段）"
                                  },
                                  "province": {
                                    "type": "string",
                                    "description": "公司所在省（需要入参needCom=1才有该字段）"
                                  },
                                  "introduction": {
                                    "type": "string",
                                    "description": "公司简介（需要入参needCom=1才有该字段）"
                                  },
                                  "website": {
                                    "type": "string",
                                    "description": "公司网站（需要入参needCom=1才有该字段）"
                                  },
                                  "manager": {
                                    "type": "string",
                                    "description": "公司总经理（需要入参needCom=1才有该字段）"
                                  },
                                  "chairman": {
                                    "type": "string",
                                    "description": "公司董事长（需要入参needCom=1才有该字段）"
                                  },
                                  "business_scope": {
                                    "type": "string",
                                    "description": "公司经营范围（需要入参needCom=1才有该字段）"
                                  },
                                  "setup_date": {
                                    "type": "string",
                                    "description": "公司注册日期（格式为yyyyMMdd 需要入参needCom=1才有该字段）"
                                  },
                                  "main_business": {
                                    "type": "string",
                                    "description": "公司主要业务（需要入参needCom=1才有该字段）"
                                  },
                                  "employees": {
                                    "type": "string",
                                    "description": "公司公布雇员数 （需要入参needCom=1才有该字段）"
                                  }
                                }
                              },
                              "description": "股票列表"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_53_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "market": {
                    "type": "string",
                    "description": "市场简写。支持 sh、sz、hk"
                  },
                  "name": {
                    "type": "string",
                    "description": "股票名称，可以模糊匹配"
                  },
                  "code": {
                    "type": "string",
                    "description": "股票编码"
                  },
                  "page": {
                    "type": "string",
                    "description": "页数。"
                  },
                  "needCom": {
                    "type": "string",
                    "description": "是否返回上市公司相关信息字段，1表示需要，0表示不需要，默认不需要。(香港联交所上市的股票暂无公司信息）"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/131-47": {
      "x-pointCode": 47,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 10,
      "post": {
        "summary": "股票历史日线数据查询",
        "description": "目前可以查询沪深股市的复权日K线，单次查询最大日期跨度为一个季度.",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "close_price": {
                                    "type": "string",
                                    "description": "收盘价"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票代码"
                                  },
                                  "date": {
                                    "type": "string",
                                    "description": "日期，例如2015-09-02"
                                  },
                                  "market": {
                                    "type": "string",
                                    "description": "市场，例如sh"
                                  },
                                  "max_price": {
                                    "type": "string",
                                    "description": "最高价"
                                  },
                                  "min_price": {
                                    "type": "string",
                                    "description": "最低价"
                                  },
                                  "open_price": {
                                    "type": "string",
                                    "description": "开盘价"
                                  },
                                  "stockName": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "trade_money": {
                                    "type": "string",
                                    "description": "交易金额元"
                                  },
                                  "trade_num": {
                                    "type": "string",
                                    "description": "交易手数"
                                  },
                                  "diff_money": {
                                    "type": "string",
                                    "description": "涨跌额"
                                  },
                                  "swing": {
                                    "type": "string",
                                    "description": "振幅"
                                  },
                                  "diff_rate": {
                                    "type": "string",
                                    "description": "涨跌幅"
                                  },
                                  "turnover": {
                                    "type": "string",
                                    "description": "换手率"
                                  }
                                }
                              },
                              "description": "历史记录的列表 "
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_47_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "begin": {
                    "type": "string",
                    "description": "开始日期，格式yyyy-MM-dd.最早到2000-01-01日。"
                  },
                  "end": {
                    "type": "string",
                    "description": "结束日期，格式yyyy-MM-dd，单次查询最大日期跨度为一个季度"
                  },
                  "code": {
                    "type": "string",
                    "description": "股票编码，不需要写市场名"
                  },
                  "type": {
                    "type": "string",
                    "description": "K线数据复权类型，qfq代表“前复权”，hfq代表“后复权”，bfq代表“不复权”，默认值为bfq，港股数据暂时只有不复权的。"
                  }
                },
                "required": [
                  "begin",
                  "end",
                  "code"
                ]
              }
            }
          }
        }
      }
    },
    "/131-43": {
      "x-pointCode": 43,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "名称|编码|拼音查询股票信息",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "description": "股票名称"
                                  },
                                  "code": {
                                    "type": "string",
                                    "description": "股票编码"
                                  },
                                  "market": {
                                    "type": "string",
                                    "description": "市场缩写，比如SZ代表深圳交易所"
                                  },
                                  "pinyin": {
                                    "type": "string",
                                    "description": "股票拼音简写"
                                  },
                                  "totalcapital": {
                                    "type": "string",
                                    "description": "总股本，万股"
                                  },
                                  "currcapital": {
                                    "type": "string",
                                    "description": "流通股本，万股"
                                  },
                                  "profit_four": {
                                    "type": "string",
                                    "description": "最近四个季度净利润（亿元）"
                                  },
                                  "mgjzc": {
                                    "type": "string",
                                    "description": "每股净资产（元）"
                                  },
                                  "state": {
                                    "type": "string",
                                    "description": "1为上市，其他为停牌"
                                  },
                                  "listing_date": {
                                    "type": "string",
                                    "description": "上市日期"
                                  }
                                }
                              },
                              "description": "返回符合条件的股票列表"
                            },
                            "ret_code": {
                              "type": "string",
                              "description": "0为成功，其他失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "131_43_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "要查询的股票名称。name和code和pinyin必须三选一输入。"
                  },
                  "code": {
                    "type": "string",
                    "description": "比如002739,不需要输入市场编码。支持模糊查询，至少输入3位code，系统返回匹配的前100条记录。"
                  },
                  "pinyin": {
                    "type": "string",
                    "description": "拼音首字母，可前置模糊查询"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/131?tab=book"
  },
  "x-apiCode": "131",
  "x-is-own": false,
  "x-is-op": true
}