# 金融 / 基金 / 交易席位情况 ## `fundtpbrokerbondamount(rdate, bname)` 声明:function 返回指定券商债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231"光大证券"债券成交额 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerbondamount(20181231, "光大证券"); // 输出:12693715.39 ``` ## `fundtpbrokerbondamountgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商债券成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ---------------- | | `rdate` | integer | 整型,报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | varchar | Varchar,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额变动 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerbondamountgrow(20191231, 20181231, "光大证券"); // 输出:-12693715.39 ``` ## `fundtpbrokerbondamountpercent(rdate, bname)` 声明:function 返回指定券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231"光大证券"的债券成交额占债券成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokerbondamountpercent(20181231, "光大证券"); // 输出:8.25 ``` ## `fundtpbrokerbondamountpercentgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商债券成交额占债券成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额占债券成交总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokerbondamountpercentgrow(20191231, 20181231, "光大证券"); // 输出:-8.25 ``` ## `fundtpbrokerbondamountrank(rdate, bname)` 声明:function 返回指定券商债券成交额排名,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------ | --------------- | | `rdate` | int | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF000001"); return FundTPBrokerBondAmountRank(20181231, "光大证券"); // 输出:2 ``` ## `fundtpbrokerbondamountrankgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商债券成交额排名变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的债券成交额排名变动 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerbondamountrankgrow(20191231, 20181231, "光大证券"); // 输出:6 ``` ## `fundtpbrokercommission(rdate, bname)` 声明:function 返回指定券商佣金,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231券商"光大证券"的佣金 setSysParam(pn_stock(), "OF000001"); return fundtpbrokercommission(20181231, "光大证券"); // 输出:2679213 ``` ## `fundtpbrokercommissiongrow(rdate, rdate_2, bname)` 声明:function 返回指定券商佣金变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的佣金变化 setSysParam(pn_stock(), "OF000001"); return fundtpbrokercommissiongrow(20191231, 20181231, "光大证券"); // 输出:-1803630.98 ``` ## `fundtpbrokercommissionpercent(rdate, bname)` 声明:function 返回指定券商佣金占佣金总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231"光大证券"的佣金占佣金总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokercommissionpercent(20191231, "光大证券"); // 输出:4.26 ``` ## `fundtpbrokercommissionpercentgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商佣金占佣金总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231-20191231期间指定券商"光大证券"佣金占佣金总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokercommissionpercentgrow(20191231, 20181231, "光大证券"); // 输出:-10.77 ``` ## `fundtpbrokerinterbankamount(rdate, bname)` 声明:function 返回指定券商银行间债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231"申万宏源"的银行间债券成交额 setSysParam(pn_stock(), "OF006042"); return fundtpbrokerinterbankamount(20181231, "申万宏源"); // 输出:4085764.8 ``` ## `fundTPBrokerInterBankAmountGrow(rdate, rdate_2, b_name)` 声明:function 返回指定券商银行间债券成交额变动,与系统参数(股票)相关 | 参数 | 类型 | 说明 | | --------- | ------ | ---------------- | | `rdate` | int | 整数。指定报告期 | | `rdate_2` | int | 整数。同比报告期 | | `b_name` | string | 字符串。券商名称 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF006042"); return FundTPBrokerInterBankAmountGrow(20191231, 20181231, "申万宏源"); ``` ## `fundtpbrokerinterbankamountpercent(rdate, bname)` 声明:function 返回指定券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231"申万宏源"的商银行间债券成交额占银行间成交总额比(%) setSysParam(pn_stock(), "OF006042"); return fundtpbrokerinterbankamountpercent(20181231, "申万宏源"); // 输出:1 ``` ## `fundtpbrokerinterbankamountpercentgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商银行间债券成交额占银行间成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231至20191231期间券商"申万宏源"的银行间债券成交额占银行间成交总额比变动(%) setSysParam(pn_stock(), "OF006042"); return fundtpbrokerinterbankamountpercentgrow(20191231, 20181231, "申万宏源"); // 输出:-1 ``` ## `fundtpbrokerinterbankamountrank(rdate, bname)` 声明:function 返回指定券商银行间债券成交额排名,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231指定券商"申万宏源"的银行间债券成交额排名 setSysParam(pn_stock(), "OF006042"); return fundtpbrokerinterbankamountrank(20181231, "申万宏源"); // 输出:1 ``` ## `fundtpbrokerinterbankamountrankgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商银行间债券成交额排名变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231至20191231期间券商"申万宏源"的银行间债券成交额排名变动 setSysParam(pn_stock(), "OF006042"); return fundtpbrokerinterbankamountrankgrow(20191231, 20181231, "申万宏源"); // 输出:0 ``` ## `fundtpbrokerrepoamount(rdate, bname)` 声明:function 返回指定券商回购成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF110006"在20181231指定券商"国泰君安"的回购成交额 setSysParam(pn_stock(), "OF110006"); return fundtpbrokerrepoamount(20181231, "国泰君安"); // 输出:5056100300000 ``` ## `fundtpbrokerrepoamountgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商回购成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF110006"在20181231至20191231期间券商"国泰君安"的回购成交额变动 setSysParam(pn_stock(), "OF110006"); return fundtpbrokerrepoamountgrow(20191231, 20181231, "国泰君安"); // 输出:-947240300000 ``` ## `fundtpbrokerrepoamountpercent(rdate, bname)` 声明:function 返回指定券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF110006"在20191231"国泰君安"的回购成交额占回购成交总额比(%) setSysParam(pn_stock(), "OF110006"); return fundtpbrokerrepoamountpercent(20191231, "国泰君安"); // 输出:99.92 ``` ## `fundtpbrokerrepoamountpercentgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商回购成交额占回购成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF110006"在20181231至20191231期间券商"国泰君安"的回购成交额占回购成交总额比变动(%) setSysParam(pn_stock(), "OF110006"); return fundtpbrokerrepoamountpercentgrow(20191231, 20181231, "国泰君安"); // 输出:-0.0799999999999983 ``` ## `fundtpbrokerrepoamountrank(rdate, bname)` 声明:function 返回指定券商回购成交额排名,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231"光大证券"的回购成交额排名 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerrepoamountrank(20181231, "光大证券"); // 输出:4 ``` ## `fundtpbrokerrepoamountrankgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商回购成交额排名变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的回购成交额排名变动 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerrepoamountrankgrow(20191231, 20181231, "光大证券"); // 输出:-2 ``` ## `fundtpbrokerstockamount(rdate, bname)` 声明:function 返回指定券商股票成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231报告期"光大证券"的股票成交额 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamount(20181231, "光大证券"); // 输出:3663646679.58 ``` ## `fundtpbrokerstockamountgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商股票成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231时间段"光大证券"的股票成交额变动 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamountgrow(20191231, 20181231, "光大证券"); // 输出:-2466347033.56 ``` ## `fundtpbrokerstockamountpercent(rdate, bname)` 声明:function 返回指定券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231前"光大证券"的股票成交额占股票成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamountpercent(20181231, "光大证券"); // 输出:14.76 ``` ## `fundtpbrokerstockamountpercentgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商股票成交额占股票成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的股票成交额占股票成交总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamountpercentgrow(20191231, 20181231, "光大证券"); // 输出:-10.39 ``` ## `fundtpbrokerstockamountrank(rdate, bname)` 声明:function 返回指定券商股票成交额排名,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231"光大证券"的股票成交额排名 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamountrank(20181231, "光大证券"); // 输出:4 ``` ## `fundtpbrokerstockamountrankgrow(rdate, rdate_2, bname)` 声明:function 返回指定券商股票成交额排名变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `bname` | string | 字符串,券商名称 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间券商"光大证券"的股票成交额排名变动 setSysParam(pn_stock(), "OF000001"); return fundtpbrokerstockamountrankgrow(20191231, 20181231, "光大证券"); // 输出:3 ``` ## `fundtpnonbondamount(rdate, topn)` 声明:function 返回第N名券商债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231第2名券商债券成交额 setSysParam(pn_stock(), "OF000001"); return fundtpnonbondamount(20191231, 2); // 输出:45067508.6 ``` ## `fundtpnonbondamountname(rdate, topn)` 声明:function 返回第N名债券成交额券商名称,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:string ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名债券成交额券商名称 setSysParam(pn_stock(), "OF000001"); return fundtpnonbondamountname(20181231, 2); // 输出:光大证券 ``` ## `fundtpnonbondamountpercent(rdate, topn)` 声明:function 返回第N名券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名券商债券成交额占债券成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpnonbondamountpercent(20181231, 2); // 输出:8.25 ``` ## `fundtpnoncommission(rdate, topn)` 声明:function 返回第N名券商佣金,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20200630第2名券商佣金 setSysParam(pn_stock(), "OF000001"); return fundtpnoncommission(20200630, 2); // 输出:1644771 ``` ## `fundtpnoncommissionpercent(rdate, topn)` 声明:function 返回第N名券商佣金占佣金总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20200630第2名券商佣金占佣金总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpnoncommissionpercent(20200630, 2); // 输出:11.3 ``` ## `fundtpnoninterbankamount(rdate, topn)` 声明:function 返回第N名券商银行间债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231第1名券商银行间债券成交额 setSysParam(pn_stock(), "OF006042"); return fundtpnoninterbankamount(20181231, 1); // 输出:4085764.8 ``` ## `fundTPNoNInterBankAmountName(rdate, top_n)` 声明:function 返回第N名银行间债券成交额券商名称,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ---------------- | | `rdate` | integer | 整数。指定报告期 | | `top_n` | integer | 整数。第N | 返回:string ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231第1名银行间债券成交额券商名称 setSysParam(pn_stock(), "OF006042"); return fundTpNoNInterBankAmountName(20181231, 1); // 输出:申万宏源 ``` ## `fundtpnoninterbankamountpercent(rdate, topn)` 声明:function 返回第N名券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF006042"在20181231第1名券商银行间债券成交额占银行间成交总额比(%) setSysParam(pn_stock(), "OF006042"); return fundtpnoninterbankamountpercent(20181231, 1); // 输出:1 ``` ## `fundtpnonrepoamount(rdate, topn)` 声明:function 返回第N名券商回购成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名券商回购成交额 setSysParam(pn_stock(), "OF000001"); return fundtpnonrepoamount(20181231, 2); // 输出:60400000 ``` ## `fundtpnonrepoamountname(rdate, topn)` 声明:function 返回第N名回购成交额券商名称,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:string ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名回购成交额券商名称 setSysParam(pn_stock(), "OF000001"); return fundtpnonrepoamountname(20181231, 2); // 输出:华创证券 ``` ## `fundtpnonrepoamountpercent(rdate, topn)` 声明:function 返回第N名券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名券商回购成交额占回购成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpnonrepoamountpercent(20181231, 2); // 输出:11.18 ``` ## `fundtpnonstockamount(rdate, topn)` 声明:function 返回第N名券商股票成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231第2名券商股票成交额 setSysParam(pn_stock(), "OF000001"); return fundtpnonstockamount(20191231, 2); // 输出:3008002112.11 ``` ## `fundtpnonstockamountname(rdate, topn)` 声明:function 返回第N名股票成交额券商名称,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:string ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名股票成交额券商名称 setSysParam(pn_stock(), "OF000001"); return fundtpnonstockamountname(20181231, 2); // 输出:中信证券 ``` ## `fundtpnonstockamountpercent(rdate, topn)` 声明:function 返回第N名券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,第N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231第2名券商股票成交额占股票成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpnonstockamountpercent(20181231, 2); // 输出:17.92 ``` ## `fundtpsumnbondamount(rdate, topn)` 声明:function 返回前N名券商债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231前2名券商债券成交额 setSysParam(pn_stock(), "OF000001"); return fundtpsumnbondamount(20191231, 2); // 输出:100317070.9 ``` ## `fundtpsumnbondamountgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商债券成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间前2名券商债券成交额变动 setSysParam(pn_stock(), "OF000001"); return fundtpsumnbondamountgrow(20191231, 20181231, 2); // 输出:-53605243.66 ``` ## `fundtpsumnbondamountpercent(rdate, topn)` 声明:function 返回前N名券商债券成交额占债券成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | --------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231前2名券商债券成交额占债券成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumnbondamountpercent(20191231, 2); // 输出:73.74 ``` ## `fundtpsumnbondamountpercentgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商债券成交额占债券成交总额比变动(%),与系统参数(基金代码)相关 TopN=-1时,则取所有的是所有的数据 | 参数 | 类型 | 说明 | | --------- | ---- | --------------- | | `rdate` | int | 整型,指定报告期 | | `rdate_2` | int | 整型,同比报告期 | | `topn` | int | 整型,前N | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF000001"); return FundTPSumNBondAmountPercentGrow(20191231, 20181231, 2); // 输出:-26.26 ``` ## `fundtpsumncommission(rdate, topn)` 声明:function 返回前N名券商佣金,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20200630前2名券商佣金 setSysParam(pn_stock(), "OF000001"); return fundtpsumncommission(20200630, 2); // 输出:8442489.51 ``` ## `fundtpsumncommissiongrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商佣金变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ---- | ------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `rdate_2` | int | 整型,同比报告期 | | `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF000001"); return FundTPSumNCommissionGrow(20191231, 20181231, 2); // 输出:1442409.18 ``` ## `fundtpsumncommissionpercent(rdate, topn)` 声明:function 返回前N名券商佣金占佣金总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ---- | -------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `topn` | int | 整型,前N, TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF000001"); return FundTPSumNCommissionPercent(20200630, 2); // 输出:58.01 ``` ## `fundtpsumncommissionpercentgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商佣金占佣金总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231-20191231期间前2名券商佣金占佣金总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumncommissionpercentgrow(20191231, 20181231, 2); // 输出:0.490000000000002 ``` ## `fundtpsumninterbankamount(rdate, topn)` 声明:function 返回前N名券商银行间债券成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ---- | ------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF006042"); return FundTPSumNInterBankAmount(20181231, 1); // 输出:4085764.8 ``` ## `fundtpsumninterbankamountgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商银行间债券成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ---- | ------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `rdate_2` | int | 整型,同比报告期 | | `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF006042"); return FundTPSumNInterBankAmountGrow(20191231, 20181231, 1); // 输出:-4085764.8 ``` ## `fundtpsumninterbankamountpercent(rdate, topn)` 声明:function 返回前N名券商银行间债券成交额占银行间成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ---- | ------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF006042"); return FundTPSumNInterBankAmountPercent(20181231, 1); // 输出:1 ``` ## `fundtpsumninterbankamountpercentgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商银行间债券成交额占银行间成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ---- | ------------------------------------------- | | `rdate` | int | 整型,指定报告期 | | `rdate_2` | int | 整型,同比报告期 | | `topn` | int | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:float ### 示例 范例01:调用函数 ```tsl SetSysParam(pn_stock(), "OF006042"); return FundTPSumNInterBankAmountPercentGrow(20191231, 20181231, 2); // 输出:-1 ``` ## `fundtpsumnrepoamount(rdate, topn)` 声明:function 返回前N名券商回购成交额,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20191231前2名券商回购成交额 setSysParam(pn_stock(), "OF000001"); return fundtpsumnrepoamount(20191231, 2); // 输出:12000000 ``` ## `fundtpsumnrepoamountgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商回购成交额变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间前2名券商回购成交额变动 setSysParam(pn_stock(), "OF000001"); return fundtpsumnrepoamountgrow(20191231, 20181231, 2); // 输出:-498400000 ``` ## `fundtpsumnrepoamountpercent(rdate, topn)` 声明:function 返回前N名券商回购成交额占回购成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231前2名券商回购成交额占回购成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumnrepoamountpercent(20181231, 2); // 输出:94.45 ``` ## `fundtpsumnrepoamountpercentgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商回购成交额占回购成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间前2名券商回购成交额占回购成交总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumnrepoamountpercentgrow(20191231, 20181231, 2); // 输出:5.55 ``` ## `fundtpsumnstockamount(rdate, topn)` 声明:function 返回前N名券商股票成交额(元),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20200630前2名券商股票成交额 setSysParam(pn_stock(), "OF000001"); return fundtpsumnstockamount(20200630, 2); // 输出:11408565519.97 ``` ## `fundtpsumnstockamountgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商股票成交额变动,前N名券商股票成交额同比变动,与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间前2名券商股票成交额变动 setSysParam(pn_stock(), "OF000001"); return fundtpsumnstockamountgrow(20191231, 20181231, 2); // 输出:1609282529.37 ``` ## `fundtpsumnstockamountpercent(rdate, topn)` 声明:function 返回前N名券商股票成交额占股票成交总额比(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | ------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20200630前2名券商股票成交额占股票成交总额比(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumnstockamountpercent(20200630, 2); // 输出:57.18 ``` ## `fundtpsumnstockamountpercentgrow(rdate, rdate_2, topn)` 声明:function 返回前N名券商股票成交额占股票成交总额比变动(%),与系统参数(基金代码)相关 | 参数 | 类型 | 说明 | | --------- | ------- | ------------------------------------------- | | `rdate` | integer | 整型,指定报告期 | | `rdate_2` | integer | 整型,同比报告期 | | `topn` | integer | 整型,前N,TopN=-1时,则取所有的是所有的数据 | 返回:real ### 示例 范例01:调用函数 ```tsl // "OF000001"在20181231至20191231期间前2名券商股票成交额占股票成交总额比变动(%) setSysParam(pn_stock(), "OF000001"); return fundtpsumnstockamountpercentgrow(20191231, 20181231, 2); // 输出:1.41 ```