@icgio/icg-exchanges-wrapper 1.20.0 → 1.20.1
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 -1
- package/package.json +1 -1
package/middleware/orders.js
CHANGED
|
@@ -1576,7 +1576,7 @@ module.exports = class Orders {
|
|
|
1576
1576
|
this.ws_market_first_time = {}
|
|
1577
1577
|
}
|
|
1578
1578
|
for (let exchange in exchange_pairs) {
|
|
1579
|
-
if (Exchanges[exchange].ws_market
|
|
1579
|
+
if (Exchanges[exchange].ws_market) {
|
|
1580
1580
|
if (!this.ws_market_first_time[exchange]) {
|
|
1581
1581
|
Exchanges[exchange].ws_market(exchange_pairs[exchange], this.ws_market_options)
|
|
1582
1582
|
this.ws_market_first_time[exchange] = true
|