# 金融函数 - 指数 / 股份回购 ## 函数 ### `indexRepurchaseStockNumQj(index_id, beg_t, end_t, rtype, stype)` 获得区间指数成分股发生回购的家数 | 参数 | 类型 | 说明 | | ---------- | -------- | ------------------- | | `index_id` | string | 指数,指数代码 | | `beg_t` | datetime | 日期,开始日期 | | `end_t` | datetime | 日期,截止日期 | | `rtype` | any | 用户自定义,回购类型 | | `stype` | any | 用户自定义,股票种类 | 返回:any ### `indexRepurchaseMvqj(index_id, beg_t, end_t, rtype, stype, ex_rate)` 获得区间指数成分股的累计回购金额 | 参数 | 类型 | 说明 | | ---------- | -------- | ------------------- | | `index_id` | string | 指数,指数代码 | | `beg_t` | datetime | 日期,开始日期 | | `end_t` | datetime | 日期,截止日期 | | `rtype` | any | 用户自定义,回购类型 | | `stype` | any | 用户自定义,股票种类 | | `ex_rate` | any | 用户自定义,汇率类型 | 返回:any ### `indexRepurchaseStockNum(index_id, end_t, rtype, stype)` 获得指定日指数成分股发生回购的家数 | 参数 | 类型 | 说明 | | ---------- | -------- | ------------------- | | `index_id` | string | 指数,指数代码 | | `end_t` | datetime | 日期,截止日期 | | `rtype` | any | 用户自定义,回购类型 | | `stype` | any | 用户自定义,股票种类 | 返回:any ### `indexRepurchaseMv(index_id, end_t, rtype, stype, ex_rate)` 获得指定日指数成分股的累计回购金额 | 参数 | 类型 | 说明 | | ---------- | -------- | ------------------- | | `index_id` | string | 指数,指数代码 | | `end_t` | datetime | 日期,截止日期 | | `rtype` | any | 用户自定义,回购类型 | | `stype` | any | 用户自定义,股票种类 | | `ex_rate` | any | 用户自定义,汇率类型 | 返回:any