@icgio/clients-config 1.0.6 → 1.0.9

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.
@@ -1,2 +1,2 @@
1
- secretread.js:b3d67c0c4f8a0747fd170ffb21bc6bcf9868dff17136a50c053ffb2fe54f4083
1
+ secretread.js:bcf7054cbda036440058cd50caafd2b59208a43018e7e8e61c599c5daba7c992
2
2
  data-source.js:15072408c197eb95e24f85f09efc1e134aaa7574c5a19510ee1f318e0d6e9dac
@@ -69,6 +69,10 @@
69
69
  },
70
70
  "CARAC": {
71
71
  "Xt": ["CARACUSDT"]
72
+ },
73
+ "CELO": {
74
+ "Binance": ["ETHUSDC"],
75
+ "Uniswap": ["ETHUSDC"]
72
76
  }
73
77
  },
74
78
  "client_not_include_exchanges": {
@@ -87,7 +91,8 @@
87
91
  "VTC": [],
88
92
  "TV": [],
89
93
  "TGMT": [],
90
- "CARAC": []
94
+ "CARAC": [],
95
+ "CELO": []
91
96
  },
92
97
  "client_pair_main_exchanges": {
93
98
  "AVAV": {
@@ -137,6 +142,9 @@
137
142
  },
138
143
  "CARAC": {
139
144
  "CARACUSDT": ["Xt"]
145
+ },
146
+ "CELO": {
147
+ "ETHUSDC": ["Binance"]
140
148
  }
141
149
  },
142
150
  "client_exchange_currencies": {
@@ -271,7 +279,8 @@
271
279
  "VTC": [2, 5, 10],
272
280
  "TV": [2, 5, 10],
273
281
  "TGMT": [2, 5, 10],
274
- "CARAC": [2, 5, 10]
282
+ "CARAC": [2, 5, 10],
283
+ "CELO": [2, 5, 10]
275
284
  },
276
285
  "client_benchmarks": {
277
286
  "AVAV": ["BTC", "ETH"],
@@ -289,7 +298,8 @@
289
298
  "VTC": ["BTC", "ETH"],
290
299
  "TV": ["BTC", "ETH"],
291
300
  "TGMT": ["BTC", "ETH"],
292
- "CARAC": ["BTC", "ETH"]
301
+ "CARAC": ["BTC", "ETH"],
302
+ "CELO": ["BTC", "ETH"]
293
303
  },
294
304
  "client_telegram_ids": {
295
305
  "AVAV": "-4199615909",
@@ -307,6 +317,7 @@
307
317
  "VTC": "-1002045767005",
308
318
  "TV": "-4158304999",
309
319
  "TGMT": "-1002053322082",
310
- "CARAC": "-4103921001"
320
+ "CARAC": "-4103921001",
321
+ "CELO": "-1001814469370"
311
322
  }
312
323
  }
package/config.json CHANGED
@@ -13,10 +13,6 @@
13
13
  "CAVADA": {
14
14
  "Mexc": ["CAVADAUSDT"]
15
15
  },
16
- "CELO": {
17
- "Binance": ["ETHUSDC"],
18
- "Uniswap": ["ETHUSDC"]
19
- },
20
16
  "DIS": {
21
17
  "Bitget": ["DISUSDT"],
22
18
  "Coinw": ["DISUSDT"],
@@ -58,8 +54,7 @@
58
54
  "Mexc": ["MUSSELUSDT"]
59
55
  },
60
56
  "NODED": {
61
- "Mexc": ["NODEDUSDT"],
62
- "P2b": ["NODEDUSDT"]
57
+ "Mexc": ["NODEDUSDT"]
63
58
  },
64
59
  "OGB": {
65
60
  "Bitmart": ["OGBUSDT"]
@@ -92,7 +87,6 @@
92
87
  "AXL": [],
93
88
  "BONG": [],
94
89
  "CAVADA": [],
95
- "CELO": [],
96
90
  "DIS": [],
97
91
  "DMC": [],
98
92
  "GHD": [],
@@ -125,9 +119,6 @@
125
119
  "CAVADA": {
126
120
  "CAVADAUSDT": ["Mexc"]
127
121
  },
128
- "CELO": {
129
- "ETHUSDC": ["Binance"]
130
- },
131
122
  "DIS": {
132
123
  "DISUSDT": ["Huobi"]
133
124
  },
@@ -207,11 +198,6 @@
207
198
  "trades": 1,
208
199
  "orderbook": 1
209
200
  },
210
- "CELO": {
211
- "balance": 8,
212
- "trades": 8,
213
- "orderbook": 24
214
- },
215
201
  "DIS": {
216
202
  "balance": 1,
217
203
  "trades": 1,
@@ -377,7 +363,6 @@
377
363
  "AXL": [2, 5, 10],
378
364
  "BONG": [2, 5, 10],
379
365
  "CAVADA": [2, 5, 10],
380
- "CELO": [2, 5, 10],
381
366
  "DIS": [2, 5, 10],
382
367
  "DMC": [2, 10, 20],
383
368
  "GHD": [2, 5, 10],
@@ -402,7 +387,6 @@
402
387
  "AXL": ["BTC", "ETH"],
403
388
  "BONG": ["BTC", "ETH"],
404
389
  "CAVADA": ["BTC", "ETH"],
405
- "CELO": ["BTC", "ETH"],
406
390
  "DIS": ["BTC", "ETH"],
407
391
  "DMC": ["BTC", "ETH"],
408
392
  "GHD": ["BTC", "ETH"],
@@ -427,7 +411,6 @@
427
411
  "AXL": "-1002044946729",
428
412
  "BONG": "-4232215006",
429
413
  "CAVADA": "-4272163031",
430
- "CELO": "-1001814469370",
431
414
  "DIS": "-1001996048202",
432
415
  "DMC": "-1002101119642",
433
416
  "GHD": "-4268297189",
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/clients-config",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
Binary file
@@ -74,7 +74,6 @@ function delete_client(client_name) {
74
74
  delete config_file_data.client_exchange_pairs[client_name]
75
75
  delete config_file_data.client_pair_main_exchanges[client_name]
76
76
  delete config_file_data.client_not_include_exchanges[client_name]
77
- delete config_file_data.client_exchange_currencies[client_name]
78
77
  delete config_file_data.client_levels[client_name]
79
78
  delete config_file_data.client_benchmarks[client_name]
80
79
  delete config_file_data.client_telegram_ids[client_name]
@@ -116,12 +115,6 @@ function add_client(client_name) {
116
115
  pattern: /^\{.*\}$/,
117
116
  message: 'Please enter a valid JSON object.',
118
117
  },
119
- client_exchange_currencies: {
120
- description: 'Enter client exchange currencies (JSON format i.e { "Gatev4": ["USDT"], "Mexc": ["AVALOX"] } )',
121
- required: true,
122
- pattern: /^\{.*\}$/,
123
- message: 'Please enter a valid JSON object.',
124
- },
125
118
  clients_reporter_interval: {
126
119
  description: 'Enter clients reporter interval (JSON format i.e { "balance": 1, "trades": 1, "orderbook": 1} )',
127
120
  required: true,
@@ -157,9 +150,6 @@ function add_client(client_name) {
157
150
  let pair_exchanges = result.client_pair_main_exchanges.trim()
158
151
  pair_exchanges = JSON.parse(pair_exchanges)
159
152
 
160
- let exchange_currencies = result.client_exchange_currencies.trim()
161
- exchange_currencies = JSON.parse(exchange_currencies)
162
-
163
153
  let reporter_interval = result.clients_reporter_interval.trim()
164
154
  reporter_interval = JSON.parse(reporter_interval)
165
155
 
@@ -169,7 +159,7 @@ function add_client(client_name) {
169
159
 
170
160
  config_file_data.client_exchange_pairs[client_name] = exchange_pairs
171
161
  config_file_data.client_pair_main_exchanges[client_name] = pair_exchanges
172
- config_file_data.client_exchange_currencies[client_name] = exchange_currencies
162
+
173
163
  config_file_data.clients_reporter_interval[client_name] = reporter_interval
174
164
 
175
165
  config_file_data.client_not_include_exchanges[client_name] = not_include_exchanges
@@ -205,7 +195,6 @@ function update_config_archive(config_file_data, client_name) {
205
195
 
206
196
  config_archive_data.client_exchange_pairs[client_name] = config_file_data.client_exchange_pairs[client_name]
207
197
  config_archive_data.client_pair_main_exchanges[client_name] = config_file_data.client_pair_main_exchanges[client_name]
208
- config_archive_data.client_exchange_currencies[client_name] = config_file_data.client_exchange_currencies[client_name]
209
198
 
210
199
  config_archive_data.client_not_include_exchanges[client_name] = config_file_data.client_not_include_exchanges[client_name]
211
200
  config_archive_data.client_levels[client_name] = config_file_data.client_levels[client_name]