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");
}
This code attempts to simulate a real-time buy-sell attempt without success. No response. Do not use the exchange.Go () method directly with the exchange.Sell () method; this method can be successful.
lanchaiyeGood. Okay, you got it.
ZeroI've repaired it, I can restart the robot.