以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  策略无法得知当前运行品种!  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=25399)

--  作者:双保险
--  发布时间:2012/9/12 9:59:50
--  策略无法得知当前运行品种!
金字塔提供的函数不管用,后台:
   尝试打印/DEBUGOUT(\'Instrument:%s\', STKNAME());
   //DEBUGOUT(\'Instrument:%s\', STKLABEL());
 
结果得不到正确结果
 

 

--  作者:jinzhe
--  发布时间:2012/9/12 10:04:47
--  
debugout显示的是数字,你用msgout或者debugfileout
--  作者:admin
--  发布时间:2012/9/12 10:04:58
--  

debugout是不支持%s类型的

 

DEBUGOUT(\'Instrument:\'& STKNAME(),0);