if ((dealAmount <= 0):
Log ((
It's always a message that the transaction failed, and then I block the code and it's gone, and I don't know what the code is about. if (dealAmount <= 0) { // Processor less than or equal to 0, i.e. cannot be operated, transaction failed, returns null return null; and
super215 https://dn-filebox.qbox.me/ba05e2d231db74c56090720c8d90617e20a82196.png
Inventors quantify - small dreamsThis judgement is just a test, to see if there is no transaction, and after annotating the code, it is not printed. But the transaction should be no transaction. In addition to this: Log ((("transaction failed - TradeType:","buy" if tradeType == ORDER_TYPE_BUY else "sell",",diffMoney:",diffMoney",,dealAmount",dealAmount",,doAmount",doAmount) You can download the information you have output.
Inventors quantify - small dreamsIs this a review? Check if the account has no assets. This transaction is done.
super215If you run for too long, you're going to get a deal gone wrong.