mexc-exchange-api 0.0.96__py3-none-any.whl → 0.0.98__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.

Potentially problematic release.


This version of mexc-exchange-api might be problematic. Click here for more details.

mexc/ccxt/__init__.py CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.5.11'
29
+ __version__ = '4.5.13'
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.11'
11
+ __version__ = '4.5.13'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.11'
5
+ __version__ = '4.5.13'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -42,7 +42,7 @@ class Throttler:
42
42
  def __call__(self, cost=None):
43
43
  future = asyncio.Future()
44
44
  if len(self.queue) > self.config['maxCapacity']:
45
- raise RuntimeError('throttle queue is over maxCapacity (' + str(int(self.config['maxCapacity'])) + '), see https://github.com/ccxt/ccxt/issues/11645#issuecomment-1195695526')
45
+ raise RuntimeError('throttle queue is over maxCapacity (' + str(int(self.config['maxCapacity'])) + '), see https://docs.ccxt.com/#/README?id=maximum-requests-capacity')
46
46
  self.queue.append((future, cost))
47
47
  if not self.running:
48
48
  self.running = True
mexc/ccxt/base/errors.py CHANGED
@@ -1,9 +1,3 @@
1
- # ----------------------------------------------------------------------------
2
-
3
- # PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
4
- # https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
5
- # EDIT THE CORRESPONDENT .ts FILE INSTEAD
6
-
7
1
  error_hierarchy = {
8
2
  'BaseError': {
9
3
  'ExchangeError': {
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.5.11'
7
+ __version__ = '4.5.13'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -2948,7 +2948,7 @@ class Exchange(object):
2948
2948
  'delay': 0.001,
2949
2949
  'capacity': 1,
2950
2950
  'cost': 1,
2951
- 'maxCapacity': 1000,
2951
+ 'maxCapacity': self.safe_integer(self.options, 'maxRequestsQueue', 1000),
2952
2952
  'refillRate': refillRate,
2953
2953
  }
2954
2954
  existingBucket = {} if (self.tokenBucket is None) else self.tokenBucket
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.11'
11
+ __version__ = '4.5.13'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
mexc/ccxt/pro/mexc.py CHANGED
@@ -121,7 +121,7 @@ class mexc(mexcAsync):
121
121
  # "symbol": "BTC_USDT",
122
122
  # "data": {
123
123
  # "symbol": "BTC_USDT",
124
- # "lastPrice": 76376.2,
124
+ # "lastPrice": 76376.1,
125
125
  # "riseFallRate": -0.0006,
126
126
  # "fairPrice": 76374.4,
127
127
  # "indexPrice": 76385.8,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mexc-exchange-api
3
- Version: 0.0.96
3
+ Version: 0.0.98
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,12 +1,12 @@
1
1
  mexc/__init__.py,sha256=bFV_Nfz_k-lfB_ImsHGpFnJuVMUXLBRbttugnPV7c4A,222
2
- mexc/ccxt/__init__.py,sha256=WxszWHEje3TdRxGboVLc69pS8myuDcjVJF1qd-Yw4BQ,6127
2
+ mexc/ccxt/__init__.py,sha256=J_8M9ePikXR2zU5LVoaJbspi97gMTUaKeNotx6UNtug,6127
3
3
  mexc/ccxt/mexc.py,sha256=SIBggp0d9dDuVFQMTIjGmjm1759skq-SuhfQD_68KTU,263104
4
4
  mexc/ccxt/abstract/mexc.py,sha256=whLPllbBePbIrCwhJBWp4M7XPvz4PhheTlbcQExV_aY,26614
5
- mexc/ccxt/async_support/__init__.py,sha256=R8k0YFHvEf2VbqstoGhZ8OyFzXQHt7gYaR9VPSVfwq0,4860
5
+ mexc/ccxt/async_support/__init__.py,sha256=Q_j1-BR3Xy_aD4X6XMYrBvXS6arm77PGLXKOn09VYIk,4860
6
6
  mexc/ccxt/async_support/mexc.py,sha256=tW8m7aiDk2I-2nq8-OUb3hzFnD0oLdusYQ3DSYtnorE,264374
7
7
  mexc/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- mexc/ccxt/async_support/base/exchange.py,sha256=zLAED6HVOk2HJxbeS7XPV_FnCqL-_tb3DdTO67oBHn0,126383
9
- mexc/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
8
+ mexc/ccxt/async_support/base/exchange.py,sha256=d9JSupaitaTrcWIC5YnEgRa_UkmSAaD9R7VqzPckdJs,126383
9
+ mexc/ccxt/async_support/base/throttler.py,sha256=SR1JdHbXgkkRps_YBP7QxVREHsBN1Gbpm5gx_YuMa5g,1841
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
12
12
  mexc/ccxt/async_support/base/ws/client.py,sha256=5eVs_896IJFZOewdyvf7H-lior529AXQ0Cu6ID4AwBI,13946
@@ -16,12 +16,12 @@ mexc/ccxt/async_support/base/ws/order_book.py,sha256=uBUaIHhzMRykpmo4BCsdJ-t_Hoz
16
16
  mexc/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmBJLCI5FHIRdMz1O-g,6551
17
17
  mexc/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
18
18
  mexc/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
19
- mexc/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
20
- mexc/ccxt/base/exchange.py,sha256=xWXowZzzxVdgS30rLOR_Lgt9lnkAeByeXd_VdwI5_oQ,349652
19
+ mexc/ccxt/base/errors.py,sha256=LdTTHPmxpeFHJze93mGl7I3maqTgN0y_1mJ6coWkXmA,4734
20
+ mexc/ccxt/base/exchange.py,sha256=c2dpaaKJCPaG-97BnYdufzPeGaR7LbwGqtBOj3VzGSc,349705
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=_wEUw1HqIGIrLKOaonACRkU9HWMFFXQYnoXuV_v9xLM,4174
24
- mexc/ccxt/pro/mexc.py,sha256=5Ci4xYqXHBpQmhOJAxp--0TqpjWxptT58AR3DpHZjdw,77427
23
+ mexc/ccxt/pro/__init__.py,sha256=ODr17BJCImow33yXq6maktPqnwuZoytkAJ2_tp_ZCS0,4174
24
+ mexc/ccxt/pro/mexc.py,sha256=LB56z5Y1zGtsExBCYwwQRgwek54ovn8FaiYTXBN_ZJU,77427
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.96.dist-info/METADATA,sha256=ZDzW_eYAdHElT2959EXyKsoq9TUP5HRMWF5H57ptt9Q,18165
285
- mexc_exchange_api-0.0.96.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- mexc_exchange_api-0.0.96.dist-info/RECORD,,
284
+ mexc_exchange_api-0.0.98.dist-info/METADATA,sha256=l0wirddHHbEyrEGfTGnr6n2JMomfrrqE50hUf9Q-NUk,18165
285
+ mexc_exchange_api-0.0.98.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ mexc_exchange_api-0.0.98.dist-info/RECORD,,