以文本方式查看主题 - 金字塔客服中心 - 专业程序化交易软件提供商 (http://weistock.com/bbs/index.asp) -- 公式模型编写问题提交 (http://weistock.com/bbs/list.asp?boardid=4) ---- 关于后台交易加仓的问题 (http://weistock.com/bbs/dispbbs.asp?boardid=4&id=69557) |
-- 作者:一叶知秋 -- 发布时间:2014/9/3 13:38:46 -- 关于后台交易加仓的问题 老师 请问 后台交易,会不会记录前一次开仓价格和仓位 |
-- 作者:一叶知秋 -- 发布时间:2014/9/3 13:54:42 -- if kong then Tbuyshort(Tholding=0,x,MKT); if kong and ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=x then Tbuyshort(1,x,MKT); if kong and ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=2*x then Tbuyshort(1,x,MKT); if kong and ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=3*x then Tbuyshort(1,x,MKT); ,这是加仓的,是什么问题 |
-- 作者:jinzhe -- 发布时间:2014/9/3 13:58:40 -- 后台获取上次开仓的函数是tenterprice不是enterprice |