The code for the sublist is as follows: var id = 0; id = exchange.Buy ((25, 0.1); if ((typeof(id) ==
ZeroThere is a possibility of repeated ordering, for example, in a situation where you are requesting the order package has been sent to the exchange, the exchange has executed, but when the order data is returned, a network error occurs, such as overtime, and the policy will call fail, the solution is to check the account balance, whether it matches the previous order, if not, the order was successfully sent.
Shipwrecked 7The code for the suborder is as follows: var id = 0; id = exchange.Buy ((25, 0.1); if ((typeof(id) == 'undefined') koros id === null) { Log (('suborder failed'); id = exchange.Buy ((25, 0.1); }