以文本方式查看主题

-  金字塔客服中心 - 专业程序化交易软件提供商  (http://weistock.com/bbs/index.asp)
--  公式模型编写问题提交  (http://weistock.com/bbs/list.asp?boardid=4)
----  请教大虾:集合竞价下单平仓这样写可以吗?  (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=2778)

--  作者:dancingrice
--  发布时间:2010/9/9 22:19:39
--  请教大虾:集合竞价下单平仓这样写可以吗?

请教各位大虾:

想在集合竞价时段将所有持仓下单平仓,这样写可以吗?

 

tsell(currenttime>=085500 and currenttime<085900 and holding>0,0,lmt,ref(c,1)*0.97);
tsellshort(currenttime>=085500 and currenttime<085900 and holding<0,0,lmt,ref(c,1)*1.03);


--  作者:admin
--  发布时间:2010/9/9 22:27:39
--  
目前金字塔不支持集合竞价下单,请等待日后升级版