Help! How to deal with commodity futures when the price is above the price of the day's bearish price

Author: abc122615, Created: 2020-02-28 12:08:29, Updated:

imgIn this example, the price of the drop board is 3268, the order is 3263, and the result is that the exchange returns the wrong message.

The code uses try...catch, but it can't capture the returned error, so it can't continue processing.img


More

The grassCommodity futures generate an id as long as an order is placed, and the error message is returned by the futures trader. This can lead to error tolerance problems.

abc122615Good, thank you very much!