@icgio/icg-exchanges-wrapper 1.14.43 → 1.14.45

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.
@@ -40,6 +40,12 @@ const MINIMUM_LIMITS = {
40
40
  private_max_concurrent: 1,
41
41
  private_interval_concurrent: 1000,
42
42
  }
43
+ const HKBITEX_LIMITS = {
44
+ public_max_concurrent: 100,
45
+ public_interval_concurrent: 1000,
46
+ private_max_concurrent: 100,
47
+ private_interval_concurrent: 1000,
48
+ }
43
49
  const SWFT_LIMITS = {
44
50
  public_max_concurrent: 1,
45
51
  public_interval_concurrent: 2000,
@@ -110,7 +116,7 @@ module.exports = class Orders {
110
116
  secret_key_temp = cd[exchange]['secret_keys'] || cd[exchange]['secret_key'],
111
117
  limits
112
118
  if (_.includes(['hkbitex'], exchange)) {
113
- limits = LARGE_LIMITS
119
+ limits = HKBITEX_LIMITS
114
120
  } else if (_.includes(['binance', 'gate', 'gatev4'], exchange)) {
115
121
  limits = MEDIUM_LIMITS
116
122
  } else if (_.includes(['bitfinex', 'coinsbit', 'kucoin', 'lbank', 'okx', 'phemex', 'xt'], exchange)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.14.43",
3
+ "version": "1.14.45",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "homepage": "https://github.com/icgio/icg-exchanges-wrapper#readme",
19
19
  "dependencies": {
20
20
  "@icgio/icg-exchanges": "^1.32.33",
21
- "@icgio/icg-exchanges-data": "^1.10.15",
21
+ "@icgio/icg-exchanges-data": "^1.10.16",
22
22
  "@icgio/icg-utils": "^1.9.13",
23
23
  "influx": "^5.10.0",
24
24
  "lodash": "^4.17.20",