Rss & SiteMap

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

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

标题:后台程序化菜鸟求教

1楼
celuezuhe 发表于:2013/12/27 9:29:36
最近准备把图表的改成后台程序化交易
请教
如何在后台实现反手啊
图表是这样写的
sellshort(pk,holding,thisclose);
buy( kd and holding<=0 ,1,thisclose);
sell(pd,holding,thisclose);
BUYSHORT(kk and holding>=0 ,1,thisclose );

改成后台
sellshort(pk,1,thisclose);
buy( kd and tholding<=0 ,1,thisclose);
sell(pd,1,thisclose);
BUYSHORT(kk and tholding>=0 ,1,thisclose );
在模拟测试的时候平仓没有问题 开仓开不出来
请各位大虾指教

2楼
jinzhe 发表于:2013/12/27 9:34:49

后台根本就不是这么回事,用图表下单语句放个实际持仓判断不是后台交易

 

http://www.weistock.com/bbs/dispbbs.asp?boardid=16&Id=55132

编程教程高级篇,后台编写有详细的解释,

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


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