@icgio/icg-exchanges-wrapper 1.10.35 → 1.10.36
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 +5 -0
- package/package.json +1 -1
package/middleware/orders.js
CHANGED
|
@@ -941,6 +941,11 @@ module.exports = class Orders {
|
|
|
941
941
|
})
|
|
942
942
|
}
|
|
943
943
|
for (let exchange in Exchanges) {
|
|
944
|
+
if (Exchanges[exchange].exchange_type === 'dex') {
|
|
945
|
+
for (let pair of exchange_pairs[exchange]) {
|
|
946
|
+
_.set(this.previous_orders_canceled_exchange_pair, [exchange, pair], true)
|
|
947
|
+
}
|
|
948
|
+
}
|
|
944
949
|
if (Exchanges[exchange].get_all_open_orders_ws) {
|
|
945
950
|
if (Exchanges[exchange].ws_status().trading === 'n-opened') Exchanges[exchange].ws_account()
|
|
946
951
|
get_all_open_orders_ws(exchange)
|