打印本文打印本文 关闭窗口关闭窗口

后台程序化菜鸟求教

作者:金字塔 来源:cxh99.com 发布时间:2015年04月24日
  • 咨询内容: 最近准备把图表的改成后台程序化交易请教如何在后台实现反手啊图表是这样写的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 );在模拟测试的时候平仓没有问题 开仓开不出来请各位大虾指教

     

  • 金字塔客服:

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

     

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

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

打印本文打印本文 关闭窗口关闭窗口