0
Follow
0
Followers
c++
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();这个方法就可以成功
Related Recommendations
symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using botsPlease translate the buy plan pageRunning botvs docker on androidhttp://www.stevenwu.me/archives/871
