欢迎使用金字塔普通技术服务论坛,您可以在相关区域发表技术支持贴。
我司技术服务人员将优先处理 VIP客服论坛 服务贴,普通区问题处理速度慢,请耐心等待。谢谢您对我们的支持与理解。


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件金字塔软件问题提交 → 出现这样的成交?

   

欢迎使用金字塔普通技术服务论坛,您可以在相关区域发表技术支持贴。
我司技术服务人员将优先处理 VIP客服论坛 服务贴,普通区问题处理速度慢,请耐心等待。谢谢您对我们的支持与理解。    


  共有5741人关注过本帖树形打印复制链接

主题:出现这样的成交?

帅哥哟,离线,有人找我吗?
panjian
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:277 积分:2299 威望:0 精华:0 注册:2010/3/30 21:43:54
出现这样的成交?  发帖心情 Post By:2010/11/4 11:07:11 [只看该作者]


 

2010-11-04 10:38:45
77022 : SR109 - 已成交 1 价格:6860 开 买

2010-11-04 10:45:02
77022 : SR109 - 综合交易平台:平仓量超过持仓量

2010-11-04 10:45:02
77022 : SR109 - 已报单 1 价格:0 平 卖

2010-11-04 10:45:02
77022 : SR109 - 已成交 1 价格:6855 平 卖

 以上是我的成交记录 上面提醒我平仓量超过持仓量 其实提醒是不对的 我确实买了一手糖 也只平了一手糖 下面看来也确实只成交了一手糖 应该没有错误 后来也确实平了1手 怎么会出现上面的提醒


 回到顶部
帅哥哟,离线,有人找我吗?
admin
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:管理员 帖子:7302 积分:32559 威望:1000 精华:45 注册:2003/12/30 16:34:32
  发帖心情 Post By:2010/11/4 11:21:22 [只看该作者]

2010-11-04 10:45:02
77022 : SR109 - 综合交易平台:平仓量超过持仓量

2010-11-04 10:45:02
77022 : SR109 - 已报单 1 价格:0 平 卖

 

从这个记录来看,你是连续报了两次平仓指令,当然只有一次才会是有效的


 回到顶部
帅哥哟,离线,有人找我吗?
panjian
  3楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:277 积分:2299 威望:0 精华:0 注册:2010/3/30 21:43:54
  发帖心情 Post By:2010/11/4 11:31:00 [只看该作者]

 


Variable:BuyCon=1;
Variable:duo=1;
Variable:kong=1;
variable:w=1;
s:=tenterbars;
variable:z=1;
 z:=a;
 w:=b;
BuyCon: =c);
duo:=d;
kong:=e;
If BuyCon and duo and tholding=0 then begin
tbuy(1,1,mkt);
end
if BuyCon and kong and tholding=1 then begin
tSELL(1,0,MKT);
tBUYSHORT(1, 1,MKT);
end
if s=1 and tholding=1 then
begin
tsell(1,0,mkt);
end
if s=1 and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
end

if BuyCon and kong and tholding=0 then
begin
tbuyshort(1,1,mkt);
end
if BuyCon and duo and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
tBUY(1,1,MKT);
end
if s=1 and tholding=1 then
begin
tsell(1,0,mkt);
end
if s=1 and tholding=-1 then
begin
tSELLSHORT(1,0,MKT);
end
if  currenttime>145955  then
begin
tsell(1,0,mkt);
end
if currenttime>145955   then
begin
tsellshort(1,0,mkt);
end

 

以上是我的指令框架 版主帮我分析一下 或者帮我改一下 框架 让我避免两次报单


 回到顶部