@icgio/icg-exchanges-wrapper 1.9.156 → 1.9.158
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.
|
@@ -145,7 +145,7 @@ module.exports.get_exchanges_ohlcv = function (Exchanges, exchange_pair_dict, fr
|
|
|
145
145
|
continue
|
|
146
146
|
}
|
|
147
147
|
for (let pair of exchange_pair_dict[Exchange_name]) {
|
|
148
|
-
_.set(ohlcv_status, [
|
|
148
|
+
_.set(ohlcv_status, [Exchange_name + pair], false)
|
|
149
149
|
if (Exchange.ohlcv) {
|
|
150
150
|
Exchange.ohlcv(pair, from_in_ms, to_in_ms, function (res) {
|
|
151
151
|
if (res.success) {
|
|
@@ -159,13 +159,13 @@ module.exports.get_exchanges_ohlcv = function (Exchanges, exchange_pair_dict, fr
|
|
|
159
159
|
delete pair_exchange_ohlcv[pair][Exchange_name]
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
_.set(ohlcv_status, [
|
|
162
|
+
_.set(ohlcv_status, [Exchange_name + pair], true)
|
|
163
163
|
if (!_.includes(_.values(ohlcv_status), false)) {
|
|
164
164
|
cb({ exchange_pair_ohlcv, pair_exchange_ohlcv })
|
|
165
165
|
}
|
|
166
166
|
})
|
|
167
167
|
} else {
|
|
168
|
-
_.set(ohlcv_status, [
|
|
168
|
+
_.set(ohlcv_status, [Exchange_name + pair], true)
|
|
169
169
|
if (!_.includes(_.values(ohlcv_status), false)) {
|
|
170
170
|
cb({ exchange_pair_ohlcv, pair_exchange_ohlcv })
|
|
171
171
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.158",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@icgio/icg-exchanges": "^1.27.109",
|
|
21
21
|
"@icgio/icg-exchanges-data": "^1.6.57",
|
|
22
|
-
"@icgio/icg-utils": "^1.7.
|
|
22
|
+
"@icgio/icg-utils": "^1.7.31",
|
|
23
23
|
"influx": "^5.7.0",
|
|
24
24
|
"lodash": "^4.17.20",
|
|
25
25
|
"uuid": "^8.3.2",
|