coinex-api 0.0.95__py3-none-any.whl → 0.0.96__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 coinex-api might be problematic. Click here for more details.

coinex/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.12'
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.12'
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.12'
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
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.5.11'
7
+ __version__ = '4.5.12'
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
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.5.11'
11
+ __version__ = '4.5.12'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: coinex-api
3
- Version: 0.0.95
3
+ Version: 0.0.96
4
4
  Summary: coinex 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
  coinex/__init__.py,sha256=d633U2PpNFHvpDWLb3lItS0ObcBN0E2XgS5QkOEejI8,246
2
- coinex/ccxt/__init__.py,sha256=AkhxjwT739cS_ER_DUupQzW6RDsmPRFBB7owrryFfMQ,6131
2
+ coinex/ccxt/__init__.py,sha256=bIQHjDJNyIGMyJLKQP22X-KgiQ_tLGdVupHOJtY3tbM,6131
3
3
  coinex/ccxt/coinex.py,sha256=VqutrPqA0bMfkCFJr4vwkM-46UIz0JwdMdmvCWdtYaM,270332
4
4
  coinex/ccxt/abstract/coinex.py,sha256=4TRXtWgONqkm3eSL55Y5T7Q4QxJrnOTuhP0ugsKHAWo,34856
5
- coinex/ccxt/async_support/__init__.py,sha256=pC4Juonmgkars3Am4fku8RCo5740hlmuu16_ORovuhQ,4864
5
+ coinex/ccxt/async_support/__init__.py,sha256=DE8fOjy8RzFVIItHyYevDGa8Tfu6HTKGfxEiwcGzQ8c,4864
6
6
  coinex/ccxt/async_support/coinex.py,sha256=18GEGxrF8u9zEUDehoC6XKbOX3qaDoTUW1D8uRDkcrw,271638
7
7
  coinex/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- coinex/ccxt/async_support/base/exchange.py,sha256=zLAED6HVOk2HJxbeS7XPV_FnCqL-_tb3DdTO67oBHn0,126383
9
- coinex/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
8
+ coinex/ccxt/async_support/base/exchange.py,sha256=W3_yuBPw7hF8h5iy_q_duaitODIjd1dGGphY_lmj8HM,126383
9
+ coinex/ccxt/async_support/base/throttler.py,sha256=SR1JdHbXgkkRps_YBP7QxVREHsBN1Gbpm5gx_YuMa5g,1841
10
10
  coinex/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  coinex/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
12
12
  coinex/ccxt/async_support/base/ws/client.py,sha256=5eVs_896IJFZOewdyvf7H-lior529AXQ0Cu6ID4AwBI,13946
@@ -17,10 +17,10 @@ coinex/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9pr
17
17
  coinex/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
18
18
  coinex/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
19
19
  coinex/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
20
- coinex/ccxt/base/exchange.py,sha256=xWXowZzzxVdgS30rLOR_Lgt9lnkAeByeXd_VdwI5_oQ,349652
20
+ coinex/ccxt/base/exchange.py,sha256=s5rwnJMsnol3OHZ0s_TU7JYh6j0mh4TueXjXpoD2jxE,349705
21
21
  coinex/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
22
22
  coinex/ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
23
- coinex/ccxt/pro/__init__.py,sha256=4KEeJbEJTZjvH6YEimXffVNMozDTz4Leii-OqePUADE,4178
23
+ coinex/ccxt/pro/__init__.py,sha256=Jf-VpdOID6jgJ4qxh5iFVC6HkATELUQQ9zJiueexoj4,4178
24
24
  coinex/ccxt/pro/coinex.py,sha256=dKNMXOn7BOUf9wXci2IpwkE9sCpjnaLC1recrTPWoow,56742
25
25
  coinex/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
26
26
  coinex/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -281,6 +281,6 @@ coinex/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX
281
281
  coinex/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
282
282
  coinex/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
283
283
  coinex/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
284
- coinex_api-0.0.95.dist-info/METADATA,sha256=MKypTHEbwDFrrIdPYrKSvKB0XQVbRXR8wkjAw0qmbf8,20066
285
- coinex_api-0.0.95.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- coinex_api-0.0.95.dist-info/RECORD,,
284
+ coinex_api-0.0.96.dist-info/METADATA,sha256=xxmCdbrCxBtK2fm2muz9p91sbgFCJzddfVcEHJ3W2cE,20066
285
+ coinex_api-0.0.96.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ coinex_api-0.0.96.dist-info/RECORD,,