Rss & SiteMap

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

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

标题:10手单,逐手下单,每隔5秒一次

1楼
qq代人发帖 发表于:2015/7/10 9:40:15
10手单,逐手下单,每隔5秒一次
金字塔平台能实现么
2楼
jinzhe 发表于:2015/7/10 9:47:48

if extgbdata('cishu')=0 then begin

   tbuy(1,1,mkt);

   extgbdataset('cishu',1);

   extgbdataset('time',timetot0(dynainfo(207)));

end

 

if extgbdata('cishu')=1 and timetot0(dynainfo(207))=extgbdat('time')+5 then begin

   tbuy(1,1,mkt);

   extgbdataset('cishu',2);

   extgbdataset('time',timetot0(dynainfo(207)));

end

 

if extgbdata('cishu')=2 and timetot0(dynainfo(207))=extgbdat('time')+5 then begin

   tbuy(1,1,mkt);

   extgbdataset('cishu',3);

   extgbdataset('time',timetot0(dynainfo(207)));

end

 

if extgbdata('cishu')=3 and timetot0(dynainfo(207))=extgbdat('time')+5 then begin

   tbuy(1,1,mkt);

   extgbdataset('cishu',4);

   extgbdataset('time',timetot0(dynainfo(207)));

end

 

if extgbdata('cishu')=4 and timetot0(dynainfo(207))=extgbdat('time')+5 then begin

   tbuy(1,1,mkt);

   extgbdataset('cishu',0);

   extgbdataset('time',timetot0(dynainfo(207)));

end

3楼
略知一二 发表于:2015/7/10 9:54:41
谢谢,楼主幸苦了。
共3 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.01563 s, 3 queries.