bond_index_general_cbond
Fetches ChinaBond index data for a given index category, indicator (price, yield, duration, convexity), and maturity period, returning structured time series for analysis.
Instructions
中国债券信息网-中债指数-中债指数族系 https://yield.chinabond.com.cn/cbweb-mn/indices/singleIndexQueryResult :param index_category: see result of available_bond_index() :type index_category: str :param indicator: choice of {"全价", "净价", "财富", "平均市值法久期", "平均现金流法久期", "平均市值法凸性", "平均现金流法凸性", "平均现金流法到期收益率", "平均市值法到期收益率", "平均基点价值", "平均待偿期", "平均派息率", "指数上日总市值", "财富指数涨跌幅", "全价指数涨跌幅", "净价指数涨跌幅", "现券结算量"} :type indicator: str :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个月"} :type period: str :return: 指定指数的指定指标的指定期限分段数据 :rtype: pandas.DataFrame
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 总值 | |
| indicator | No | 全价 | |
| index_category | No | 新综合指数 |