# 股票 / 十大股东 ## `stockMajorityShareholder(r_date)` 实际控制人及比例,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------- | -------- | -------------------- | | `r_date` | datetime | 报告期类型,报告期; | 返回:array ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMajorityShareholder(20171231); ``` ## `stockMajorityShareholderName(r_date)` 实际控制人名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------- | -------- | -------------------- | | `r_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMajorityShareholderName(20171231); ``` ## `stockMajorityShareholderPercent(r_date)` 实际控制人持股比例(%),与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------- | -------- | -------------------- | | `r_date` | datetime | 报告期类型,报告期; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMajorityShareholderPercent(20171231); ``` ## `stockMshFreeze(report_date, g_type, from_no, to_no)` 前N大股东冻结股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | | `from_no` | int | 整数,开始索引号 | | `to_no` | int | 整数,截止索引号 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreeze(20250930,0,1,10);// 结果:10825618 ``` ## `stockMshFreezePercent(report_date, g_type, from_no, to_no)` 前N大股东冻结股占总股本比,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | | `from_no` | int | 整数,开始索引号 | | `to_no` | int | 整数,截止索引号 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezePercent(20250930,0,1,10);// 结果:0.68 ``` ## `stockMshFreezePercentto10(report_date, g_type)` 前10大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezePercentto10(20250930,0);// 结果:0.68 ``` ## `stockMshFreezePercentto3(report_date, g_type)` 前3大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezePercentto3(20250930,0);// 结果:0.68 ``` ## `stockMshFreezePercentto5(report_date, g_type)` 前5大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezePercentto5(20250930,0);// 结果:0.68 ``` ## `stockMshFreezeto10(report_date, g_type)` 前10大股东冻结股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezeto10(20250930,0);// 结果:10825618 ``` ## `stockMshFreezeto3(report_date, g_type)` 前3大股东冻结股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezeto3(20250930,0);// 结果:10825058 ``` ## `stockMshFreezeto5(report_date, g_type)` 前5大股东冻结股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHFreezeto5(20250930,0);// 结果:10825058 ``` ## `stockMshName1(report_date, g_type)` 第1大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName1(20180331,0); ``` ## `stockMshName10(report_date, g_type)` 第10大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName10(20180331,0); ``` ## `stockMshName1To10(report_date, g_type)` 前10大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName1to10(20180331,0); ``` ## `stockMshName1To3(report_date, g_type)` 前3大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName1to3(20180331,0); ``` ## `stockMshName1To5(report_date, g_type)` 前5大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName1to5(20180331,0); ``` ## `stockMshName2(report_date, g_type)` 第2大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName2(20180331,0); ``` ## `stockMshName3(report_date, g_type)` 第3大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName3(20180331,0); ``` ## `stockMshName4(report_date, g_type)` 第4大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName4(20180331,0); ``` ## `stockMshName5(report_date, g_type)` 第5大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName5(20180331,0); ``` ## `stockMshName6(report_date, g_type)` 第6大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName6(20180331,0); ``` ## `stockMshName7(report_date, g_type)` 第7大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName7(20180331,0); ``` ## `stockMshName8(report_date, g_type)` 第8大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName8(20180331,0); ``` ## `stockMshName9(report_date, g_type)` 第9大股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHName9(20180331,0); ``` ## `stockMshNames(report_date, g_type, from_no, to_no)` 股东名称,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | | `from_no` | int | 整数类型,开始索引号; | | `to_no` | int | 整数类型,截止索引号; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHNames(20180331,0,1,10); ``` ## `stockMshPercentage(report_date, g_type, from_no, to_no, _type)` 任意开始和截止索引号的股东持股所占总股本/流通股本的比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)Type =0时,计算股东持股占流通股比例;Type=1时,计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------------ | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | | `from_no` | int | 开始索引,默认1; | | `to_no` | int | 整数,截止索引,默认10; | | `_type` | int | 整数,返回类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage(RDate,1,1,10,1); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage1(report_date, g_type)` 第1大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage1 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage10(report_date, g_type)` 第10大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage10 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage1To10(report_date, g_type)` 前10大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage1to10 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage1To3(report_date, g_type)` 前3大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | -------------- | | `report_date` | int | 整数,报告期 | | `g_type` | int | 整数,股东类型 | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage1to3 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage1To5(report_date, g_type)` 前5大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage1to5 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage2(report_date, g_type)` 第2大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage2 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage3(report_date, g_type)` 第3大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage3 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage4(report_date, g_type)` 第4大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage4 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage5(report_date, g_type)` 第5大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage5 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage6(report_date, g_type)` 第6大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage6 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage7(report_date, g_type)` 第7大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage7 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage8(report_date, g_type)` 第8大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage8 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPercentage9(report_date, g_type)` 第9大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例。 | 参数 | 类型 | 说明 | | ------------- | ---- | ---------------- | | `report_date` | int | 整数,报告期; | | `g_type` | int | 整数,股东类型; | 返回:float ### 示例 ```tsl ov:=BackUpSystemParameters(); SetSysParam(pn_stock(),"SZ000002"); RDate:=NewReportDateOfEndT2(Inttodate(20121010)); R:= StockMSHPercentage8 (RDate,0); RestoreSystemParameters(ov); Return R; ``` ## `stockMshPledge(report_date, g_type, from_no, to_no)` 前N大股东质押股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | | `from_no` | int | 整数,开始索引号 | | `to_no` | int | 整数,截止索引号 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledge(20250930,0,1,10);// 结果:284263000 ``` ## `stockMshPledgePercent(report_date, g_type, from_no, to_no)` 前N大股东质押股占总股本比,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | | `from_no` | int | 整数,开始索引号 | | `to_no` | int | 整数,截止索引号 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgePercent(20250930,0,1,10);// 结果:17.89 ``` ## `stockMshPledgePercentto10(report_date, g_type)` 前10大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgePercentto10(20250930,0);// 结果:17.89 ``` ## `stockMshPledgePercentto3(report_date, g_type)` 前3大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgePercentto3(20250930,0);// 结果:16.175 ``` ## `stockMshPledgePercentto5(report_date, g_type)` 前5大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgePercentto5(20250930,0);// 结果:17.86 ``` ## `stockMshPledgeto10(report_date, g_type)` 前10大股东质押股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgeto10(20250930,0);// 结果:284263000 ``` ## `stockMshPledgeto3(report_date, g_type)` 前3大股东质押股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgeto3(20250930,0);// 结果:257070000 ``` ## `stockMshPledgeto5(report_date, g_type)` 前5大股东质押股股数,与系统参数(证券代码)相关 | 参数 | 类型 | 说明 | | ------------- | ---- | ------------------- | | `report_date` | int | 报告期,指定报告期 | | `g_type` | int | 用户自定义,股东类型 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SH601500"); return StockMSHPledgeto5(20250930,0);// 结果:283860000 ``` ## `stockMshShares(report_date, g_type, from_no, to_no)` 股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | | `from_no` | int | 整数类型,开始索引号; | | `to_no` | int | 整数类型,截止索引号; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHNames(20180331,1,1,10); ``` ## `stockMshShares1(report_date, g_type)` 第1大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares1(20180331,0); ``` ## `stockMshShares10(report_date, g_type)` 第10大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares10(20180331,0); ``` ## `stockMshShares1To10(report_date, g_type)` 前10大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares1to10(20180331,0); ``` ## `stockMshShares1To3(report_date, g_type)` 前3大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares1to3(20180331,0); ``` ## `stockMshShares1To5(report_date, g_type)` 前5大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares1to5(20180331,0); ``` ## `stockMshShares2(report_date, g_type)` 第2大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares2(20180331,0); ``` ## `stockMshShares3(report_date, g_type)` 第3大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares3(20180331,0); ``` ## `stockMshShares4(report_date, g_type)` 第4大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares4(20180331,0); ``` ## `stockMshShares5(report_date, g_type)` 第5大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares5(20180331,0); ``` ## `stockMshShares6(report_date, g_type)` 第6大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares6(20180331,0); ``` ## `stockMshShares7(report_date, g_type)` 第7大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares7(20180331,0); ``` ## `stockMshShares8(report_date, g_type)` 第8大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares8(20180331,0); ``` ## `stockMshShares9(report_date, g_type)` 第9大股东持股数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `g_type` | int | 用户自定义类型,股东类型; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHShares9(20180331,0); ``` ## `stockMshSharesChange(end_report, begin_report)` 十大股东持股变动详情,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------------- | -------- | ------------------------ | | `end_report` | datetime | 报告期类型,截止报告期; | | `begin_report` | datetime | 报告期类型,开始报告期; | 返回:array ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHSharesChange(20180331,20121231); ``` ## `stockMshType1(report_date)` 第1大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType1(20180331); ``` ## `stockMshType10(report_date)` 第10大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType10(20180331); ``` ## `stockMshType2(report_date)` 第2大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType2(20180331); ``` ## `stockMshType3(report_date)` 第3大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType3(20180331); ``` ## `stockMshType4(report_date)` 第4大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType4(20180331); ``` ## `stockMshType5(report_date)` 第5大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType5(20180331); ``` ## `stockMshType6(report_date, from_no)` 十大股东期末持股性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | | `from_no` | any | 整数类型,开始索引号 | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType6(20180331); ``` ## `stockMshType7(report_date)` 第7大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType7(20180331); ``` ## `stockMshType8(report_date)` 第8大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType8(20180331); ``` ## `stockMshType9(report_date)` 第9大股东性质,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | ------------- | -------- | -------------------- | | `report_date` | datetime | 报告期类型,报告期; | 返回:string ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockMSHType9(20180331); ``` ## `stockShAmount(r_date)` 股东户数,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------- | -------- | -------------------- | | `r_date` | datetime | 报告期类型,报告期; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockSHAmount(20180331); ``` ## `stockShAmountChangePerPerson(report_date1, report_date2)` 人均持股变动 | 参数 | 类型 | 说明 | | -------------- | ---- | ----------------- | | `report_date1` | int | 报告期,指定报告期 | | `report_date2` | int | 报告期,同比报告期 | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ000002"); return StockSHAmountChangePerPerson(20250930,20240930); //结果:4211.1 ``` ## `stockShAmountGrow(report_date1, report_date2)` 股东户数增减,与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------------- | -------- | ------------------------ | | `report_date1` | datetime | 报告期类型,截止报告期; | | `report_date2` | datetime | 报告期类型,前报告期; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockSHAmountGrow(20180331,20121231); ``` ## `stockShAmountGrowRatio(report_date1, report_date2)` 股东户数变化(%),与当前股票pn_stock(),当前时间pn_date()相关。 | 参数 | 类型 | 说明 | | -------------- | -------- | ------------------------ | | `report_date1` | datetime | 报告期类型,截止报告期; | | `report_date2` | datetime | 报告期类型,前报告期; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockSHAmountGrowRatio(20180331,20121231); ``` ## `stockShAmountPerPerson(report_date)` 返回指定股票人均持股,报告期末流通股/期末股东户数,该函数和证券代码有关。Real。 | 参数 | 类型 | 说明 | | ------------- | -------- | ---- | | `report_date` | datetime | | 返回:float ## `stockShAmountPerPersonChange(report_date1, report_date2)` 人均持股变化(%),与当前股票pn_stock(),当前时间pn_date()相关。 注:剔除送股的影响 | 参数 | 类型 | 说明 | | -------------- | -------- | ------------------------ | | `report_date1` | datetime | 报告期类型,截止报告期; | | `report_date2` | datetime | 报告期类型,同比报告期; | 返回:float ### 示例 ```tsl setsysparam(pn_stock(),"SZ300296"); return StockSHAmountPerPersonChange(20171231,20121231); ```