📦 deps(tsl): sync tsl-playbook from 13be5ea0

Source-Commit: 13be5ea0aa
This commit is contained in:
ci[bot]
2026-07-29 07:58:05 +00:00
parent 9d2b696f58
commit 80357f4bc5
280 changed files with 48658 additions and 13929 deletions
@@ -4,6 +4,8 @@
## `ShowTableByUnit(t, field_arr)`
声明:function
显示t部分字段(带显示单位变换)。其中FieldArr为二维数组,FieldArr的第0列为显示的字段名称,第1列为显示的字段对应的数据列名称,第2列为显示的字段的数据类型,第3列为显示的字段的单位(只对Real类型有意义)。
旧定义:`ShowTableByField(t:array;FieldArr:array):Array`
@@ -21,6 +23,8 @@ Source ID20579
## `Fmin(fun, x0, a, b, aeq, beq, nonlcon, c)`
声明:function
(非线性规划建议统一使用prog_n函数),用起作用集法求任意形式非线性优化问题,结果返回最优点、最优值。可求解如下问题:
旧定义:`NonLP_Fmincon(Fun:String;X0:array;A:Array;B:Array;Aeq:Array;Beq:Array;Nonlcon:String):array`
@@ -44,6 +48,8 @@ Source ID21143
## `SQLCommit(db_alias, 1, 2, 0, 1)`
声明:function
提交事务。
旧定义:`SQLCommnit(DBAlias:String):Integer;`
@@ -64,6 +70,8 @@ Source ID21340
## `MGetVisible(visible)`
声明:function
得到MATLAB引擎是否可视。
旧定义:`MSetVisible(Var Visible:Boolean):Integer;`
@@ -80,6 +88,8 @@ Source ID21498
## `StockMSHType(report_date, from_no)`
声明:function
十大股东期末持股性质,与当前股票pn_stock(),当前时间pn_date()相关。
旧定义:`StockMSHType6(ReportDate:RDate;FromNo:Integer):String;`
@@ -97,6 +107,8 @@ Source ID22681
## `FundICMarketValueGrow(r_date, r_date2, industry_name)`
声明:function
返回指定行业投资市值变动,与系统证券pn_stock()相关。
旧定义:`FundICCentralizationGrow(RDate:Integer;RDate2:Integer;IndustryName:String):Real`
@@ -115,6 +127,8 @@ Source ID23434
## `FundICPercentage2(report, topn, arg, arg, arg, arg, arg)`
声明:function
返回基金指定报告期的前N名行业占净值比例(%),与系统股票pn_stock()相关。
旧定义:`FundICPercentage(ReportDate:Integer;topn:int):Real`
@@ -137,6 +151,8 @@ Source ID23437
## `FundIRStockPercentGrow(r_date)`
声明:function
返回基金指定报告期的股票市值,与系统证券pn_stock()相关。
旧定义:`FundIRStockValue(RDate:Integer):Real`
@@ -153,6 +169,8 @@ Source ID23542
## `BondBeginOftheYear_Calculator(settlement_date, dated_date, maturity_date)`
声明:function
计息年度的开始日期
旧定义:`BondBeginDateNewestPayment (SettlementDate:TDateTime;DatedDate:TDateTime;MaturityDate:TDateTime):TDateTime`
@@ -171,6 +189,8 @@ Source ID24032
## `WarrantCCirculation6(end_t)`
声明:function
上市以来创设剩余规模(万),与系统证券pn_stock()有关。
旧定义:`WarrantCCirculation2(EndT:DateTime):Real`
@@ -187,6 +207,8 @@ Source ID24102
## `WarrantCCirculation5(end_t)`
声明:function
上市以来注销规模(万),与系统证券pn_stock()有关。
旧定义:`WarrantCCirculation2(EndT:DateTime):Real`
@@ -203,6 +225,8 @@ Source ID24101
## `WarrantCCirculation4(end_t)`
声明:function
上市以来创设规模(万),与系统证券pn_stock()有关。
旧定义:`WarrantCCirculation2(EndT:DateTime):Real`
@@ -219,6 +243,8 @@ Source ID24100
## `WarrantCCirculation3(beg_t, end_t)`
声明:function
区间创设剩余规模(万),与系统证券pn_stock()有关。
旧定义:`WarrantCCirculation2(BegT:DateTime;EndT:DateTime):Real`
@@ -236,6 +262,8 @@ Source ID24099
## `Index_PB(right_type, sample_select)`
声明:function
提取指定日的指数市净率,与系统参数(证券代码,时间)相关。
旧定义:`Index_PE(RightType:Integer;SampleSelect:Integer):Integer`
@@ -253,6 +281,8 @@ Source ID24145
## `Bk_PercentLessthanValue(value)`
声明:function
板块跌幅超过指定值比例(%),与系统时间相关,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
旧定义:`Bk_PercentLessthanValue3(Value:Real):Real`
@@ -269,6 +299,8 @@ Source ID24428
## `BK_AmountPercent(market_name, st_ype, arg, a, b, b, b, arg)`
声明:function
板块成交额占市场总成交额比重(%),与系统时间相关,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
旧定义:`Bk_AmountPercent3(MarketName:String;SType:Int):Real`
@@ -292,6 +324,8 @@ Source ID24427
## `StocksDividendYield(stock_arr, r_date, right_type, arg, arg, arg, arg, stype, arg, arg, a, b, b, b, sample_select, arg, arg, arg, arg, eps_criterion, arg, sample_select_0_1, sample_select_2)`
声明:function
计算板块每股经营活动产生的现金流量净额
旧定义:`StocksOperateActivityCashPS(StockArr:Array;RDate:Int;RightType:Int;SType:Int;SampleSelect:Int;EPSCriterion:Real):Real`
@@ -330,6 +364,8 @@ Source ID24508
## `Bk_IRBondValueGrowRatio(r_date, r_date2, fund_type, arg, arg, arg, arg, arg, arg, arg, arg, arg, arg, arg, arg)`
声明:function
返回基金板块债券现金市值变比(%),用两个不同报告期的债券现金市值计算债券现金市值变比(%),其中债券现金市值取自债券市值322004,基金板块使用setsysparam(pn_bk(),bkname)进行设置,其中bkname为基金板块名称。
旧定义:`Bk_ IRBondValueGrowRatio(RDate:Int;RDate2:Int;FundType:Int):Real`
@@ -360,6 +396,8 @@ Source ID25779
## `Fund_SSDomninatorValue()`
声明:function
基金份额-股本单位。根据数据库提供商返回对应的值
旧定义:`Fund_SSSponsorNegotiableSharesField():Integer`
@@ -372,6 +410,8 @@ Source ID26800
## `Fund_BSYHPJFIeld()`
声明:function
债券配置-央行票据。根据数据库提供商返回对应的值
旧定义:`Fund_BSGZField():String`
@@ -384,6 +424,8 @@ Source ID26878
## `DT_Integer()`
声明:function
返回'Integer'字符串。
旧定义:`CU_NameField():String`
@@ -396,6 +438,8 @@ Source ID26979
## `CB_AnnouncementDate()`
声明:function
旧定义:`CB_AnnouncementDate():string 返回:字符串,公布日 算法: 判断数据来源 天软:公布日 其他:公布日`
来源:天软金融分析.NET函数大全 > 金融函数 > 基本面 > 数据库提供商 > 数据表字段对照 > 债券库字段 > 债券派息和利率
@@ -406,6 +450,8 @@ Source ID27011
## `StockBuyVol3()`
声明:function
主买盘量。
旧定义:`StockSellVol3():Real;`
@@ -418,6 +464,8 @@ Source ID27071
## `IsStockGoMarket2(end_t, 0, 1)`
声明:function
是否已上市
旧定义:`IsStockGoMarket3(EndT:TDateTime):Boolean;`
@@ -436,6 +484,8 @@ Source ID27133
## `OBOS_v(n, m)`
声明:function
超买超卖指标,通过计算一段时间内整个股票市场中涨跌家数的累计差关系,来测量大盘买卖气势的强弱及未来演变趋势,以作为研判股数呈现超买或超卖区的参考指标。在某种程度上本指标是一种加大ADL线振幅的分析方法。与系统证券pn_stock()、系统时间pn_date()和系统周期pn_cycle()相关。
旧定义:`ARMS_v(N:Integer;M:Integer):Real`
@@ -453,6 +503,8 @@ Source ID27473
## `Vma_f(m, _type, _type, 0, 1)`
声明:function
变异移动平均。
旧定义:`Lma_f(N:Integer ; type:Integer) : Real/Table`
@@ -473,6 +525,8 @@ Source ID27557
## `ARBR(n, m)`
声明:function
人气意愿指标 1.BR>400,暗示行情过热,应反向卖出;BR<40 ,行情将起死回生,应买进; 2.AR>180,能量耗尽,应卖出;AR<40 ,能量已累积爆发力,应买进; 3.BR 由300 以上的高点下跌至50以下的水平,低于AR 时,为绝佳买点; 4.BR、AR、CR、VR 四者合为一组指标群,须综合搭配使用。
旧定义:`ARBP(N:Integer;M:Integer):Graph`
@@ -490,6 +544,8 @@ Source ID27624
## `SAR_v(dpa, af_initial_value, af_inc_value, return_type)`
声明:function
SAR抛物式时间/价格交易系统。 1.任何时候都可以使用SAR 为停损点; 2.价格涨跌的速度必须比SAR 升降的速度快,否则必会产生停损信号; 3.SAR 由红色变成绿色时,卖出; 4.SAR 由绿色变成红色时,买进; 5.本指标周期参数一般设定为4天; 6.本设定主要为寻找出现多头停损或空头停损的个股; 7.与系统证券pn_stock()、系统时间pn_date()系统周期pn_cycle()和执行点数pn_nday()有关
旧定义:`SAR_f(DPA:Integer;AFInitialValue:Numeric;AFIncValue:Numeric;AFMaxValue:Numeric;ReturnType:Integer):Real`
@@ -509,6 +565,8 @@ Source ID27684
## `PortfolioBackTesting_Quantity_VolAfterDividendandSplit(pf_info_data, end_t, tp_gp)`
声明:function
根据T日分红、送股、配股数据调整昨持仓(数量、总成本、成本价)
旧定义:`PortfolioBackTesting_Quantity_TradeOfDividendandSplit(pfInfoData:TableArray;EndT:TDateTime;tpGP:TableArray):TableArray`
@@ -527,6 +585,8 @@ Source ID32106
## `ETF50SampleData()`
声明:function
50ETF样本的实时买1量和卖1量
旧定义:`50SampleData(); TableArray`
@@ -539,6 +599,8 @@ Source ID27871
## `CB_SatisfyRedempedDays(option, arg, 0, 1, 2)`
声明:function
可转债满足有条件赎回的天数,与系统参数当前证券、当前时间相关。 1)仅考虑指定日在开始赎回日和实际到期日之间日期,如果不在,则返回0; 2)还考虑了其使用的计算区间是否跨计息年度 比如目前看到,恒丰转债SH110019 的赎回 使用的计算区间,是跨了计息年度的,其余的没有, 在不考虑计息年度的情况下,有很多可转债满足的该条件,但是都没有进行赎回,除了恒丰 3)指定日往前取N个计算天数,有M个交易日满足 正股的收盘价 > 转股价 \* 有条件赎回收盘价限制比例(%),则返回M
旧定义:`CB_ SatisfyRedempedDays(Option:UserDefine):Int`
@@ -559,6 +621,8 @@ Source ID36276
## `Stock_RD_Kurt(rsp_cycle, n)`
声明:function
已实现峰度
旧定义:`Stock_RD_ Kurt (RSP_Cycle: TExpression;N:Integer):Real`
@@ -576,6 +640,8 @@ Source ID36657
## `Stock_RD_STD(rsp_cycle, n)`
声明:function
已实现波动率(%)
旧定义:`Stock_RD_ STD (RSP_Cycle: TExpression;N:Integer):Real`
@@ -593,6 +659,8 @@ Source ID36658
## `Stock_RD_STD_UP(rsp_cycle, n)`
声明:function
高频上行波动率(%)
旧定义:`Stock_RD_ STD_UP (RSP_Cycle: TExpression;N:Integer):Real`
@@ -610,6 +678,8 @@ Source ID36659
## `Stock_RD_STD_Down(rsp_cycle, n)`
声明:function
高频下行波动率(%)
旧定义:`Stock_RD_ STD_ Down (RSP_Cycle: TExpression;N:Integer):Real`
@@ -627,6 +697,8 @@ Source ID36660
## `Stock_RD_CumTimeZf(rsp_cycle, b_time, e_time, n)`
声明:function
过去N个日内累计时点涨幅(%)
旧定义:`Stock_RD_ CumTimeZf (RSP_Cycle: TExpression;bTime: TDateTime;eTime: TDateTime;N:Integer):Real`
@@ -646,6 +718,8 @@ Source ID36665
## `Stock_RD_SmartMoney_lnv(rsp_cycle, n, cut_value)`
声明:function
S=\|R\|/ln(V)
旧定义:`Stock_RD_SmartMoney_ lnv (RSP_Cycle: TExpression;N:Integer;cutValue:Real):Real`
@@ -664,6 +738,8 @@ Source ID36674
## `Stock_RD_SmartMoney_beta(rsp_cycle, n, cut_value)`
声明:function
S=\|R\|/(V^beta)
旧定义:`Stock_RD_SmartMoney_ beta (RSP_Cycle: TExpression;N:Integer;cutValue:Real):Real`
@@ -682,6 +758,8 @@ Source ID36673
## `Stock_RD_SkewWBuy(rsp_cycle, k, n)`
声明:function
净委买变化率偏度
旧定义:`Stock_RD_ SkewWBuy (RSP_Cycle: TExpression;k:Integer;N:Integer):Real`
@@ -700,6 +778,8 @@ Source ID36678
## `Stocks_Assoc_HF_ZFCORR(stocks, rsp_cycle, n, min_n)`
声明:function
高频股价涨幅相关性矩阵
旧定义:`Stocks_ Assoc_HF_ZFCORR(Stocks:Array;RSP_Cycle:cycle;N:Integer;minN:Integer):Array`
@@ -719,6 +799,8 @@ Source ID36630
## `IndexDividentPredict_V12(index_id, endt, qk_type, arg, 0, 1, eg, detail_t)`
声明:function
通过预测指数成分股的分红时间和分红金额,从而预测分红点数。
旧定义:`IndexDividentPredict _V12 (IndexID:String;Endt:Date;QKType: Integer;DetailT:Array) :Array;`
@@ -742,6 +824,8 @@ Source ID36747
## `BondFuture_RD_FuturesSpotSpread(bond_id)`
声明:function
返回指定期货相对于指定债券标的期现价差,与系统证券代码时间周期相关。
旧定义:`BondFuture_RD_ FuturesSpotSpread(BondID:string):Real;`
@@ -758,6 +842,8 @@ Source ID36741
## `BondFuture_RD_InvoicePrice(bond_id)`
声明:function
返回指定期货相对于指定债券标的发票价格,与系统证券代码时间周期相关。
旧定义:`BondFuture_RD_ InvoicePrice(BondID:String):Real;`
@@ -774,6 +860,8 @@ Source ID36740
## `TechCacheDoStatement()`
声明:function
旧定义:`TechCacheDo Statement;`
来源:天软金融分析.NET函数大全 > 数据仓库函数 > 时间序列统计 > 时间序列统计缓存标志与性能加速 > TechCacheDo打开技术类缓存
@@ -784,6 +872,8 @@ Source ID28914
## `NoTechCacheDoStatement()`
声明:function
和TechCacheDo相反的是,在NoTechCacheDo语句段中调用的所有相关计算,将均取消缓存。
旧定义:`NoTechCacheDo Statement;`
@@ -796,6 +886,8 @@ Source ID28915
## `WordChartCopyPicFromExcel(excel_file_name, excel_chart_sheet_name, pic_type)`
声明:function
把指定的Excel中的指定的ChartSheet以图形的方式复制到Word中,注意ChartSheet不同于Sheet,其中仅仅包含一个ExcelChart,没有行与列,所以不能使用WordCopyPicFromExcel。
旧定义:`WordCopyPicFromExcel ( ExcelFileName; ExcelChartSheetName: String; [PicType: Boolean=True]): Boolean;`
@@ -814,6 +906,8 @@ Source ID29773
## `HttpGetAuthType()`
声明:function
返回所执行的CGI的认证类型。
旧定义:`HttpGetPathTranslated():String;`
@@ -826,6 +920,8 @@ Source ID21590
## `StockRevenuesByProduct_Call(stock_arr, r_date, product_name, field_arr)`
声明:function
股票列表主营收入构成。
旧定义:`profitforecast_call(StockArr:Array;RDate:Integer;ProductName:String;FieldArr:Array):Array`