1322 lines
39 KiB
Markdown
1322 lines
39 KiB
Markdown
# 基金 / 交易席位情况
|
||
|
||
## `fundtpbrokerbondamountrank(rdate, bname)`
|
||
|
||
指定券商债券成交额排名,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------ | --------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `bname` | string | 字符串,券商名称 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF000001");
|
||
return FundTPBrokerBondAmountRank(20181231,"光大证券"); //结果:2
|
||
```
|
||
|
||
## `fundTpBrokerInterBankAmountGrow(rdate, rdate2, b_name)`
|
||
|
||
指定券商银行间债券成交额变动,与系统参数(股票)相关。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------ | ---------------- |
|
||
| `rdate` | int | 整数。指定报告期 |
|
||
| `rdate2` | int | 整数。同比报告期 |
|
||
| `b_name` | string | 字符串。券商名称 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF006042");
|
||
return FundTPBrokerInterBankAmountGrow(20191231,20181231,"申万宏源");
|
||
```
|
||
|
||
## `fundtpsumnbondamountpercentgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商债券成交额占债券成交总额比变动(%),与系统参数(基金代码)相关 TopN=-1时,则取所有的是所有的数据。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ---- | --------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `rdate2` | int | 整型,同比报告期 |
|
||
| `topn` | int | 整型,前N |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF000001");
|
||
return FundTPSumNBondAmountPercentGrow(20191231,20181231,2);//结果:-26.26
|
||
```
|
||
|
||
## `fundtpsumncommissiongrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商佣金变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ---- | --------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `rdate2` | int | 整型,同比报告期 |
|
||
| `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF000001");
|
||
return FundTPSumNCommissionGrow(20191231,20181231,2);//结果:1442409.18
|
||
```
|
||
|
||
## `fundtpsumncommissionpercent(rdate, topn)`
|
||
|
||
前N名券商佣金占佣金总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ---- | ---------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `topn` | int | 整型,前N, TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF000001");
|
||
return FundTPSumNCommissionPercent(20200630,2); //结果:58.01
|
||
```
|
||
|
||
## `fundtpsumninterbankamount(rdate, topn)`
|
||
|
||
前N名券商银行间债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ---- | --------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF006042");
|
||
return FundTPSumNInterBankAmount(20181231,1); //结果:4085764.8
|
||
```
|
||
|
||
## `fundtpsumninterbankamountgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商银行间债券成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ---- | --------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `rdate2` | int | 整型,同比报告期 |
|
||
| `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF006042");
|
||
return FundTPSumNInterBankAmountGrow(20191231,20181231,1);//结果:-4085764.8
|
||
```
|
||
|
||
## `fundtpsumninterbankamountpercent(rdate, topn)`
|
||
|
||
前N名券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ---- | --------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF006042");
|
||
return FundTPSumNInterBankAmountPercent(20181231,1); //结果:1
|
||
```
|
||
|
||
## `fundtpsumninterbankamountpercentgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商银行间债券成交额占银行间成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ---- | --------------------------------------------- |
|
||
| `rdate` | int | 整型,指定报告期 |
|
||
| `rdate2` | int | 整型,同比报告期 |
|
||
| `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:float
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
SetSysParam(pn_stock(),"OF006042");
|
||
return FundTPSumNInterBankAmountPercentGrow(20191231,20181231,2);//结果:-1
|
||
```
|
||
|
||
## `fundtpbrokerbondamount(rdate, bname)`
|
||
|
||
指定券商债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231"光大证券"债券成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerbondamount(20181231,"光大证券"); //结果:12693715.39
|
||
```
|
||
|
||
## `fundtpbrokerbondamountgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商债券成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | ---------------- |
|
||
| `rdate` | Integer | 整型,报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | Varchar | Varchar,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerbondamountgrow(20191231,20181231,"光大证券");//结果:-12693715.39
|
||
```
|
||
|
||
## `fundtpbrokerbondamountpercent(rdate, bname)`
|
||
|
||
指定券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231"光大证券"的债券成交额占债券成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerbondamountpercent(20181231,"光大证券"); //结果:8.25
|
||
```
|
||
|
||
## `fundtpbrokerbondamountpercentgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商债券成交额占债券成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额占债券成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerbondamountpercentgrow(20191231,20181231,"光大证券");//结果:-8.25
|
||
```
|
||
|
||
## `fundtpbrokerbondamountrankgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商债券成交额排名变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额排名变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerbondamountrankgrow(20191231,20181231,"光大证券");//结果:6
|
||
```
|
||
|
||
## `fundtpbrokercommission(rdate, bname)`
|
||
|
||
指定券商佣金,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231券商"光大证券"的佣金
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokercommission(20181231,"光大证券"); //结果:2679213
|
||
```
|
||
|
||
## `fundtpbrokercommissiongrow(rdate, rdate2, bname)`
|
||
|
||
指定券商佣金变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的佣金变化
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokercommissiongrow(20191231,20181231,"光大证券");//结果:-1803630.98
|
||
```
|
||
|
||
## `fundtpbrokercommissionpercent(rdate, bname)`
|
||
|
||
指定券商佣金占佣金总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231"光大证券"的佣金占佣金总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokercommissionpercent(20191231,"光大证券"); //结果:4.26
|
||
```
|
||
|
||
## `fundtpbrokercommissionpercentgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商佣金占佣金总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231-20191231期间指定券商"光大证券"佣金占佣金总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokercommissionpercentgrow(20191231,20181231,"光大证券");//结果:-10.77
|
||
```
|
||
|
||
## `fundtpbrokerinterbankamount(rdate, bname)`
|
||
|
||
指定券商银行间债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231"申万宏源"的银行间债券成交额
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpbrokerinterbankamount(20181231,"申万宏源"); //结果:4085764.8
|
||
```
|
||
|
||
## `fundtpbrokerinterbankamountpercent(rdate, bname)`
|
||
|
||
指定券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231"申万宏源"的商银行间债券成交额占银行间成交总额比(%)
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpbrokerinterbankamountpercent(20181231,"申万宏源"); //结果:1
|
||
```
|
||
|
||
## `fundtpbrokerinterbankamountpercentgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商银行间债券成交额占银行间成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231至20191231期间券商"申万宏源"的银行间债券成交额占银行间成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpbrokerinterbankamountpercentgrow(20191231,20181231,"申万宏源");//结果:-1
|
||
```
|
||
|
||
## `fundtpbrokerinterbankamountrank(rdate, bname)`
|
||
|
||
指定券商银行间债券成交额排名,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231指定券商"申万宏源"的银行间债券成交额排名
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpbrokerinterbankamountrank(20181231,"申万宏源"); //结果:1
|
||
```
|
||
|
||
## `fundtpbrokerinterbankamountrankgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商银行间债券成交额排名变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231至20191231期间券商"申万宏源"的银行间债券成交额排名变动
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpbrokerinterbankamountrankgrow(20191231,20181231,"申万宏源");
|
||
//结果:0
|
||
```
|
||
|
||
## `fundtpbrokerrepoamount(rdate, bname)`
|
||
|
||
指定券商回购成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF110006"在20181231指定券商"国泰君安"的回购成交额
|
||
setSysParam(pn_stock(),"OF110006");
|
||
return fundtpbrokerrepoamount(20181231,"国泰君安"); //结果:5056100300000
|
||
```
|
||
|
||
## `fundtpbrokerrepoamountgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商回购成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF110006"在20181231至20191231期间券商"国泰君安"的回购成交额变动
|
||
setSysParam(pn_stock(),"OF110006");
|
||
return fundtpbrokerrepoamountgrow(20191231,20181231,"国泰君安");
|
||
//结果:-947240300000
|
||
```
|
||
|
||
## `fundtpbrokerrepoamountpercent(rdate, bname)`
|
||
|
||
指定券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF110006"在20191231"国泰君安"的回购成交额占回购成交总额比(%)
|
||
setSysParam(pn_stock(),"OF110006");
|
||
return fundtpbrokerrepoamountpercent(20191231,"国泰君安"); //结果:99.92
|
||
```
|
||
|
||
## `fundtpbrokerrepoamountpercentgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商回购成交额占回购成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF110006"在20181231至20191231期间券商"国泰君安"的回购成交额占回购成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF110006");
|
||
return fundtpbrokerrepoamountpercentgrow(20191231,20181231,"国泰君安");//结果:-0.0799999999999983
|
||
```
|
||
|
||
## `fundtpbrokerrepoamountrank(rdate, bname)`
|
||
|
||
指定券商回购成交额排名,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231"光大证券"的回购成交额排名
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerrepoamountrank(20181231,"光大证券"); //结果:4
|
||
```
|
||
|
||
## `fundtpbrokerrepoamountrankgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商回购成交额排名变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的回购成交额排名变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerrepoamountrankgrow(20191231,20181231,"光大证券");//结果:-2
|
||
```
|
||
|
||
## `fundtpbrokerstockamount(rdate, bname)`
|
||
|
||
指定券商股票成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231报告期"光大证券"的股票成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamount(20181231,"光大证券"); //结果:3663646679.58
|
||
```
|
||
|
||
## `fundtpbrokerstockamountgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商股票成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231时间段"光大证券"的股票成交额变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamountgrow(20191231,20181231,"光大证券"); //结果:-2466347033.56
|
||
```
|
||
|
||
## `fundtpbrokerstockamountpercent(rdate, bname)`
|
||
|
||
指定券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231前"光大证券"的股票成交额占股票成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamountpercent(20181231,"光大证券"); //结果:14.76
|
||
```
|
||
|
||
## `fundtpbrokerstockamountpercentgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商股票成交额占股票成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的股票成交额占股票成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamountpercentgrow(20191231,20181231,"光大证券");//结果:-10.39
|
||
```
|
||
|
||
## `fundtpbrokerstockamountrank(rdate, bname)`
|
||
|
||
指定券商股票成交额排名,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231"光大证券"的股票成交额排名
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamountrank(20181231,"光大证券"); //结果:4
|
||
```
|
||
|
||
## `fundtpbrokerstockamountrankgrow(rdate, rdate2, bname)`
|
||
|
||
指定券商股票成交额排名变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `bname` | String | 字符串,券商名称 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间券商"光大证券"的股票成交额排名变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpbrokerstockamountrankgrow(20191231,20181231,"光大证券");//结果:3
|
||
```
|
||
|
||
## `fundtpnonbondamount(rdate, topn)`
|
||
|
||
第N名券商债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231第2名券商债券成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonbondamount(20191231,2); //结果:45067508.6
|
||
```
|
||
|
||
## `fundtpnonbondamountname(rdate, topn)`
|
||
|
||
第N名债券成交额券商名称,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:STRING
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名债券成交额券商名称
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonbondamountname(20181231,2); //结果:光大证券
|
||
```
|
||
|
||
## `fundtpnonbondamountpercent(rdate, topn)`
|
||
|
||
第N名券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名券商债券成交额占债券成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonbondamountpercent(20181231,2); //结果:8.25
|
||
```
|
||
|
||
## `fundtpnoncommission(rdate, topn)`
|
||
|
||
第N名券商佣金,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20200630第2名券商佣金
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnoncommission(20200630,2); //结果:1644771
|
||
```
|
||
|
||
## `fundtpnoncommissionpercent(rdate, topn)`
|
||
|
||
第N名券商佣金占佣金总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20200630第2名券商佣金占佣金总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnoncommissionpercent(20200630,2); //结果:11.3
|
||
```
|
||
|
||
## `fundtpnoninterbankamount(rdate, topn)`
|
||
|
||
第N名券商银行间债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231第1名券商银行间债券成交额
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpnoninterbankamount(20181231,1); //结果:4085764.8
|
||
```
|
||
|
||
## `fundtpnoninterbankamountpercent(rdate, topn)`
|
||
|
||
第N名券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231第1名券商银行间债券成交额占银行间成交总额比(%)
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundtpnoninterbankamountpercent(20181231,1); //结果:1
|
||
```
|
||
|
||
## `fundtpnonrepoamount(rdate, topn)`
|
||
|
||
第N名券商回购成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名券商回购成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonrepoamount(20181231,2); //结果:60400000
|
||
```
|
||
|
||
## `fundtpnonrepoamountname(rdate, topn)`
|
||
|
||
第N名回购成交额券商名称,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:STRING
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名回购成交额券商名称
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonrepoamountname(20181231,2); //结果:华创证券
|
||
```
|
||
|
||
## `fundtpnonrepoamountpercent(rdate, topn)`
|
||
|
||
第N名券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名券商回购成交额占回购成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonrepoamountpercent(20181231,2); //结果:11.18
|
||
```
|
||
|
||
## `fundtpnonstockamount(rdate, topn)`
|
||
|
||
第N名券商股票成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231第2名券商股票成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonstockamount(20191231,2); //结果:3008002112.11
|
||
```
|
||
|
||
## `fundtpnonstockamountname(rdate, topn)`
|
||
|
||
第N名股票成交额券商名称,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:STRING
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名股票成交额券商名称
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonstockamountname(20181231,2); //结果:中信证券
|
||
```
|
||
|
||
## `fundtpnonstockamountpercent(rdate, topn)`
|
||
|
||
第N名券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,第N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231第2名券商股票成交额占股票成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpnonstockamountpercent(20181231,2); //结果:17.92
|
||
```
|
||
|
||
## `fundtpsumnbondamount(rdate, topn)`
|
||
|
||
前N名券商债券成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231前2名券商债券成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnbondamount(20191231,2); //结果:100317070.9
|
||
```
|
||
|
||
## `fundtpsumnbondamountgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商债券成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间前2名券商债券成交额变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnbondamountgrow(20191231,20181231,2);//结果:-53605243.66
|
||
```
|
||
|
||
## `fundtpsumnbondamountpercent(rdate, topn)`
|
||
|
||
前N名券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231前2名券商债券成交额占债券成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnbondamountpercent(20191231,2); //结果:73.74
|
||
```
|
||
|
||
## `fundtpsumncommission(rdate, topn)`
|
||
|
||
前N名券商佣金,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20200630前2名券商佣金
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumncommission(20200630,2); //结果:8442489.51
|
||
```
|
||
|
||
## `fundtpsumncommissionpercentgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商佣金占佣金总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231-20191231期间前2名券商佣金占佣金总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumncommissionpercentgrow(20191231,20181231,2);
|
||
//结果:0.490000000000002
|
||
```
|
||
|
||
## `fundtpsumnrepoamount(rdate, topn)`
|
||
|
||
前N名券商回购成交额,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20191231前2名券商回购成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnrepoamount(20191231,2); //结果:12000000
|
||
```
|
||
|
||
## `fundtpsumnrepoamountgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商回购成交额变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间前2名券商回购成交额变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnrepoamountgrow(20191231,20181231,2);//结果:-498400000
|
||
```
|
||
|
||
## `fundtpsumnrepoamountpercent(rdate, topn)`
|
||
|
||
前N名券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231前2名券商回购成交额占回购成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnrepoamountpercent(20181231,2); //结果: 94.45
|
||
```
|
||
|
||
## `fundtpsumnrepoamountpercentgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商回购成交额占回购成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间前2名券商回购成交额占回购成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnrepoamountpercentgrow(20191231,20181231,2);//结果:5.55
|
||
```
|
||
|
||
## `fundtpsumnstockamount(rdate, topn)`
|
||
|
||
前N名券商股票成交额(元),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20200630前2名券商股票成交额
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnstockamount(20200630,2); //结果:11408565519.97
|
||
```
|
||
|
||
## `fundtpsumnstockamountgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商股票成交额变动,前N名券商股票成交额同比变动,与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间前2名券商股票成交额变动
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnstockamountgrow(20191231,20181231,2);//结果:1609282529.37
|
||
```
|
||
|
||
## `fundtpsumnstockamountpercent(rdate, topn)`
|
||
|
||
前N名券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20200630前2名券商股票成交额占股票成交总额比(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnstockamountpercent(20200630,2); //结果:57.18
|
||
```
|
||
|
||
## `fundtpsumnstockamountpercentgrow(rdate, rdate2, topn)`
|
||
|
||
前N名券商股票成交额占股票成交总额比变动(%),与系统参数(基金代码)相关
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| -------- | ------- | --------------------------------------------- |
|
||
| `rdate` | Integer | 整型,指定报告期 |
|
||
| `rdate2` | Integer | 整型,同比报告期 |
|
||
| `topn` | Integer | 整型,前N,TopN=-1时,则取所有的是所有的数据。 |
|
||
|
||
返回:REAL
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF000001"在20181231至20191231期间前2名券商股票成交额占股票成交总额比变动(%)
|
||
setSysParam(pn_stock(),"OF000001");
|
||
return fundtpsumnstockamountpercentgrow(20191231,20181231,2);//结果:1.41
|
||
```
|
||
|
||
## `fundTpNoNInterBankAmountName(rdate, top_n)`
|
||
|
||
第N名银行间债券成交额券商名称,与系统参数(证券代码)相关。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | ---------------- |
|
||
| `rdate` | Integer | 整数。指定报告期 |
|
||
| `top_n` | Integer | 整数。第N |
|
||
|
||
返回:String
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
// "OF006042"在20181231第1名银行间债券成交额券商名称
|
||
setSysParam(pn_stock(),"OF006042");
|
||
return fundTpNoNInterBankAmountName(20181231,1);
|
||
//结果:申万宏源
|
||
```
|
||
|
||
## `fundTpGetDateDonField(r_date, bname, value_type, value_field, fund_arr)`
|
||
|
||
获取交易席位情况指定券商数据,与系统参数(基金代码)相关。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------------- | ------- | ------------------------------- |
|
||
| `r_date` | Integer | 整数。报告期 |
|
||
| `bname` | String | 字符串。券商名称 |
|
||
| `value_type` | Integer | 用户自定义。返回类型,取值如下: |
|
||
| `value_field` | String | 字符串。取数字段 |
|
||
| `fund_arr` | Array | 数组。基金列表 |
|
||
|
||
返回:Real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
setSysParam(PN_Stock(),'OF000001');
|
||
return fundTpGetDateDonField(20211231,'安信证券',1,'股票成交量');
|
||
//结果:501748716.57
|
||
```
|
||
|
||
## `fundTpNoNbkRatioValueOnField(t, top_n, field)`
|
||
|
||
交易席位情况-第N名比值,用于板块(比值数字指标)。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | ---------------- |
|
||
| `t` | Array | 数组。所取数据 |
|
||
| `top_n` | Integer | 整数。排名 |
|
||
| `field` | String | 字符串。汇总字段 |
|
||
|
||
返回:Real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
t:=fundsTpQk(array('OF000001'),20221231,'股票成交量');
|
||
return fundTpNoNbkRatioValueOnField(t,1,'股票成交量');
|
||
//结果:18.07
|
||
```
|
||
|
||
## `fundTpSumNValueOnField(t, top_n, field)`
|
||
|
||
交易席位情况-前N名和,用于个券,板块(非比值数字指标)。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | ---------------- |
|
||
| `t` | Array | 数组。所取数据 |
|
||
| `top_n` | Integer | 整数。排名 |
|
||
| `field` | String | 字符串。汇总字段 |
|
||
|
||
返回:Real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
t:=fundsTpQk(array('OF000001'),20221231,'股票成交量');
|
||
return fundTpSumNValueOnField(t,1,'股票成交量');
|
||
//结果:1595342584.35
|
||
```
|
||
|
||
## `fundTpSumNbkRatioValueOnField(t, top_n, field)`
|
||
|
||
交易席位情况-前N名和比值,用于板块(比值数字指标)。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | ---------------- |
|
||
| `t` | Array | 数组。所取数据 |
|
||
| `top_n` | Integer | 整数。排名 |
|
||
| `field` | String | 字符串。汇总字段 |
|
||
|
||
返回:Real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
t:=fundsTpQk(array('OF000001'),20221231,'股票成交量');
|
||
return fundTpSumNbkRatioValueOnField(t,1,'股票成交量');
|
||
//结果:18.07
|
||
```
|
||
|
||
## `fundTpNoNValueOnField(t, top_n, field)`
|
||
|
||
交易席位情况-第N名,用于个券,板块(非比值数字指标)。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------- | ------- | ---------------- |
|
||
| `t` | Array | 数组。所取数据 |
|
||
| `top_n` | Integer | 整数。排名 |
|
||
| `field` | String | 字符串。汇总字段 |
|
||
|
||
返回:Real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
t:=fundsTpQk(array('OF000001'),20221231,'股票成交量');
|
||
return fundTpNoNValueOnField(t,1,'股票成交量');
|
||
//结果:1595342584.35
|
||
```
|
||
|
||
## `fundTpnValueOnField(fund_arr, rdate, top_n, field, field_type)`
|
||
|
||
交易席位情况-前N第N指标框架。
|
||
|
||
| 参数 | 类型 | 说明 |
|
||
| ------------ | ---- | ---- |
|
||
| `fund_arr` | | |
|
||
| `rdate` | | |
|
||
| `top_n` | | |
|
||
| `field` | | |
|
||
| `field_type` | | |
|
||
|
||
返回:real
|
||
|
||
### 示例
|
||
|
||
```tsl
|
||
return fundTpnValueOnField(array('OF000001'),20221231,1,'股票成交量',1);
|
||
//结果:18.07
|
||
```
|