@icgio/icg-exchanges-wrapper 1.14.82 → 1.14.84

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.
@@ -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
- if (_.isArray(this.cmc_curs)) {
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.82",
3
+ "version": "1.14.84",
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.49",
21
- "@icgio/icg-exchanges-data": "^1.10.46",
22
- "@icgio/icg-utils": "^1.9.15",
20
+ "@icgio/icg-exchanges": "^1.32.50",
21
+ "@icgio/icg-exchanges-data": "^1.10.47",
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.2"
26
+ "ws": "^8.18.3"
27
27
  }
28
28
  }