{"openapi":"3.1.0","info":{"title":"QuantSource API · 债券","description":"QuantSourceAPI 是 QuantSource 的 HTTP API 工具, 主要目的是使 QuantSource 的数据接口部署到服务器，从而让用户通过 HTTP 访问相关接口来获取所需要的数据","version":"0.1.0"},"paths":{"/api/public/bond_available_index_cbond":{"get":{"tags":["债券"],"summary":"公开接口：bond_available_index_cbond","description":"中国债券信息网-中债指数-中债指数族系 当中，非指定期限部分\nhttps://yield.chinabond.com.cn/cbweb-mn/indices/singleIndexQueryResult\n:return: 可选项列表\n:rtype: list","operationId":"public_bond_available_index_cbond","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_buy_back_hist_em":{"get":{"tags":["债券"],"summary":"公开接口：bond_buy_back_hist_em","description":"东方财富网-行情中心-债券市场-质押式回购-历史数据\nhttps://quote.eastmoney.com/center/gridlist.html#bond_sh_buyback\n:param symbol: 质押式回购代码\n:type symbol: str\n:return: 历史数据\n:rtype: pandas.DataFrame","operationId":"public_bond_buy_back_hist_em","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"204001\"；质押式回购代码","default":"204001","title":"Symbol"},"description":"symbol=\"204001\"；质押式回购代码"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cash_summary_sse":{"get":{"tags":["债券"],"summary":"公开接口：bond_cash_summary_sse","description":"上登债券信息网-市场数据-市场统计-市场概览-债券现券市场概览\nhttp://bond.sse.com.cn/data/statistics/overview/bondow/\n:param date: 指定日期\n:type date: str\n:return: 债券成交概览\n:rtype: pandas.DataFrame","operationId":"public_bond_cash_summary_sse","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string","description":"date='20200111'","default":"20210111","title":"Date"},"description":"date='20200111'"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cb_adj_logs_jsl":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_adj_logs_jsl","description":"集思录-可转债转股价-调整记录\nhttps://www.jisilu.cn/data/cbnew/#cb\n:param symbol: 可转债代码\n:type symbol: str\n:return: 转股价调整记录\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_adj_logs_jsl","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"128013\"；可转债代码","default":"128013","title":"Symbol"},"description":"symbol=\"128013\"；可转债代码"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cb_index_jsl":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_index_jsl","description":"首页-可转债-集思录可转债等权指数\nhttps://www.jisilu.cn/web/data/cb/index\n:return: 集思录可转债等权指数\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_index_jsl","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_cb_jsl":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_jsl","description":"集思录可转债\nhttps://www.jisilu.cn/data/cbnew/#cb\n:param cookie: 输入获取到的游览器 cookie\n:type cookie: str\n:return: 集思录可转债\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_jsl","parameters":[{"name":"cookie","in":"query","required":false,"schema":{"type":"string","description":"cookie=''；此处输入您的集思录 cookie 就可以获取完整数据，否则只能返回前 30 条","title":"Cookie"},"description":"cookie=''；此处输入您的集思录 cookie 就可以获取完整数据，否则只能返回前 30 条"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cb_profile_sina":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_profile_sina","description":"新浪财经-债券-可转债-详情资料\nhttps://money.finance.sina.com.cn/bond/info/sz128039.html\n:param symbol: 带市场标识的转债代码\n:type symbol: str\n:return: 可转债-详情资料\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_profile_sina","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"sz128039\"；带市场标识的转债代码","default":"sz128039","title":"Symbol"},"description":"symbol=\"sz128039\"；带市场标识的转债代码"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cb_redeem_jsl":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_redeem_jsl","description":"集思录可转债-强赎\nhttps://www.jisilu.cn/data/cbnew/#redeem\n:return: 集思录可转债-强赎\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_redeem_jsl","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_cb_summary_sina":{"get":{"tags":["债券"],"summary":"公开接口：bond_cb_summary_sina","description":"新浪财经-债券-可转债-债券概况\nhttps://money.finance.sina.com.cn/bond/quotes/sh155255.html\n:param symbol: 带市场标识的转债代码\n:type symbol: str\n:return: 可转债-债券概况\n:rtype: pandas.DataFrame","operationId":"public_bond_cb_summary_sina","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"sh155255\"；带市场标识的转债代码","default":"sh155255","title":"Symbol"},"description":"symbol=\"sh155255\"；带市场标识的转债代码"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_china_close_return":{"get":{"tags":["债券"],"summary":"公开接口：bond_china_close_return","description":"收盘收益率曲线历史数据\nhttps://www.chinamoney.com.cn/chinese/bkcurvclosedyhis/?bondType=CYCC000&reference=1\n:param symbol: 需要获取的指标\n:type period: choice of {'0.1', '0.5', '1'}\n:param period: 期限间隔\n:type symbol: str\n:param start_date: 开始日期，结束日期和开始日期不要超过 1 个月\n:type start_date: str\n:param end_date: 结束日期，结束日期和开始日期不要超过 1 个月\n:type end_date: str\n:return: 收盘收益率曲线历史数据\n:rtype: pandas.DataFrame","operationId":"public_bond_china_close_return","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"政策性金融债(进出口行)\"；通过网页查询或调用 **qs.bond_china_close_return_map()** 获取","default":"国债","title":"Symbol"},"description":"symbol=\"政策性金融债(进出口行)\"；通过网页查询或调用 **qs.bond_china_close_return_map()** 获取"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"period: str = \"1\"；期限间隔，choice of {'0.1', '0.5', '1'}","default":"1","title":"Period"},"description":"period: str = \"1\"；期限间隔，choice of {'0.1', '0.5', '1'}"},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20231101\"；结束日期，结束日期和开始日期不要超过 1 个月","default":"20231101","title":"Start Date"},"description":"start_date=\"20231101\"；结束日期，结束日期和开始日期不要超过 1 个月"},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20231101\"；结束日期，结束日期和开始日期不要超过 1 个月","default":"20231101","title":"End Date"},"description":"end_date=\"20231101\"；结束日期，结束日期和开始日期不要超过 1 个月"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_china_close_return_map":{"get":{"tags":["债券"],"summary":"公开接口：bond_china_close_return_map","description":"收盘收益率曲线历史数据\nhttps://www.chinamoney.com.cn/chinese/bkcurvclosedyhis/?bondType=CYCC000&reference=1\n:return: 收盘收益率曲线历史数据\n:rtype: pandas.DataFrame","operationId":"public_bond_china_close_return_map","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_china_yield":{"get":{"tags":["债券"],"summary":"公开接口：bond_china_yield","description":"中国债券信息网-国债及其他债券收益率曲线\nhttps://www.chinabond.com.cn/\nhttps://yield.chinabond.com.cn/cbweb-pbc-web/pbc/historyQuery?startDate=2019-02-07&endDate=2020-02-04&gjqx=0&qxId=ycqx&locale=cn_ZH\n注意：end_date - start_date 应该小于一年\n:param start_date: 需要查询的日期，返回在该日期之后一年内的数据\n:type start_date: str\n:param end_date: 需要查询的日期，返回在该日期之前一年内的数据\n:type end_date: str\n:return: 返回在指定日期之间之前一年内的数据\n:rtype: pandas.DataFrame","operationId":"public_bond_china_yield","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20190204\"，指定开始日期；start_date 到 end_date 需要小于一年","default":"20200204","title":"Start Date"},"description":"start_date=\"20190204\"，指定开始日期；start_date 到 end_date 需要小于一年"},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20200204\"，指定结束日期；start_date 到 end_date 需要小于一年","default":"20210124","title":"End Date"},"description":"end_date=\"20200204\"，指定结束日期；start_date 到 end_date 需要小于一年"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_composite_index_cbond":{"get":{"tags":["债券"],"summary":"公开接口：bond_composite_index_cbond","description":"中国债券信息网-中债指数-中债指数族系-总指数-综合类指数-中债-综合指数\nhttps://yield.chinabond.com.cn/cbweb-mn/indices/single_index_query\n:param indicator: choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\",\n\"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\",\n\"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}\n:type indicator: str\n:param period: choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\",\n\"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}\n:type period: str\n:return: 新综合指数\n:rtype: pandas.DataFrame","operationId":"public_bond_composite_index_cbond","parameters":[{"name":"indicator","in":"query","required":false,"schema":{"type":"string","description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}","default":"财富","title":"Indicator"},"description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"period=\"总值\"; choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\", \"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}","default":"总值","title":"Period"},"description":"period=\"总值\"; choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\", \"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_corporate_issue_cninfo":{"get":{"tags":["债券"],"summary":"公开接口：bond_corporate_issue_cninfo","description":"巨潮资讯-数据中心-专题统计-债券报表-债券发行-企业债发行\nhttp://webapi.cninfo.com.cn/#/thematicStatistics\n:param start_date: 开始统计时间\n:type start_date: str\n:param end_date: 开始统计时间\n:type end_date: str\n:return: 企业债发行\n:rtype: pandas.DataFrame","operationId":"public_bond_corporate_issue_cninfo","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20210911\"","default":"20210911","title":"Start Date"},"description":"start_date=\"20210911\""},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20211110\"","default":"20211110","title":"End Date"},"description":"end_date=\"20211110\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cov_comparison":{"get":{"tags":["债券"],"summary":"公开接口：bond_cov_comparison","description":"东方财富网-行情中心-债券市场-可转债比价表\nhttps://quote.eastmoney.com/center/fullscreenlist.html#convertible_comparison\n:return: 可转债比价表数据\n:rtype: pandas.DataFrame","operationId":"public_bond_cov_comparison","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_cov_issue_cninfo":{"get":{"tags":["债券"],"summary":"公开接口：bond_cov_issue_cninfo","description":"巨潮资讯-数据中心-专题统计-债券报表-债券发行-可转债发行\nhttp://webapi.cninfo.com.cn/#/thematicStatistics\n:param start_date: 开始统计时间\n:type start_date: str\n:param end_date: 开始统计时间\n:type end_date: str\n:return: 可转债发行\n:rtype: pandas.DataFrame","operationId":"public_bond_cov_issue_cninfo","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20210913\"","default":"20210913","title":"Start Date"},"description":"start_date=\"20210913\""},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20211112\"","default":"20211112","title":"End Date"},"description":"end_date=\"20211112\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_cov_stock_issue_cninfo":{"get":{"tags":["债券"],"summary":"公开接口：bond_cov_stock_issue_cninfo","description":"巨潮资讯-数据中心-专题统计-债券报表-债券发行-可转债转股\nhttp://webapi.cninfo.com.cn/#/thematicStatistics\n:return: 可转债转股\n:rtype: pandas.DataFrame","operationId":"public_bond_cov_stock_issue_cninfo","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_deal_summary_sse":{"get":{"tags":["债券"],"summary":"公开接口：bond_deal_summary_sse","description":"上登债券信息网-市场数据-市场统计-市场概览-债券成交概览\nhttp://bond.sse.com.cn/data/statistics/overview/turnover/\n:param date: 指定日期\n:type date: str\n:return: 债券成交概览\n:rtype: pandas.DataFrame","operationId":"public_bond_deal_summary_sse","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string","description":"date='20200104'","default":"20210104","title":"Date"},"description":"date='20200104'"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_debt_nafmii":{"get":{"tags":["债券"],"summary":"公开接口：bond_debt_nafmii","description":"中国银行间市场交易商协会-非金融企业债务融资工具注册信息系统\nhttp://zhuce.nafmii.org.cn/fans/publicQuery/manager\n:param page: 输入数字页码\n:type page: int\n:return: 指定 sector 和 indicator 的数据\n:rtype: pandas.DataFrame","operationId":"public_bond_debt_nafmii","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"string","description":"page=\"1\"，需要获取第 page 页","default":"1","title":"Page"},"description":"page=\"1\"，需要获取第 page 页"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_gb_us_sina":{"get":{"tags":["债券"],"summary":"公开接口：bond_gb_us_sina","description":"新浪财经-债券-美国国债收益率行情数据\nhttps://stock.finance.sina.com.cn/forex/globalbd/cn10yt.html\n:param symbol: choice of {\"美国1月期国债\", \"美国2月期国债\", \"美国3月期国债\", \"美国4月期国债\", \"美国6月期国债\", \"美国1年期国债\", \"美国2年期国债\", \"美国3年期国债\", \"美国5年期国债\", \"美国7年期国债\", \"美国10年期国债\", \"美国20年期国债\", \"美国30年期国债\"}\n:type symbol: str\n:return: 美国国债收益率行情数据\n:rtype: pandas.DataFrame","operationId":"public_bond_gb_us_sina","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"美国10年期国债\"; choice of {\"美国1月期国债\", \"美国2月期国债\", \"美国3月期国债\", \"美国4月期国债\", \"美国6月期国债\", \"美国1年期国债\", \"美国2年期国债\", \"美国3年期国债\", \"美国5年期国债\", \"美国7年期国债\", \"美国10年期国债\", \"美国20年期国债\", \"美国30年期国债\"}","default":"美国10年期国债","title":"Symbol"},"description":"symbol=\"美国10年期国债\"; choice of {\"美国1月期国债\", \"美国2月期国债\", \"美国3月期国债\", \"美国4月期国债\", \"美国6月期国债\", \"美国1年期国债\", \"美国2年期国债\", \"美国3年期国债\", \"美国5年期国债\", \"美国7年期国债\", \"美国10年期国债\", \"美国20年期国债\", \"美国30年期国债\"}"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_gb_zh_sina":{"get":{"tags":["债券"],"summary":"公开接口：bond_gb_zh_sina","description":"新浪财经-债券-中国国债收益率行情数据\nhttps://stock.finance.sina.com.cn/forex/globalbd/cn10yt.html\n:param symbol: choice of {\"中国1年期国债\", \"中国2年期国债\", \"中国3年期国债\", \"中国5年期国债\", \"中国7年期国债\", \"中国10年期国债\", \"中国15年期国债\", \"中国20年期国债\", \"中国30年期国债\"}\n:type symbol: str\n:return: 中国国债收益率行情数据\n:rtype: pandas.DataFrame","operationId":"public_bond_gb_zh_sina","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"中国10年期国债\"; choice of {\"中国1年期国债\", \"中国2年期国债\", \"中国3年期国债\", \"中国5年期国债\", \"中国7年期国债\", \"中国10年期国债\", \"中国15年期国债\", \"中国20年期国债\", \"中国30年期国债\"}","default":"中国10年期国债","title":"Symbol"},"description":"symbol=\"中国10年期国债\"; choice of {\"中国1年期国债\", \"中国2年期国债\", \"中国3年期国债\", \"中国5年期国债\", \"中国7年期国债\", \"中国10年期国债\", \"中国15年期国债\", \"中国20年期国债\", \"中国30年期国债\"}"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_index_general_cbond":{"get":{"tags":["债券"],"summary":"公开接口：bond_index_general_cbond","description":"中国债券信息网-中债指数-中债指数族系\nhttps://yield.chinabond.com.cn/cbweb-mn/indices/singleIndexQueryResult\n:param index_category: see result of available_bond_index()\n:type index_category: str\n:param indicator: choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}\n:type indicator: str\n:param period: choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\", \"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}\n:type period: str\n:return: 指定指数的指定指标的指定期限分段数据\n:rtype: pandas.DataFrame","operationId":"public_bond_index_general_cbond","parameters":[{"name":"index_category","in":"query","required":false,"schema":{"type":"string","description":"index_category=\"新综合指数\"; index_category 取值参考 `qs.bond_available_index_cbond()` 的返回结果","default":"新综合指数","title":"Index Category"},"description":"index_category=\"新综合指数\"; index_category 取值参考 `qs.bond_available_index_cbond()` 的返回结果"},{"name":"indicator","in":"query","required":false,"schema":{"type":"string","description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}","default":"全价","title":"Indicator"},"description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"bond_index_general_cbond 的 period 参数","default":"总值","title":"Period"},"description":"bond_index_general_cbond 的 period 参数"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_info_cm":{"get":{"tags":["债券"],"summary":"公开接口：bond_info_cm","description":"中国外汇交易中心暨全国银行间同业拆借中心-数据-债券信息-信息查询\nhttps://www.chinamoney.com.cn/chinese/scsjzqxx/\n:param bond_name: 债券名称\n:type bond_name: str\n:param bond_code: 债券代码\n:type bond_code: str\n:param bond_issue: 发行人/受托机构\n:type bond_issue: str\n:param bond_type: 债券类型\n:type bond_type: str\n:param coupon_type: 息票类型\n:type coupon_type: str\n:param issue_year: 发行年份\n:type issue_year: str\n:param underwriter: 主承销商\n:type underwriter: str\n:param grade: 评级等级\n:type grade: str\n:return: 信息查询结果\n:rtype: pandas.DataFrame","operationId":"public_bond_info_cm","parameters":[{"name":"bond_name","in":"query","required":false,"schema":{"type":"string","description":"bond_name=\"\"；默认为空","default":"","title":"Bond Name"},"description":"bond_name=\"\"；默认为空"},{"name":"bond_code","in":"query","required":false,"schema":{"type":"string","description":"bond_code=\"\"；默认为空","default":"","title":"Bond Code"},"description":"bond_code=\"\"；默认为空"},{"name":"bond_issue","in":"query","required":false,"schema":{"type":"string","description":"bond_issue=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数","default":"","title":"Bond Issue"},"description":"bond_issue=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数"},{"name":"bond_type","in":"query","required":false,"schema":{"type":"string","description":"bond_type=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数","default":"","title":"Bond Type"},"description":"bond_type=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数"},{"name":"coupon_type","in":"query","required":false,"schema":{"type":"string","description":"coupon_type=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数","default":"","title":"Coupon Type"},"description":"coupon_type=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数"},{"name":"issue_year","in":"query","required":false,"schema":{"type":"string","description":"issue_year=\"\"；默认为空","default":"","title":"Issue Year"},"description":"issue_year=\"\"；默认为空"},{"name":"underwriter","in":"query","required":false,"schema":{"type":"string","description":"underwriter=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数","default":"","title":"Underwriter"},"description":"underwriter=\"\"；默认为空，通过 qs.bond_info_cm_query() 查询相关参数"},{"name":"grade","in":"query","required":false,"schema":{"type":"string","description":"grade=\"\"；默认为空","default":"","title":"Grade"},"description":"grade=\"\"；默认为空"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_info_cm_query":{"get":{"tags":["债券"],"summary":"公开接口：bond_info_cm_query","description":"中国外汇交易中心暨全国银行间同业拆借中心-查询相关指标的参数\nhttps://www.chinamoney.com.cn/chinese/scsjzqxx/\n:param symbol: choice of {\"主承销商\", \"债券类型\", \"息票类型\", \"发行年份\", \"评级等级\"}\n:type symbol: str\n:return: 查询相关指标的参数\n:rtype: pandas.DataFrame","operationId":"public_bond_info_cm_query","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"bond_info_cm_query 的 symbol 参数","default":"评级等级","title":"Symbol"},"description":"bond_info_cm_query 的 symbol 参数"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_info_detail_cm":{"get":{"tags":["债券"],"summary":"公开接口：bond_info_detail_cm","description":"中国外汇交易中心暨全国银行间同业拆借中心-数据-债券信息-信息查询-债券详情\nhttps://www.chinamoney.com.cn/chinese/zqjc/?bondDefinedCode=egfjh08154\n:param symbol: 债券简称\n:type symbol: str\n:return: 债券详情\n:rtype: pandas.DataFrame","operationId":"public_bond_info_detail_cm","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"19万林投资CP001\"；通过 qs.bond_info_cm() 查询 债券简称","default":"淮安农商行CDSD2022021012","title":"Symbol"},"description":"symbol=\"19万林投资CP001\"；通过 qs.bond_info_cm() 查询 债券简称"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_local_government_issue_cninfo":{"get":{"tags":["债券"],"summary":"公开接口：bond_local_government_issue_cninfo","description":"巨潮资讯-数据中心-专题统计-债券报表-债券发行-地方债发行\nhttp://webapi.cninfo.com.cn/#/thematicStatistics\n:param start_date: 开始统计时间\n:type start_date: str\n:param end_date: 开始统计时间\n:type end_date: str\n:return: 地方债发行\n:rtype: pandas.DataFrame","operationId":"public_bond_local_government_issue_cninfo","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20210911\"","default":"20210911","title":"Start Date"},"description":"start_date=\"20210911\""},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20211110\"","default":"20211110","title":"End Date"},"description":"end_date=\"20211110\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_new_composite_index_cbond":{"get":{"tags":["债券"],"summary":"公开接口：bond_new_composite_index_cbond","description":"中国债券信息网-中债指数-中债指数族系-总指数-综合类指数-中债-新综合指数\nhttps://yield.chinabond.com.cn/cbweb-mn/indices/single_index_query\n:param indicator: choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\",\n\"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\",\n\"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}\n:type indicator: str\n:param period: choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\",\n\"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}\n:type period: str\n:return: 新综合指数\n:rtype: pandas.DataFrame","operationId":"public_bond_new_composite_index_cbond","parameters":[{"name":"indicator","in":"query","required":false,"schema":{"type":"string","description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}","default":"财富","title":"Indicator"},"description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\", \"平均市值法久期\", \"平均现金流法久期\", \"平均市值法凸性\", \"平均现金流法凸性\", \"平均现金流法到期收益率\", \"平均市值法到期收益率\", \"平均基点价值\", \"平均待偿期\", \"平均派息率\", \"指数上日总市值\", \"财富指数涨跌幅\", \"全价指数涨跌幅\", \"净价指数涨跌幅\", \"现券结算量\"}"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"period=\"总值\"; choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\", \"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}","default":"总值","title":"Period"},"description":"period=\"总值\"; choice of {\"总值\", \"1年以下\", \"1-3年\", \"3-5年\", \"5-7年\", \"7-10年\", \"10年以上\", \"0-3个月\", \"3-6个月\", \"6-9个月\", \"9-12个月\", \"0-6个月\", \"6-12个月\"}"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_sh_buy_back_em":{"get":{"tags":["债券"],"summary":"公开接口：bond_sh_buy_back_em","description":"东方财富网-行情中心-债券市场-上证质押式回购\nhttps://quote.eastmoney.com/center/gridlist.html#bond_sh_buyback\n:return: 上证质押式回购\n:rtype: pandas.DataFrame","operationId":"public_bond_sh_buy_back_em","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_spot_deal":{"get":{"tags":["债券"],"summary":"公开接口：bond_spot_deal","description":"中国外汇交易中心暨全国银行间同业拆借中心-市场数据-债券市场行情-现券市场成交行情\nhttps://www.chinamoney.com.cn/chinese/mkdatabond/\n:return: 现券市场成交行情\n:rtype: pandas.DataFrame","operationId":"public_bond_spot_deal","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_spot_quote":{"get":{"tags":["债券"],"summary":"公开接口：bond_spot_quote","description":"中国外汇交易中心暨全国银行间同业拆借中心-市场数据-债券市场行情-现券市场做市报价\nhttps://www.chinamoney.com.cn/chinese/mkdatabond/\n:return: 现券市场做市报价\n:rtype: pandas.DataFrame","operationId":"public_bond_spot_quote","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_sz_buy_back_em":{"get":{"tags":["债券"],"summary":"公开接口：bond_sz_buy_back_em","description":"东方财富网-行情中心-债券市场-深证质押式回购\nhttps://quote.eastmoney.com/center/gridlist.html#bond_sz_buyback\n:return: 深证质押式回购\n:rtype: pandas.DataFrame","operationId":"public_bond_sz_buy_back_em","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_treasure_issue_cninfo":{"get":{"tags":["债券"],"summary":"公开接口：bond_treasure_issue_cninfo","description":"巨潮资讯-数据中心-专题统计-债券报表-债券发行-国债发行\nhttp://webapi.cninfo.com.cn/#/thematicStatistics\n:param start_date: 开始统计时间\n:type start_date: str\n:param end_date: 结束统计数据\n:type end_date: str\n:return: 国债发行\n:rtype: pandas.DataFrame","operationId":"public_bond_treasure_issue_cninfo","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"20210911\"","default":"20210910","title":"Start Date"},"description":"start_date=\"20210911\""},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"20211110\"","default":"20211109","title":"End Date"},"description":"end_date=\"20211110\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_treasury_index_cbond":{"get":{"tags":["债券"],"summary":"公开接口：bond_treasury_index_cbond","description":"中国债券信息网-中债指数-中债指数族系-总指数-综合类指数-中债-国债指数\nhttps://yield.chinabond.com.cn/cbweb-mn/indices/single_index_query\n:param indicator: choice of {\"全价\", \"净价\", \"财富\"}\n:type indicator: str\n:param period: choice of {'0-1Y', '0-3Y', '0-5Y', '0-10Y', '1-3Y', '1-5Y', '1-10Y',\n'3-5Y', '5Y', '7Y', '7-10Y', '10Y', '30Y'}\n:type period: str\n:return: 国债指数\n:rtype: pandas.DataFrame","operationId":"public_bond_treasury_index_cbond","parameters":[{"name":"indicator","in":"query","required":false,"schema":{"type":"string","description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\"}","default":"财富","title":"Indicator"},"description":"indicator=\"财富\"; choice of {\"全价\", \"净价\", \"财富\"}"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"period=\"5Y\"; choice of {'0-1Y', '0-3Y', '0-5Y', '0-10Y', '1-3Y', '1-5Y', '1-10Y', '3-5Y', '5Y', '7Y', '7-10Y', '10Y', '30Y'}","default":"5Y","title":"Period"},"description":"period=\"5Y\"; choice of {'0-1Y', '0-3Y', '0-5Y', '0-10Y', '1-3Y', '1-5Y', '1-10Y', '3-5Y', '5Y', '7Y', '7-10Y', '10Y', '30Y'}"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_cov":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_cov","description":"东方财富网-数据中心-新股数据-可转债数据\nhttps://data.eastmoney.com/kzz/default.html\n:return: 可转债数据\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_cov","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_zh_cov_info":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_cov_info","description":"https://data.eastmoney.com/kzz/detail/123121.html\n东方财富网-数据中心-新股数据-可转债详情\n:param symbol: 可转债代码\n:type symbol: str\n:param indicator: choice of {\"基本信息\", \"中签号\", \"筹资用途\", \"重要日期\"}\n:type indicator: str\n:return: 可转债详情\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_cov_info","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"123121\"；可转债代码","default":"123121","title":"Symbol"},"description":"symbol=\"123121\"；可转债代码"},{"name":"indicator","in":"query","required":false,"schema":{"type":"string","description":"indicator=\"基本信息\"; choice of {\"基本信息\", \"中签号\", \"筹资用途\", \"重要日期\"}，其中 \"可转债重要条款\" 在 \"基本信息中\"","default":"基本信息","title":"Indicator"},"description":"indicator=\"基本信息\"; choice of {\"基本信息\", \"中签号\", \"筹资用途\", \"重要日期\"}，其中 \"可转债重要条款\" 在 \"基本信息中\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_cov_info_ths":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_cov_info_ths","description":"同花顺-数据中心-可转债\nhttps://data.10jqka.com.cn/ipo/bond/\n:return: 可转债行情\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_cov_info_ths","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_zh_cov_value_analysis":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_cov_value_analysis","description":"https://data.eastmoney.com/kzz/detail/113527.html\n东方财富网-数据中心-新股数据-可转债数据-价值分析-溢价率分析\n:param symbol: 可转债代码\n:type symbol: str\n:return: 可转债价值分析\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_cov_value_analysis","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"113527\"；可转债代码","default":"113527","title":"Symbol"},"description":"symbol=\"113527\"；可转债代码"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_hs_cov_daily":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_cov_daily","description":"新浪财经-债券-沪深可转债的历史行情数据，大量抓取容易封 IP\nhttps://vip.stock.finance.sina.com.cn/mkt/#hskzz_z\n:param symbol: 沪深可转债代码；e.g., sh010107\n:type symbol: str\n:return: 指定沪深可转债代码的日 K 线数据\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_cov_daily","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"sh113542\"","default":"sh010107","title":"Symbol"},"description":"symbol=\"sh113542\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_hs_cov_min":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_cov_min","description":"东方财富网-可转债-分时行情\nhttps://quote.eastmoney.com/concept/sz128039.html\n:param symbol: 转债代码\n:type symbol: str\n:param period: choice of {'1', '5', '15', '30', '60'}\n:type period: str\n:param adjust: choice of {'', 'qfq', 'hfq'}\n:type adjust: str\n:param start_date: 开始日期\n:type start_date: str\n:param end_date: 结束日期\n:type end_date: str\n:return: 分时行情\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_cov_min","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol='sz123106'；转债代码","default":"sz128039","title":"Symbol"},"description":"symbol='sz123106'；转债代码"},{"name":"period","in":"query","required":false,"schema":{"type":"string","description":"period='5'; choice of {'1', '5', '15', '30', '60'}；其中 1 分钟数据返回近 1 个交易日数据且不复权","default":"15","title":"Period"},"description":"period='5'; choice of {'1', '5', '15', '30', '60'}；其中 1 分钟数据返回近 1 个交易日数据且不复权"},{"name":"adjust","in":"query","required":false,"schema":{"type":"string","description":"adjust=''; choice of {'', 'qfq', 'hfq'}; '': 不复权，'qfq': 前复权，'hfq': 后复权，其中 1 分钟数据返回近 1 个交易日数据且不复权","default":"","title":"Adjust"},"description":"adjust=''; choice of {'', 'qfq', 'hfq'}; '': 不复权，'qfq': 前复权，'hfq': 后复权，其中 1 分钟数据返回近 1 个交易日数据且不复权"},{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"1979-09-01 09:32:00\"；日期时间；默认返回所有数据","default":"1979-09-01 09:32:00","title":"Start Date"},"description":"start_date=\"1979-09-01 09:32:00\"；日期时间；默认返回所有数据"},{"name":"end_date","in":"query","required":false,"schema":{"type":"string","description":"end_date=\"2222-01-01 09:32:00\"；日期时间；默认返回所有数据","default":"2222-01-01 09:32:00","title":"End Date"},"description":"end_date=\"2222-01-01 09:32:00\"；日期时间；默认返回所有数据"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_hs_cov_pre_min":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_cov_pre_min","description":"东方财富网-可转债-分时行情-盘前\nhttps://quote.eastmoney.com/concept/sz128039.html\n:param symbol: 转债代码\n:type symbol: str\n:return: 分时行情-盘前\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_cov_pre_min","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"bond_zh_hs_cov_pre_min 的 symbol 参数","default":"sh113570","title":"Symbol"},"description":"bond_zh_hs_cov_pre_min 的 symbol 参数"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_hs_cov_spot":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_cov_spot","description":"新浪财经-债券-沪深可转债的实时行情数据；大量抓取容易封IP\nhttps://vip.stock.finance.sina.com.cn/mkt/#hskzz_z\n:return: 所有沪深可转债在当前时刻的实时行情数据\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_cov_spot","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/public/bond_zh_hs_daily":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_daily","description":"新浪财经-债券-沪深债券-历史行情数据，大量抓取容易封 IP\nhttps://vip.stock.finance.sina.com.cn/mkt/#hs_z\n:param symbol: 沪深债券代码；e.g., sh010107\n:type symbol: str\n:return: 指定沪深债券代码的日 K 线数据\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_daily","parameters":[{"name":"symbol","in":"query","required":false,"schema":{"type":"string","description":"symbol=\"sh010107\"","default":"sh010107","title":"Symbol"},"description":"symbol=\"sh010107\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_hs_spot":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_hs_spot","description":"新浪财经-债券-沪深债券-实时行情数据，大量抓取容易封IP\nhttps://vip.stock.finance.sina.com.cn/mkt/#hs_z\n:param start_page: 分页起始页\n:type start_page: str\n:param end_page: 分页结束页\n:type end_page: str\n:return: 所有沪深债券在当前时刻的实时行情数据\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_hs_spot","parameters":[{"name":"start_page","in":"query","required":false,"schema":{"type":"string","description":"start_page=\"1\"；开始获取的页面，每页 80 条数据","default":"1","title":"Start Page"},"description":"start_page=\"1\"；开始获取的页面，每页 80 条数据"},{"name":"end_page","in":"query","required":false,"schema":{"type":"string","description":"end_page=\"10\"；结束获取的页面，每页 80 条数据","default":"10","title":"End Page"},"description":"end_page=\"10\"；结束获取的页面，每页 80 条数据"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/public/bond_zh_us_rate":{"get":{"tags":["债券"],"summary":"公开接口：bond_zh_us_rate","description":"东方财富网-数据中心-经济数据-中美国债收益率\nhttps://data.eastmoney.com/cjsj/zmgzsyl.html\n:param start_date: 开始统计时间\n:type start_date: str\n:return: 中美国债收益率\n:rtype: pandas.DataFrame","operationId":"public_bond_zh_us_rate","parameters":[{"name":"start_date","in":"query","required":false,"schema":{"type":"string","description":"start_date=\"19901219\"","default":"19901219","title":"Start Date"},"description":"start_date=\"19901219\""}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"tags":[{"name":"债券"}],"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}