图表程序化
过某点时平多同时开空,显示资金不足
平多成交后再开空,如何表达
我还加了个ignorecheckprice
ORDERQUEUE放在ignorecheckprice前面还是后面,
sell(aaa, 0 ,limitr,xx),orderqueue,ignorecheckprice;
buyshort(aaa,1,limitr,xx) ,orderqueue, ignorecheckprice;
sellshort(bbb, 0 ,limitr,yy) ,orderqueue ,ignorecheckprice;
buy(bbb,1,limitr,yy) ,orderqueue ,ignorecheckprice;
这样写?
不对呀,没有同时下平开单,
但是下了平单后,还没成交,几秒钟后就下了开单,还是资金不足
第1条下平单
还没成交,20秒钟后就下了开单
后面的开单是手动