@icgio/icg-exchanges-wrapper 1.9.119 → 1.9.120
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 -0
- package/package.json +1 -1
package/middleware/orders.js
CHANGED
|
@@ -1183,6 +1183,7 @@ module.exports = class Orders {
|
|
|
1183
1183
|
if (exchange === 'coinsbit' && pair === 'PRMXUSDT') {
|
|
1184
1184
|
if (_.get(this.rates, ['kucoin', 'PRMXUSDT'])) {
|
|
1185
1185
|
_.set(this.rates, ['coinsbit', 'PRMXUSDT'], Object.assign(_.get(this.rates, ['kucoin', 'PRMXUSDT']), { update_time: new Date() }))
|
|
1186
|
+
process_rates()
|
|
1186
1187
|
}
|
|
1187
1188
|
} else if (res.success) {
|
|
1188
1189
|
res.body.asks = res.body.asks.slice(0, RATES_LENGTH_MAX)
|