gate-io-api 0.0.66__py3-none-any.whl → 0.0.67__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.4.87'
29
+ __version__ = '4.4.88'
30
30
 
31
31
  # ----------------------------------------------------------------------------
32
32
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.87'
11
+ __version__ = '4.4.88'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.87'
5
+ __version__ = '4.4.88'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -282,7 +282,10 @@ class Exchange(BaseExchange):
282
282
  currencies = None
283
283
  if self.has['fetchCurrencies'] is True:
284
284
  currencies = await self.fetch_currencies()
285
+ self.options['cachedCurrencies'] = currencies
285
286
  markets = await self.fetch_markets(params)
287
+ if 'cachedCurrencies' in self.options:
288
+ del self.options['cachedCurrencies']
286
289
  return self.set_markets(markets, currencies)
287
290
 
288
291
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.87'
7
+ __version__ = '4.4.88'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1536,7 +1536,8 @@ class Exchange(object):
1536
1536
  currencies = self.fetch_currencies()
1537
1537
  self.options['cachedCurrencies'] = currencies
1538
1538
  markets = self.fetch_markets(params)
1539
- del self.options['cachedCurrencies']
1539
+ if 'cachedCurrencies' in self.options:
1540
+ del self.options['cachedCurrencies']
1540
1541
  return self.set_markets(markets, currencies)
1541
1542
 
1542
1543
  def fetch_markets(self, params={}):
gate/ccxt/pro/__init__.py CHANGED
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.87'
11
+ __version__ = '4.4.88'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -169,6 +169,14 @@ from ccxt.base.errors import error_hierarchy # noqa: F4
169
169
 
170
170
 
171
171
 
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
172
180
 
173
181
 
174
182
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gate-io-api
3
- Version: 0.0.66
3
+ Version: 0.0.67
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,11 +1,11 @@
1
1
  gate/__init__.py,sha256=rmRavmagjlyk7Z5zGWWJiY8tfYIPsk04hRzC4SYJOzA,222
2
- gate/ccxt/__init__.py,sha256=vBknI4N6glfARnP6qmulroxm7IW2WD4xrFhflbMVYBQ,6044
2
+ gate/ccxt/__init__.py,sha256=DBg7KfS-5jftpJv88xbT0Dafz0BsO9iu6Wa6JQl2WMg,6044
3
3
  gate/ccxt/gate.py,sha256=UrR0TXXPUnqiq75-rWfdAQfkzPpIIsfRNInY818Qmsg,351607
4
4
  gate/ccxt/abstract/gate.py,sha256=MrRMycFEpZKJ6yC7qi0p_qcwZtU9WJi5bBbVllskGoA,45044
5
- gate/ccxt/async_support/__init__.py,sha256=tLm3WE4MlKA9TnLOcdV37XOWPgoFK5f_q2_OxxAkysY,4777
5
+ gate/ccxt/async_support/__init__.py,sha256=6w1nHYBqRkDOsVet2mk5UCIvsfVxTTqjHmfl2Y_Cwqo,4777
6
6
  gate/ccxt/async_support/gate.py,sha256=dJMsSGh5w3Ja8pAmkyK2--8F3iZ6piGPFhvr8Q26iT4,353566
7
7
  gate/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- gate/ccxt/async_support/base/exchange.py,sha256=pPVR10gnuBSN2R_vwgfnsqrvTXv7H30sXdPFls3skCk,119007
8
+ gate/ccxt/async_support/base/exchange.py,sha256=fbgJlT00ihhKWP1xWzUWIR32BYHsi6WuAPxDH_Toe9Q,119161
9
9
  gate/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
10
10
  gate/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  gate/ccxt/async_support/base/ws/aiohttp_client.py,sha256=Y5HxAVXyyYduj6b6SbbUZETlq3GrVMzrkW1r-TMgpb8,6329
@@ -18,10 +18,10 @@ gate/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9prod
18
18
  gate/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
19
19
  gate/ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
20
20
  gate/ccxt/base/errors.py,sha256=MvCrL_sAM3de616T6RE0PSxiF2xV6Qqz5b1y1ghidbk,4888
21
- gate/ccxt/base/exchange.py,sha256=NGY9v0WAuFqoAPgiDPVR87xTwsjeKE78GxTz0TZe23Q,328149
21
+ gate/ccxt/base/exchange.py,sha256=5k_lyLt0b6iu84H4u7pq1TpLtLC-jUPxlqmG0gQfElo,328200
22
22
  gate/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
23
23
  gate/ccxt/base/types.py,sha256=IbLO7Ni-plO36xlOdJQFqujSJBq0q9qll009ShZ0M_U,11468
24
- gate/ccxt/pro/__init__.py,sha256=m6M-xURDAVK6DjrMQyk7TenHBGvDuxW_R0qHf96Qs4k,4209
24
+ gate/ccxt/pro/__init__.py,sha256=KevwWCys72MXt5ifRbcP7EwYBFhTAegrpzIhIZ0IJVo,4217
25
25
  gate/ccxt/pro/gate.py,sha256=TImMphR9V8h9xqDJ541s3zb4NOppfLDc-XoBkntT1nA,89399
26
26
  gate/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
27
27
  gate/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -282,6 +282,6 @@ gate/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX2u
282
282
  gate/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
283
283
  gate/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
284
284
  gate/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
285
- gate_io_api-0.0.66.dist-info/METADATA,sha256=VBBfZwr0zlAaz3ePx6mL9KuCBiqxE4niLPSLkTRwuG8,26789
286
- gate_io_api-0.0.66.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
287
- gate_io_api-0.0.66.dist-info/RECORD,,
285
+ gate_io_api-0.0.67.dist-info/METADATA,sha256=HdNA1hXXOt72sP_vM0zMGER_RbAaiPHgJknusXPLO8Q,26789
286
+ gate_io_api-0.0.67.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
287
+ gate_io_api-0.0.67.dist-info/RECORD,,