gate-io-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 gate-io-api might be problematic. Click here for more details.

gate/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
gate/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.12'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-io-api
3
- Version: 0.0.95
3
+ Version: 0.0.96
4
4
  Summary: gate 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
  gate/__init__.py,sha256=rmRavmagjlyk7Z5zGWWJiY8tfYIPsk04hRzC4SYJOzA,222
2
- gate/ccxt/__init__.py,sha256=N5VJ46BhMq847ipf1kyGrhBteOY0C7JJKi0K-QAL9b4,6127
2
+ gate/ccxt/__init__.py,sha256=sKmHFJMmc6wo4_qwoKasig6XHcDXOyniPaQN16b0amo,6127
3
3
  gate/ccxt/gate.py,sha256=c4ZpT6_L9ux9X4-_Yr_Nkvqe9AQB42hhWW9s_aI5K98,354290
4
4
  gate/ccxt/abstract/gate.py,sha256=MrRMycFEpZKJ6yC7qi0p_qcwZtU9WJi5bBbVllskGoA,45044
5
- gate/ccxt/async_support/__init__.py,sha256=cWibYbtc1hw_rgO0jhqdTdhhs6AcXg3nkDJuq3Ng_NQ,4860
5
+ gate/ccxt/async_support/__init__.py,sha256=ddJ2EN6vn75SKNnb9HSp1FVg9i1c988NgrTdETjWshw,4860
6
6
  gate/ccxt/async_support/gate.py,sha256=IgLb8OcALEH9JosEgT7gCsfkL590AgD1Z8yrULsX3vo,356255
7
7
  gate/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- gate/ccxt/async_support/base/exchange.py,sha256=zLAED6HVOk2HJxbeS7XPV_FnCqL-_tb3DdTO67oBHn0,126383
9
- gate/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
8
+ gate/ccxt/async_support/base/exchange.py,sha256=W3_yuBPw7hF8h5iy_q_duaitODIjd1dGGphY_lmj8HM,126383
9
+ gate/ccxt/async_support/base/throttler.py,sha256=SR1JdHbXgkkRps_YBP7QxVREHsBN1Gbpm5gx_YuMa5g,1841
10
10
  gate/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  gate/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
12
12
  gate/ccxt/async_support/base/ws/client.py,sha256=5eVs_896IJFZOewdyvf7H-lior529AXQ0Cu6ID4AwBI,13946
@@ -17,10 +17,10 @@ gate/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9prod
17
17
  gate/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
18
18
  gate/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
19
19
  gate/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
20
- gate/ccxt/base/exchange.py,sha256=xWXowZzzxVdgS30rLOR_Lgt9lnkAeByeXd_VdwI5_oQ,349652
20
+ gate/ccxt/base/exchange.py,sha256=s5rwnJMsnol3OHZ0s_TU7JYh6j0mh4TueXjXpoD2jxE,349705
21
21
  gate/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
22
22
  gate/ccxt/base/types.py,sha256=Gvbogh9i7pPH7Z18xesYeDPribqqwq8uKpOv-YODFBs,11505
23
- gate/ccxt/pro/__init__.py,sha256=yO37dGOB8tef6POJufr5LtS_ujCw7l-3mWeA2nt43aY,4174
23
+ gate/ccxt/pro/__init__.py,sha256=S1FSF7GXM3IONUrASUXCabsg_is_RSAIgxZNixFZ3Ec,4174
24
24
  gate/ccxt/pro/gate.py,sha256=fN9delh8YwosmOlTEL2swSCr7wsJUc1DYxz2JbZF_q0,89835
25
25
  gate/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
26
26
  gate/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -281,6 +281,6 @@ gate/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2u
281
281
  gate/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
282
282
  gate/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
283
283
  gate/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
284
- gate_io_api-0.0.95.dist-info/METADATA,sha256=mMBfCc7Oacy11nEzsUd5k7uaVY-0e7Ot42g24VMXhkM,26841
285
- gate_io_api-0.0.95.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- gate_io_api-0.0.95.dist-info/RECORD,,
284
+ gate_io_api-0.0.96.dist-info/METADATA,sha256=U5cgQoIa0clBEz5cfia8FUX7aYDzZWRJhyasgcunbSg,26841
285
+ gate_io_api-0.0.96.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ gate_io_api-0.0.96.dist-info/RECORD,,