@icgio/icg-exchanges-wrapper 1.14.83 → 1.14.85
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 +1 -6
- package/package.json +4 -4
package/middleware/orders.js
CHANGED
|
@@ -109,7 +109,6 @@ module.exports = class Orders {
|
|
|
109
109
|
this.previous_orders_canceled_exchange_pair = {}
|
|
110
110
|
this.account_init = false
|
|
111
111
|
this.cmc_curs = settings.cmc_curs || []
|
|
112
|
-
this.cmc_source = settings.cmc_source || 'coingecko'
|
|
113
112
|
this.accounting_benchmark = settings.accounting_benchmark
|
|
114
113
|
this.balance_benchmark = settings.balance_benchmark || {}
|
|
115
114
|
this.min_reserve_balance = settings.min_reserve_balance || {}
|
|
@@ -226,11 +225,7 @@ module.exports = class Orders {
|
|
|
226
225
|
this.check_ohlcv()
|
|
227
226
|
}
|
|
228
227
|
if (this.function_enabled.cmc_rates_check) {
|
|
229
|
-
|
|
230
|
-
this.check_cmc_rates(this.cmc_curs, 'curs', this.cmc_source)
|
|
231
|
-
} else if (_.isObject(this.cmc_curs)) {
|
|
232
|
-
this.check_cmc_rates(this.cmc_curs, 'curs_dict')
|
|
233
|
-
}
|
|
228
|
+
this.check_cmc_rates(this.cmc_curs, 'curs_dict')
|
|
234
229
|
}
|
|
235
230
|
if (this.function_enabled.balances_check && this.function_enabled.open_orders_check && this.function_enabled.trades_check) {
|
|
236
231
|
setInterval(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.85",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@icgio/icg-exchanges": "^1.32.
|
|
21
|
-
"@icgio/icg-exchanges-data": "^1.10.
|
|
20
|
+
"@icgio/icg-exchanges": "^1.32.51",
|
|
21
|
+
"@icgio/icg-exchanges-data": "^1.10.48",
|
|
22
22
|
"@icgio/icg-utils": "^1.9.16",
|
|
23
23
|
"influx": "^5.10.0",
|
|
24
24
|
"lodash": "^4.17.20",
|
|
25
25
|
"uuid": "^11.1.0",
|
|
26
|
-
"ws": "^8.18.
|
|
26
|
+
"ws": "^8.18.3"
|
|
27
27
|
}
|
|
28
28
|
}
|