Files
playbook/docs/tsl/codegen/dotnet/fund/manager_trade.md
T

149 lines
5.1 KiB
Markdown

# 基金 / 基金管理人交易明细
## `fundGetManagerTradeSharesData(fund_id, r_date2, r_date, t_type)`
获取指定基金指定区间基金管理人交易明细数据 当RDate2=RDate时可取指定日数据
| 参数 | 类型 | 说明 |
| --------- | ------ | ------------------- |
| `fund_id` | string | 证券,基金代码 |
| `r_date2` | int | 报告期,开始报告期 |
| `r_date` | int | 报告期,指定报告期 |
| `t_type` | int | 用户自定义,交易方式 |
返回:array
## `FundManagerTradeAmount_LYear(r_date, t_type)`
获得指定报告期最近1年指定基金管理人交易金额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeAmount_QJ(r_date2, r_date, t_type)`
获得指定报告期区间指定基金管理人交易金额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------- |
| `r_date2` | any | 报告期,开始报告期 |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeAmount_Report(r_date, t_type)`
获得指定报告期指定基金管理人交易金额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeAveragePrice_Report(r_date, t_type)`
获得指定报告期指定基金管理人交易均价,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeShares_LYear(r_date, t_type)`
获得指定报告期最近1年指定基金管理人交易份额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeSharesOfRate_LYear(r_date, t_type)`
获得指定报告期最近1年指定基金管理人交易份额占基金总份额(%),系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeSharesOfRate_QJ(r_date2, r_date, t_type)`
获得指定报告期区间指定基金管理人交易份额占基金总份额(%),系统参数:证券代码
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------- |
| `r_date2` | any | 报告期,开始报告期 |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeSharesOfRate_Report(r_date, t_type)`
获得指定报告期指定基金管理人交易份额占基金总份额(%),系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeShares_Report(r_date, t_type)`
获得指定报告期指定基金管理人交易份额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `FundManagerTradeShares_Year(r_date, t_type)`
获得指定报告期本年以来指定基金管理人交易份额,系统参数:证券代码
| 参数 | 类型 | 说明 |
| -------- | -------- | ------------------- |
| `r_date` | datetime | 报告期,指定报告期 |
| `t_type` | any | 用户自定义,交易方式 |
返回:float
## `fundManagerTradeSharesDataQj(fund_id, r_date2, r_date, t_type, c_type)`
获得指定报告期区间指定基金管理人交易份额、金额、均价、占比等指标
| 参数 | 类型 | 说明 |
| --------- | ------- | ------------------- |
| `fund_id` | String | 证券,基金代码 |
| `r_date2` | Integer | 报告期,开始报告期 |
| `r_date` | Integer | 报告期,指定报告期 |
| `t_type` | Integer | 用户自定义,交易方式 |
| `c_type` | Integer | 用户自定义,计算方式 |
返回:real
### 示例
```tsl
//"OF011837"在2024年报至2025三季报全部基金管理人交易份额
return fundManagerTradeSharesDataQj("OF011837",20241231,20250930,0);
//结果:25796008.03
```