知识库
>
金融建模
>
公用函数
>
金融工程
>
Dev
BuySample
复制链接
简述
买入策略范例,与系统环境变量有关
定义
BuySample():Boolean
参数
无
返回:布尔类型,是否买入
范例:
SetSysParam(PN_Stock(),'SZ000002');
SetSysParam(pn_date(),inttodate(20121017));
return BuySample(); //判断万科A在2012-10-17在买入策略BuySample()下是否买入
//结果:0
相关
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