Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共3 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:出现这样的成交?

1楼
panjian 发表于: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手 怎么会出现上面的提醒

2楼
admin 发表于:2010/11/4 11:21:22

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

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

 

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

3楼
panjian 发表于: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

 

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

共3 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01367 s, 2 queries.