以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 平仓编写 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=87993) |
-- 作者:逢好运 -- 发布时间:2015/12/2 21:32:54 -- 平仓编写 用在5分钟周期,北京时间下午3点收盘前平仓,晚上11点30分收盘前平仓,应该怎么样编写? |
-- 作者:wenarm -- 发布时间:2015/12/2 22:44:54 -- if (time>145500 and time<=150000) or (time>232500 and time<=233000) then begin sell(1,0,market); sellshort(1,0,market); end
|