天软金融分析.NET函数大全
>
金融函数
>
板块
>
行情指标
>
当日行情
StocksAmountPercent3
复制链接
简述
返回板块成交额占市场总成交额比重,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
定义
StocksAmountPercent3(StockArr:Array;MarketName:String;SType:Int):Real
参数
名称
类型
说明
StockArr
Array
一维字符串数组,股票列表
MarketName
String
市场和板块,市场名称
Stype
Int
用户自定义
股票类型
取值
A股
1
B股
2
深证B股
3
上证B股
4
全部
0
返回
Real
实数
范例
//返回沪深300成交金额之和占深证A股、上证A股成交金额的比重
Stks:=getbkbydate('SH000300',inttodate(20101231));
stocks:=GetBKByDate('SZ399903',inttodate(20101231));
SetSysParam(pn_date(),20101231T);
return StocksAmountPercent3(stks,'深证A股;上证A股',0);
//返回结果:58.9
相关
StocksAmountSum3
StocksHSL3
StocksVolSum3
StocksAmountPercent3
StocksVolPercent3
向导函数
BK_DTCount
BK_DTList
BK_FanBaoBanCount
BK_FanBaoBanList
BK_FirstBanInWeekCount
BK_FirstBanInWeekList
BK_LBanStockLists
BK_OpenAuctionZTRatio
BK_TBanCount
BK_TBanList
BK_YiZiBanCount
BK_YiZiBanList
BK_ZTCount
BK_ZTLBList
BK_ZTLBNumCount
BK_ZTLBNumList
BK_ZTList
BK_ZTPriceAmount
Index_DTCount
Index_DTList
Index_FanBaoBanCount
Index_FanBaoBanList
Index_FirstBanInWeekCount
Index_FirstBanInWeekList
Index_LBanStockLists
Index_OpenAuctionZTRatio
Index_TBanCount
Index_TBanList
Index_YiZiBanCount
Index_YiZiBanList
Index_ZTCount
Index_ZTLBList
Index_ZTLBNumCount
Index_ZTLBNumList
Index_ZTList
Index_ZTPriceAmount
中间函数
BK_DTBreakRatio
BK_ZT2LBRatio
BK_ZT3LBRatio
BK_ZTAmount
BK_ZTAvgMaxDF
BK_ZTAvgMaxZF
BK_ZTAvgOpenZF
BK_ZTAvgZF
BK_ZTBreakCount
BK_ZTHitLimitRatio
BK_ZTIn2HourCount
BK_ZTIn3HourCount
BK_ZTIn4HourCount
BK_ZTInHalfHourCount
BK_ZTInMinCount
BK_ZTInOpenCount
BK_ZTInSecCount
BK_ZTLB2Count
BK_ZTLB3Count
BK_ZTLB4Count
BK_ZTLB5Count
BK_ZTLBRatio
Index_DTBreakRatio
Index_ZT2LBRatio
Index_ZT3LBRatio
Index_ZTAmount
Index_ZTAvgMaxDF
Index_ZTAvgMaxZF
Index_ZTAvgOpenZF
Index_ZTAvgZF
Index_ZTBreakCount
Index_ZTHitLimitRatio
Index_ZTIn2HourCount
Index_ZTIn3HourCount
Index_ZTIn4HourCount
Index_ZTInHalfHourCount
Index_ZTInMinCount
Index_ZTInOpenCount
Index_ZTInSecCount
Index_ZTLB2Count
Index_ZTLB3Count
Index_ZTLB4Count
Index_ZTLB5Count
Index_ZTLBRatio