以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 平仓 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=88500) |
-- 作者:么么 -- 发布时间:2015/12/16 9:10:20 -- 平仓 if time>=144500 then tsell(1,tholding2,mkt); tsellshort(1,tholding2,mkt); end
老师,我这个14:45全平的写对着没? |
-- 作者:jinzhe -- 发布时间:2015/12/16 9:23:27 -- 正确,建议把tholding2改成数字0 |