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


金字塔客服中心 - 专业程序化交易软件提供商金字塔软件公式模型编写问题提交 → 关于日志

   

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


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

主题:关于日志

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
关于日志  发帖心情 Post By:2015/3/30 11:20:01    Post IP:125.94.38.182[只看该作者]

交易日志里,因为某行信号发生交易,但查回程序里那一行并不是交易动作,或信号的,请问这个行数是否算上空行的

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


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2015/3/30 11:23:14    Post IP:58.246.57.26[只看该作者]

 

交易日志没有记录那就说明那里的下单不是程序下单



金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
  发帖心情 Post By:2015/3/30 15:27:33    Post IP:125.94.38.182[只看该作者]

晕,当然是程序下单

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
  发帖心情 Post By:2015/3/30 15:28:20    Post IP:125.94.38.182[只看该作者]

他是说程序里的哪一行出现信号,但对回程序,那并不是交易行,也不是行号行,只是end之类的东西,所以金字塔的行号标识是不是不问题


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


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2015/3/30 15:31:59    Post IP:58.246.57.26[只看该作者]

不会是这样的,你举实例说明一下


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
  发帖心情 Post By:2015/3/30 15:33:38    Post IP:125.94.38.182[只看该作者]

 if (CS<CS1 or (nBE>=nBE1+0.4)) then begin//排名上升,上升一个区间
if tholding2>-e then begin
if tholding2<e then begin
if not(TORDERPRICE(4,1)=BE) then sc:=0;
if not(TORDERPRICE(1,1)=BE) then bo:=0;
if tholding2>=0 then begin
if tsellholding(1)>0 then begin//加了限制
if sc=0 then tsellshort(close-nBE>m,1,lmt,BE);
sc:=1;bo:=1;
end
if tsellholding(1)=0 then begin
if bo=0 then tbuy(close-nBE>m,1,lmt,BE);
bo:=1;sc:=1;
end
end
if tholding2=-1 then begin
if tsellholding(1)>1 then begin
if sc=0 then tsellshort(close-nBE>m,2,lmt,BE);
sc:=1;bo:=1;
end
if tsellholding(1)=1 then begin
if sc=0 then tsellshort(close-nBE>m,1,lmt,BE);
sc:=1;
if bo=0 then tbuy(close-nBE>m,1,lmt,BE);
bo:=1;
end
if tsellholding(1)=0 then begin
if bo=0 and sc=0 then tbuy(close-nBE>m,2,lmt,BE);
bo:=1;sc:=1;
end
end
if tholding2<-1 then begin 
if tsellholding(1)>2 then begin
if sc=0 then tsellshort(close-nBE>m,3,lmt,BE);
sc:=1;bo:=1;
end
if tsellholding(1)>1 then begin
if sc=0 then tsellshort(close-nBE>m,2,lmt,BE);
sc:=1;
if bo=0 then tbuy(close-nBE>m,1,lmt,BE);
bo:=1;
end
if tsellholding(1)=1 then begin
if sc=0 then tsellshort(close-nBE>m,1,lmt,BE);
sc:=1;
if bo=0 then tbuy(close-nBE>m,1,lmt,BE);
bo:=1;
end
if tsellholding(1)=0 then begin
if bo=0 and sc=0 then tbuy(close-nBE>m,2,lmt,BE);
bo:=1;sc:=1;
end
end
end
if tholding2>=e then begin//极限再平空开多
if not(TORDERPRICE(4,1)=BE) then sc:=0;
if not(TORDERPRICE(1,1)=BE) then bo:=0;
if ERSI1>=-32 then bo:=1;
if sc=0 and ERSI1<-32 and tsellholding(1)>1 then begin
tsellshort(close-nBE>m,2,lmt,BE);
sc:=1;
end
if sc=0 and ERSI1<-32 and tsellholding(1)=1 then begin
tsellshort(close-nBE>m,1,lmt,BE);
sc:=1;
end
if bo=0 then begin
tbuy(close-nBE>m,1,lmt,BE);
bo:=1;
end
end
end
if tholding2<=-e and taccount(4)<0 and ERSI1<32 then begin
if not(TORDERPRICE(4,1)=BE) then sc:=0;
if not(TORDERPRICE(1,1)=BE) then bo:=0;
if sc=0 and tsellholding(1)>2 then begin
tsellshort(close-nBE>m,3,lmt,BE);
sc:=1;
bo:=1;
end
if sc=0 and tsellholding(1)>1 then begin
tsellshort(close-nBE>m,2,lmt,BE);
sc:=1;
end
if sc=0 and tsellholding(1)=1 then begin
tsellshort(close-nBE>m,1,lmt,BE);
sc:=1;
end
if bo=0 then begin
tbuy(close-nBE>m,1,lmt,BE);
tbuy(close-nBE>m,1,lmt,BE);
tbuy(close-nBE>m,1,lmt,BE);
bo:=1;
end
end
end  
能解释这段程序为什么一两秒内会在同价位反复开平单吗

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


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2015/3/30 15:34:42    Post IP:58.246.57.26[只看该作者]

看下单日志,看看是那句话触发的,触发下单说明条件满足


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
  发帖心情 Post By:2015/3/30 16:58:00    Post IP:125.94.38.182[只看该作者]

他说程序第几行,但第几行没有下单语句的,所以我问是不是空行的都不算行号

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


加好友 发短信
等级:罗宾汉 帖子:46311 积分:50819 威望:0 精华:2 注册:2011/3/23 8:50:25
  发帖心情 Post By:2015/3/30 17:01:38    Post IP:58.246.57.26[只看该作者]

这里有具体的行数,不会数的可以看这里的标记
图片点击可在新窗口打开查看此主题相关图片如下:1.png
图片点击可在新窗口打开查看


金字塔—专业程序化交易量化投资平台

客户服务部

----------------------------------------------------------- 欢迎您参加我公司的技术培训,具体培训需求请发邮件到service@weistock.com

您的宝贵建议或者投诉,请发往邮箱:weiwei@weistock.com

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


加好友 发短信
等级:黑侠 帖子:791 积分:856 威望:0 精华:0 注册:2011/11/16 23:34:34
  发帖心情 Post By:2015/3/30 17:04:29    Post IP:125.94.38.182[只看该作者]

就是对不上

 回到顶部
总数 11 1 2 下一页