@icgio/icg-exchanges-wrapper 1.14.120 → 1.14.121
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 +5 -5
- package/package.json +2 -2
package/middleware/orders.js
CHANGED
|
@@ -75,10 +75,10 @@ module.exports = class Orders {
|
|
|
75
75
|
this.exchange_cur_quote_cur = exchange_cur_quote_cur
|
|
76
76
|
this.exchange_cur_quote_cur_rates_only = exchange_cur_quote_cur_rates_only
|
|
77
77
|
this.pair_map_rates_only = pair_map_rates_only || {}
|
|
78
|
-
let { exchange_pairs, pair_exchanges,
|
|
78
|
+
let { exchange_pairs, pair_exchanges, exchange_pairs_without_affiliates, pair_exchanges_without_affiliates } = utils.exchange_cur_quote_cur_converter(exchange_cur_quote_cur)
|
|
79
79
|
let { exchange_pairs: exchange_pairs_rates_only, pair_exchanges: pair_exchanges_rates_only } = utils.exchange_cur_quote_cur_converter(exchange_cur_quote_cur_rates_only)
|
|
80
80
|
this.exchange_pairs = exchange_pairs
|
|
81
|
-
this.
|
|
81
|
+
this.exchange_pairs_without_affiliates = exchange_pairs_without_affiliates
|
|
82
82
|
this.pair_exchanges = pair_exchanges
|
|
83
83
|
this.pair_exchanges_without_numbers = pair_exchanges_without_numbers
|
|
84
84
|
this.exchange_pairs_rates_only = exchange_pairs_rates_only
|
|
@@ -1383,7 +1383,7 @@ module.exports = class Orders {
|
|
|
1383
1383
|
}
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
|
-
get_rates(this.Exchanges, this.ExchangesRatesOnly, this.
|
|
1386
|
+
get_rates(this.Exchanges, this.ExchangesRatesOnly, this.exchange_pairs_without_affiliates, this.exchange_pairs_rates_only, this.interval_dict)
|
|
1387
1387
|
}
|
|
1388
1388
|
check_market_history() {
|
|
1389
1389
|
let market_history_handler = (exchange, pair, res) => {
|
|
@@ -1418,7 +1418,7 @@ module.exports = class Orders {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
|
-
get_market_history(this.Exchanges, this.
|
|
1421
|
+
get_market_history(this.Exchanges, this.exchange_pairs_without_affiliates, this.interval_dict)
|
|
1422
1422
|
}
|
|
1423
1423
|
check_ohlcv() {
|
|
1424
1424
|
const OHLCV_DEFAULT_PAST_HOURS = 24
|
|
@@ -1455,7 +1455,7 @@ module.exports = class Orders {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
get_ohlcv(this.Exchanges, this.
|
|
1458
|
+
get_ohlcv(this.Exchanges, this.exchange_pairs_without_affiliates, this.interval_dict)
|
|
1459
1459
|
}
|
|
1460
1460
|
check_cmc_rates(data, type, source) {
|
|
1461
1461
|
let check_cmc_rates_base = (data, type, source) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.121",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@icgio/icg-exchanges": "^1.32.69",
|
|
21
21
|
"@icgio/icg-exchanges-data": "^1.10.60",
|
|
22
|
-
"@icgio/icg-utils": "^1.9.
|
|
22
|
+
"@icgio/icg-utils": "^1.9.22",
|
|
23
23
|
"influx": "^5.10.0",
|
|
24
24
|
"lodash": "^4.17.20",
|
|
25
25
|
"uuid": "^11.1.0",
|