@icgio/icg-exchanges-wrapper 1.9.106 → 1.9.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/middleware/orders.js +2 -2
- package/package.json +1 -1
package/middleware/orders.js
CHANGED
|
@@ -396,7 +396,7 @@ module.exports = class Orders {
|
|
|
396
396
|
order_info.order_type + ' canceled-order-filled'
|
|
397
397
|
)
|
|
398
398
|
setTimeout(() => {
|
|
399
|
-
this.delete_order_info(exchange, pair, type, order_id,
|
|
399
|
+
this.delete_order_info(exchange, pair, type, order_id, order_info.order_type + ' canceled-order-filled')
|
|
400
400
|
}, this.delete_finished_orders_timeout)
|
|
401
401
|
} else if (order_info.status === 'F-FILLED' && trade.amount > order_info.f_amount) {
|
|
402
402
|
// this.info_log('TRADES: FILLED ORDER FILLED MORE', trade, order_info)
|
|
@@ -631,7 +631,7 @@ module.exports = class Orders {
|
|
|
631
631
|
if (max_base_cur_amount > 0) {
|
|
632
632
|
} else {
|
|
633
633
|
if (base_cur_balance > 0) {
|
|
634
|
-
console.error('balance low', exchange,
|
|
634
|
+
console.error('balance low', exchange, base_cur, base_cur_balance, this.min_reserve_balance[exchange][base_cur])
|
|
635
635
|
}
|
|
636
636
|
max_base_cur_amount = 0
|
|
637
637
|
}
|