以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://www.weistock.com/bbs/index.asp)
--  金字塔软件问题提交  (http://www.weistock.com/bbs/list.asp?boardid=2)
----  我想把监控的品种一早平仓 这样可以吗?  (http://www.weistock.com/bbs/dispbbs.asp?boardid=2&id=5348)

--  作者:panjian
--  发布时间:2011/3/4 9:10:03
--  我想把监控的品种一早平仓 这样可以吗?

if  currenttime>090003 and  and currenttime<090103 and tholding=-1 then
begin
tsellshort(1,0,mkt);
end
if   currenttime>090003 and  and currenttime<090103 and  tholding=1 then
begin
tsell(1,0,mkt);
end

 


--  作者:董小球
--  发布时间:2011/3/4 9:23:20
--  

可以,但是请在分笔周期运行或者使用高频扫描