bitmex-api 0.0.79__py3-none-any.whl → 0.0.80__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.
bitmex/ccxt/__init__.py CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.4.98'
29
+ __version__ = '4.4.99'
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.98'
11
+ __version__ = '4.4.99'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.98'
5
+ __version__ = '4.4.99'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -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.4.98'
7
+ __version__ = '4.4.99'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.98'
11
+ __version__ = '4.4.99'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
bitmex/ccxt/pro/bitmex.py CHANGED
@@ -6,7 +6,7 @@
6
6
  import ccxt.async_support
7
7
  from ccxt.async_support.base.ws.cache import ArrayCache, ArrayCacheBySymbolById, ArrayCacheBySymbolBySide, ArrayCacheByTimestamp
8
8
  import hashlib
9
- from ccxt.base.types import Any, Balances, Int, Liquidation, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade
9
+ from ccxt.base.types import Any, Balances, Bool, Int, Liquidation, Order, OrderBook, Position, Str, Strings, Ticker, Tickers, Trade
10
10
  from ccxt.async_support.base.ws.client import Client
11
11
  from typing import List
12
12
  from ccxt.base.errors import ExchangeError
@@ -377,7 +377,7 @@ class bitmex(bitmexAsync):
377
377
  """
378
378
  return self.watch_liquidations_for_symbols([symbol], since, limit, params)
379
379
 
380
- async def watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
380
+ async def watch_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
381
381
  """
382
382
  watch the public liquidations of a trading pair
383
383
 
@@ -1599,7 +1599,7 @@ class bitmex(bitmexAsync):
1599
1599
  #
1600
1600
  return message
1601
1601
 
1602
- def handle_error_message(self, client: Client, message):
1602
+ def handle_error_message(self, client: Client, message) -> Bool:
1603
1603
  #
1604
1604
  # generic error format
1605
1605
  #
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitmex-api
3
- Version: 0.0.79
3
+ Version: 0.0.80
4
4
  Summary: bitmex crypto exchange api client
5
5
  Project-URL: Homepage, https://github.com/ccxt/ccxt
6
6
  Project-URL: Issues, https://github.com/ccxt/ccxt
@@ -268,7 +268,7 @@ You can also construct custom requests to available "implicit" endpoints
268
268
  - `watch_ticker(self, symbol: str, params={})`
269
269
  - `watch_tickers(self, symbols: Strings = None, params={})`
270
270
  - `watch_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={})`
271
- - `watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={})`
271
+ - `watch_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={})`
272
272
  - `watch_balance(self, params={})`
273
273
  - `watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={})`
274
274
  - `authenticate(self, params={})`
@@ -1,11 +1,11 @@
1
1
  bitmex/__init__.py,sha256=YoXAuxG_VioYinNV_H2dBOxO7R1bhKl6aL_6s6TfuWg,246
2
- bitmex/ccxt/__init__.py,sha256=2ImQfMO_KHdVOmNMQNFuujLfX0N53_FxCQsO8JOQpnk,6131
2
+ bitmex/ccxt/__init__.py,sha256=Z0emVwXaqH7TI1z7Vlg-xhKkeilgamvDTM2HaF9tzos,6131
3
3
  bitmex/ccxt/bitmex.py,sha256=ueedqmgQhSTNZdES0h7RCHD2Vqy34lHyuQajQRz3AOA,131919
4
4
  bitmex/ccxt/abstract/bitmex.py,sha256=v15OP-vSO_eotD6KVf1BgKrbPxCPl2eXXYIuzWF1dl4,10774
5
- bitmex/ccxt/async_support/__init__.py,sha256=IBufZ0zIhKFZVPj14m0oAYUOuM4O0lk0CewuRvk1dAg,4864
5
+ bitmex/ccxt/async_support/__init__.py,sha256=kDp5LnSztXv0uq-btszrAM6cE2aBprMw2g4xWgNDfMI,4864
6
6
  bitmex/ccxt/async_support/bitmex.py,sha256=pImd4aNvGd6-Kp8HqX78kA7toBrrbS0bIHSbG_13s5M,132497
7
7
  bitmex/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- bitmex/ccxt/async_support/base/exchange.py,sha256=h7rGS7bj1QxT69nooadJgVM1UToAauxTskymPAMf7wo,119769
8
+ bitmex/ccxt/async_support/base/exchange.py,sha256=byGHDRDag0QkyLZKSuej4Ipj_i5e-BEVEtkwVPE2ESw,119769
9
9
  bitmex/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
10
10
  bitmex/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  bitmex/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
@@ -16,12 +16,12 @@ bitmex/ccxt/async_support/base/ws/order_book.py,sha256=uBUaIHhzMRykpmo4BCsdJ-t_H
16
16
  bitmex/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmBJLCI5FHIRdMz1O-g,6551
17
17
  bitmex/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
18
18
  bitmex/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
19
- bitmex/ccxt/base/errors.py,sha256=OGhWNvNtRlJOzFx-n1x3ZjTnaPpfWH0Vc0xACS-MeDw,5012
20
- bitmex/ccxt/base/exchange.py,sha256=5KgAUmwjrHelR87gaxFRZzaju7B3csvnlUzkuw6mpJE,333932
19
+ bitmex/ccxt/base/errors.py,sha256=LdTTHPmxpeFHJze93mGl7I3maqTgN0y_1mJ6coWkXmA,4734
20
+ bitmex/ccxt/base/exchange.py,sha256=gQLGpgb8TTdsXUl9_GqbubUcEtJrzCdsrXeJPZS-IoA,333932
21
21
  bitmex/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
22
22
  bitmex/ccxt/base/types.py,sha256=vMQfFDVntED4YHrRJt0Q98YaM7OtGhK-DkbkqXFTYHc,11485
23
- bitmex/ccxt/pro/__init__.py,sha256=pnxVwizWQ79gBkSmiXe3LaGo1d_y4rlR29TGpQS74Ew,4178
24
- bitmex/ccxt/pro/bitmex.py,sha256=5gpicgex_am9Km9ZsZpMKBSKX-SFFAD3PPuv9r-nNdA,74693
23
+ bitmex/ccxt/pro/__init__.py,sha256=9G5ZPx4JdMkUGvs9vESYfv5ycAAyGog60D_gZcH9Yz8,4178
24
+ bitmex/ccxt/pro/bitmex.py,sha256=B_6fmefZ4ztkO4muO2hDJeQVBUMOCt7SaQUX7RuDpm4,74700
25
25
  bitmex/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
26
26
  bitmex/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
27
27
  bitmex/ccxt/static_dependencies/ecdsa/__init__.py,sha256=Xaj0G79BLtBt2YZcOOMV8qOlQZ7fIJznNiHhiEEZfQA,594
@@ -281,6 +281,6 @@ bitmex/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX
281
281
  bitmex/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
282
282
  bitmex/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
283
283
  bitmex/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
284
- bitmex_api-0.0.79.dist-info/METADATA,sha256=xlQ3mwi29DE7nzF4IrKP-ZCtHjXoOgxD4JkLW8GE8eQ,10822
285
- bitmex_api-0.0.79.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- bitmex_api-0.0.79.dist-info/RECORD,,
284
+ bitmex_api-0.0.80.dist-info/METADATA,sha256=n00nu641SJQiywWXGy7bRjHgYbVjjuJ0fno4xTd5doY,10815
285
+ bitmex_api-0.0.80.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ bitmex_api-0.0.80.dist-info/RECORD,,