@icgio/icg-exchanges-wrapper 1.19.0 → 1.20.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.
@@ -223,7 +223,8 @@ module.exports = class Orders {
223
223
  }
224
224
  for (let exchange in this.exchange_cur_quote_cur_rates_only) {
225
225
  const exchange_base = utils.exchange_base_from_key(exchange)
226
- this.ExchangesRatesOnly[exchange] = new ICGExchanges[_.upperFirst(exchange_base)]('', '', STANDARD_LIMITS)
226
+ const ro_cd = (cd && cd[exchange]) || {}
227
+ this.ExchangesRatesOnly[exchange] = new ICGExchanges[_.upperFirst(exchange_base)]('', '', _.assign({}, STANDARD_LIMITS, ro_cd))
227
228
  }
228
229
  this.balances = {}
229
230
  this.positions = {}
@@ -462,7 +463,7 @@ module.exports = class Orders {
462
463
  this.delete_order_info(exchange, pair, method, internal_id, order_type + ' limit-trade-' + res.error)
463
464
  }, this.delete_connection_error_orders_timeout)
464
465
  } else {
465
- if (order_type.startsWith('self') || order_type.startsWith('maker_2')) {
466
+ if (order_type.startsWith('self') || order_type.startsWith('maker_2') || order_type.startsWith('maker_3')) {
466
467
  this.delete_order_info(exchange, pair, method, internal_id, order_type + ' limit-trade-timeout')
467
468
  }
468
469
  // else if (_.get(this.order_info, [exchange, pair, method, id, 'status']) === 'INIT') { // make sure no_callback_timeout is NOT running zero
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
19
19
  "dependencies": {
20
- "@icgio/icg-exchanges": "^1.42.1",
20
+ "@icgio/icg-exchanges": "^1.44.0",
21
21
  "@icgio/icg-utils": "^1.9.61",
22
22
  "lodash": "^4.17.23",
23
23
  "pg": "^8.17.2"