目前每次我下订单时
order.m_action = "BUY";
order.m_totalQuantity = 1;
order.m_lmtPrice = 4.00;
order.m_orderType = "LMT";
order.m_account = "U123123";
int randomNum = ThreadLocalRandom.current().nextInt(1, 5564 + 1)
m_s.placeOrder(randomNum, c, order);
我收到错误消息:
1041 103 Duplicate order id
关于为新挂单生成新 ID 的任何想法?
谢谢。