@icgio/icg-exchanges-wrapper 1.19.1 → 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.
- package/middleware/orders.js +2 -1
- package/package.json +2 -2
package/middleware/orders.js
CHANGED
|
@@ -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
|
-
|
|
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 = {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icgio/icg-exchanges-wrapper",
|
|
3
|
-
"version": "1.
|
|
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.
|
|
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"
|