知识库
>
金融建模
>
公用函数
>
金融工程
>
Dev
StockHoldingCount
复制链接
简述
返回当前默认证券代码设置了'HoldingInfo'的系统变量值
定义
StockHoldingCount();Number
参数
无
返回:返回当前默认证券代码设置了'HoldingInfo'的系统变量值
范例:
SetStockBuyInfo('SZ000002','HoldingInfo',9);
SetSysParam(PN_STOCK(),'SZ000002');
return StockHoldingCount();
//结果:9
相关
BuySample
SelectStockIndex
SellSample
TradingStrategyByBk
TradingStrategyByBk2
TradingByJSZB
PortfolioCalcSys
SetRetBuyPrice
SetRetSellPrice
SetStockBuyInfo
StockBuyInfo
SetStockBuyPrice
StockBuyPrice
SetStockBuyTime
StockBuyTime
StockHoldingCount
SelectStockIndex_Call
TrueTransactionYtm
TSB_Data1
TSB_Data2
StockBuyDiff
StockBuyTimeDiff