以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 金字塔软件问题提交 (http://weistock.com/bbs/list.asp?boardid=2) ---- [原创]在后台序列模式策略中debugfile不能正确输出数据。 (http://weistock.com/bbs/dispbbs.asp?boardid=2&id=4763) |
-- 作者:z7c9 -- 发布时间:2011/1/10 13:51:36 -- [原创]在后台序列模式策略中debugfile不能正确输出数据。 以下内容为程序代码:
1 if debug=1 then begin 2 debugcontent:=numtostr(year,0)+\'-\'+numtostr(month,0)+\'-\'+numtostr(day,0)+\',\'+stkname+\',\'+ 3 numtostr(enterhour,0)+\':\'+numtostr(enterminute,0)+\',\'+numtostr(tenterprice,0)+\',Buy,\'+ 4 numtostr(hour,0)+\':\'+numtostr(minute,0)+\',\'+numtostr(texitprice,0)+\',\'+ 5 numtostr(texitprice-tenterprice,0)+\',\'+numtostr(2*commission,0)+\',\'+numtostr(lots,0)+\',\'+ 6 numtostr(tnumprofit(1),0)+\',\'+numtostr(tasset,2); 7 debugfile(filepath,debugcontent,0); 8 msgout(1,\'1\'); 9 end
红色代码可以正常输出,debugfile不输出数据。
|
-- 作者:admin -- 发布时间:2011/1/10 13:53:15 -- http://www.weistock.com/bbs/dispbbs.asp?boardid=2&Id=4671&page=2
|
-- 作者:z7c9 -- 发布时间:2011/1/10 14:03:16 -- 是说在下个版本修复此问题么? |
-- 作者:董小球 -- 发布时间:2011/1/10 14:09:23 -- 对 序列模式下可能有点问题 再查程序 |