天软金融分析.NET函数大全
>
金融函数
>
金融工程
>
Dev
TrueTransactionYtm
复制链接
简述
实际买卖模拟
定义
TrueTransactionYtm(t:Array;Data:Array;MaxPercent:Real;EndT:TDateTime):TableArray
参数
名称
类型
说明
t
Array
数据表类型,用户数据
Data
Array
日期型时间,股票日收益率
MaxPercent
Real
实数,每个股票投入资金占可用资金百分比
EndT
TDateTime
日期型时间,验证截止日期
返回
TableArray
实际买卖模拟
范例
Return SelectStockIndex_Call(
array("SH600460","SZ000920","SH600718"),
inttodate(20120925),
inttodate(20121017),
@BsByMACD(12,26,9,2),
true,
@SsByMACD(12,26,9,2),
false);
//结果:
相关
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