@icgio/icg-exchanges-wrapper 1.10.35 → 1.11.0
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 +6 -1
- package/package.json +3 -3
package/middleware/orders.js
CHANGED
|
@@ -95,7 +95,7 @@ module.exports = class Orders {
|
|
|
95
95
|
LIMITS
|
|
96
96
|
if (_.includes(['binance', 'gate', 'gatev4'], exchange)) {
|
|
97
97
|
LIMITS = MEDIUM_LIMITS
|
|
98
|
-
} else if (_.includes(['bitfinex', 'bkex', 'coinsbit', 'kucoin', 'lbank', '
|
|
98
|
+
} else if (_.includes(['bitfinex', 'bkex', 'coinsbit', 'kucoin', 'lbank', 'okx', 'phemex', 'txbit', 'xt'], exchange)) {
|
|
99
99
|
LIMITS = SMALL_LIMITS
|
|
100
100
|
} else if (_.includes(['bitforex', 'bitkub', 'coinbene', 'poloniex'], exchange)) {
|
|
101
101
|
LIMITS = MINIMUM_LIMITS
|
|
@@ -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)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@icgio/icg-exchanges": "^1.
|
|
21
|
-
"@icgio/icg-exchanges-data": "^1.
|
|
20
|
+
"@icgio/icg-exchanges": "^1.29.0",
|
|
21
|
+
"@icgio/icg-exchanges-data": "^1.7.0",
|
|
22
22
|
"@icgio/icg-utils": "^1.7.40",
|
|
23
23
|
"influx": "^5.7.0",
|
|
24
24
|
"lodash": "^4.17.20",
|