auto d = exchange.GetDepth();
if (d.Valid) {
Log(d.Asks[0], d.Bids[0]);
}
TId ffff;
auto ff=exchange.Go("Sell",d.Bids[0].Price,0.05);
if(ff.wait(ffff)){
Log(" 111",ffff);
}else{
Log("22222");
}
这段代码在实盘仿真试了没有买卖成功。没反应。不用exchange.Go()方法直接用exchange.Sell();这个方法就可以成功
lanchaiye 好的。可以了
Zero 已经修复,重启机器人即可。不需要更新托管