mexc-exchange-api 0.0.83__py3-none-any.whl → 0.0.85__py3-none-any.whl

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.
mexc/ccxt/__init__.py CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.5.0'
29
+ __version__ = '4.5.2'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.0'
11
+ __version__ = '4.5.2'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.0'
5
+ __version__ = '4.5.2'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -681,6 +681,7 @@ class mexc(Exchange, ImplicitAPI):
681
681
  'BNB Smart Chain(BEP20-RACAV1)': 'BSC',
682
682
  'BNB Smart Chain(BEP20-RACAV2)': 'BSC',
683
683
  'BNB Smart Chain(BEP20)': 'BSC',
684
+ 'Ethereum(ERC20)': 'ERC20',
684
685
  # TODO: uncomment below after deciding unified name
685
686
  # 'PEPE COIN BSC':
686
687
  # 'SMART BLOCKCHAIN':
@@ -4961,7 +4962,7 @@ class mexc(Exchange, ImplicitAPI):
4961
4962
  # positionShowStatus: 'CLOSED'
4962
4963
  # }
4963
4964
  #
4964
- market = self.safe_market(self.safe_string(position, 'symbol'), market)
4965
+ market = self.safe_market(self.safe_string(position, 'symbol'), market, None, 'swap')
4965
4966
  symbol = market['symbol']
4966
4967
  contracts = self.safe_string(position, 'holdVol')
4967
4968
  entryPrice = self.safe_number(position, 'openAvgPrice')
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.5.0'
7
+ __version__ = '4.5.2'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2337,6 +2337,12 @@ class Exchange(object):
2337
2337
  # return the first index of the cache that can be applied to the orderbook or -1 if not possible
2338
2338
  return -1
2339
2339
 
2340
+ def arrays_concat(self, arraysOfArrays: List[Any]):
2341
+ result = []
2342
+ for i in range(0, len(arraysOfArrays)):
2343
+ result = self.array_concat(result, arraysOfArrays[i])
2344
+ return result
2345
+
2340
2346
  def find_timeframe(self, timeframe, timeframes=None):
2341
2347
  if timeframes is None:
2342
2348
  timeframes = self.timeframes
mexc/ccxt/mexc.py CHANGED
@@ -680,6 +680,7 @@ class mexc(Exchange, ImplicitAPI):
680
680
  'BNB Smart Chain(BEP20-RACAV1)': 'BSC',
681
681
  'BNB Smart Chain(BEP20-RACAV2)': 'BSC',
682
682
  'BNB Smart Chain(BEP20)': 'BSC',
683
+ 'Ethereum(ERC20)': 'ERC20',
683
684
  # TODO: uncomment below after deciding unified name
684
685
  # 'PEPE COIN BSC':
685
686
  # 'SMART BLOCKCHAIN':
@@ -4960,7 +4961,7 @@ class mexc(Exchange, ImplicitAPI):
4960
4961
  # positionShowStatus: 'CLOSED'
4961
4962
  # }
4962
4963
  #
4963
- market = self.safe_market(self.safe_string(position, 'symbol'), market)
4964
+ market = self.safe_market(self.safe_string(position, 'symbol'), market, None, 'swap')
4964
4965
  symbol = market['symbol']
4965
4966
  contracts = self.safe_string(position, 'holdVol')
4966
4967
  entryPrice = self.safe_number(position, 'openAvgPrice')
mexc/ccxt/pro/__init__.py CHANGED
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.0'
11
+ __version__ = '4.5.2'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
mexc/ccxt/pro/mexc.py CHANGED
@@ -1371,7 +1371,7 @@ class mexc(mexcAsync):
1371
1371
  }
1372
1372
  return self.safe_order({
1373
1373
  'id': self.safe_string(order, 'id'),
1374
- 'clientOrderId': self.safe_string(order, 'clientOrderId'),
1374
+ 'clientOrderId': self.safe_string(order, 'clientId'),
1375
1375
  'timestamp': timestamp,
1376
1376
  'datetime': self.iso8601(timestamp),
1377
1377
  'lastTradeTimestamp': None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mexc-exchange-api
3
- Version: 0.0.83
3
+ Version: 0.0.85
4
4
  Summary: mexc crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -1,11 +1,11 @@
1
1
  mexc/__init__.py,sha256=bFV_Nfz_k-lfB_ImsHGpFnJuVMUXLBRbttugnPV7c4A,222
2
- mexc/ccxt/__init__.py,sha256=3HnsR94VwTXx7MeH-_IBvg-LmWPp8eGNCtJLU3ZRJ2s,6126
3
- mexc/ccxt/mexc.py,sha256=BJBbqsU2QZweqSW8U-kP88Bew9qMPQ6f9YoKSiBU8F0,259606
2
+ mexc/ccxt/__init__.py,sha256=l523swEAm6AFZCN00h0W6SVm1rGeIQjU1ug0-SY6QUg,6126
3
+ mexc/ccxt/mexc.py,sha256=fpvMyG4DsY62UpK_m4R_yML9ydx0uJAKy4EtNrpyvBk,259668
4
4
  mexc/ccxt/abstract/mexc.py,sha256=oyg0sZFYs1d77F-_9QAatqMSQJ8h-1u1wWb-d1DX2zQ,26434
5
- mexc/ccxt/async_support/__init__.py,sha256=poBunbVfRGXYyE8xUpHIgHWbD7gO7TWplUhG8rHwIrQ,4859
6
- mexc/ccxt/async_support/mexc.py,sha256=1tXAsxLrbmOHscJpMeu4ZU70V_S5kbL_46vd62cgmhU,260870
5
+ mexc/ccxt/async_support/__init__.py,sha256=q9YQni42Q2HGn2izrJfaq9G7cVGnvNUaY5tjtM91D4c,4859
6
+ mexc/ccxt/async_support/mexc.py,sha256=NONCKdVPd2VM65J4kk26iEbkMdKwt-k8TAHQa4tLY84,260932
7
7
  mexc/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- mexc/ccxt/async_support/base/exchange.py,sha256=YMd_vhLNV7Ay-PhgjeEmksr2-wUhQk6TSj_gsaJhLYg,121268
8
+ mexc/ccxt/async_support/base/exchange.py,sha256=f8NMSn7dvE2ZuL71iRKyinVbyafvacm5Zj4WcQ4TWck,121268
9
9
  mexc/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
10
10
  mexc/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  mexc/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
@@ -17,11 +17,11 @@ mexc/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9prod
17
17
  mexc/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
18
18
  mexc/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
19
19
  mexc/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
20
- mexc/ccxt/base/exchange.py,sha256=W1B4s4X8fIXF9lvAte_LmBb8FYHtFF0qATcJgBfXEYA,334124
20
+ mexc/ccxt/base/exchange.py,sha256=wXcblsdBqxUWtSbKu1hDTey2mOUhXe05MT7b91Mztno,334337
21
21
  mexc/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
22
22
  mexc/ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
23
- mexc/ccxt/pro/__init__.py,sha256=1z-doX9PbTqPowvdkxmsDbvHYq88mgOs2c9drVAE90o,4173
24
- mexc/ccxt/pro/mexc.py,sha256=xwDO0zKeTMXEEOuuGuKiK0oFUfLlTAezdaLxEk2Hadk,76946
23
+ mexc/ccxt/pro/__init__.py,sha256=AZRCTvDnIDi3S4Gr23_z4YKypgsLksrsLAQ47EpyOvc,4173
24
+ mexc/ccxt/pro/mexc.py,sha256=LW5R_K9MZMS14_dBh2svy4KDzbRhiDAFOcb-ZPLIQeQ,76941
25
25
  mexc/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
26
26
  mexc/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
27
27
  mexc/ccxt/static_dependencies/ecdsa/__init__.py,sha256=Xaj0G79BLtBt2YZcOOMV8qOlQZ7fIJznNiHhiEEZfQA,594
@@ -281,6 +281,6 @@ mexc/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2u
281
281
  mexc/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
282
282
  mexc/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
283
283
  mexc/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
284
- mexc_exchange_api-0.0.83.dist-info/METADATA,sha256=Rw2UNvTl3IS5d5kd0npfMzCHeK9wpkHZiyLPh9a-4jg,18072
285
- mexc_exchange_api-0.0.83.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- mexc_exchange_api-0.0.83.dist-info/RECORD,,
284
+ mexc_exchange_api-0.0.85.dist-info/METADATA,sha256=I_s5DmRwxm8NrHEFnNPWpBgMkzKUERWYLPP1xS1Dkyg,18072
285
+ mexc_exchange_api-0.0.85.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ mexc_exchange_api-0.0.85.dist-info/RECORD,,