mexc-exchange-api 0.0.87__py3-none-any.whl → 0.0.88__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.4'
29
+ __version__ = '4.5.5'
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.4'
11
+ __version__ = '4.5.5'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.5.4'
5
+ __version__ = '4.5.5'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
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.4'
7
+ __version__ = '4.5.5'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -1383,9 +1383,9 @@ class Exchange(object):
1383
1383
  return msgHash
1384
1384
 
1385
1385
  @staticmethod
1386
- def starknet_sign (hash, pri):
1386
+ def starknet_sign (msg_hash, pri):
1387
1387
  # // TODO: unify to ecdsa
1388
- r, s = message_signature(hash, pri)
1388
+ r, s = message_signature(msg_hash, pri)
1389
1389
  return Exchange.json([hex(r), hex(s)])
1390
1390
 
1391
1391
  @staticmethod
@@ -6783,6 +6783,15 @@ class Exchange(object):
6783
6783
  values = list(uniqueResult.values())
6784
6784
  return values
6785
6785
 
6786
+ def remove_keys_from_dict(self, dict: dict, removeKeys: List[str]):
6787
+ keys = list(dict.keys())
6788
+ newDict = {}
6789
+ for i in range(0, len(keys)):
6790
+ key = keys[i]
6791
+ if not self.in_array(key, removeKeys):
6792
+ newDict[key] = dict[key]
6793
+ return newDict
6794
+
6786
6795
  def handle_until_option(self, key: str, request, params, multiplier=1):
6787
6796
  until = self.safe_integer_2(params, 'until', 'till')
6788
6797
  if until is not None:
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.4'
11
+ __version__ = '4.5.5'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mexc-exchange-api
3
- Version: 0.0.87
3
+ Version: 0.0.88
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,11 +1,11 @@
1
1
  mexc/__init__.py,sha256=bFV_Nfz_k-lfB_ImsHGpFnJuVMUXLBRbttugnPV7c4A,222
2
- mexc/ccxt/__init__.py,sha256=QmoKSviNK1j3QImShT8uFcI6DBxhO-n046yHBxaemO0,6126
2
+ mexc/ccxt/__init__.py,sha256=VKEE054f-4uZ_4eJC6zaWi6xZs2OW_g01v8qlduLXMw,6126
3
3
  mexc/ccxt/mexc.py,sha256=Lw1oduV2Yz5Zn_0z-74eP5jTdZ78-vvem4xN5yJklY0,261023
4
4
  mexc/ccxt/abstract/mexc.py,sha256=oyg0sZFYs1d77F-_9QAatqMSQJ8h-1u1wWb-d1DX2zQ,26434
5
- mexc/ccxt/async_support/__init__.py,sha256=luJpv_g_xsviLUSSkGvM4m3TXDJlBT4fHDhhfr9zssw,4859
5
+ mexc/ccxt/async_support/__init__.py,sha256=tJsfZg394jJaQ-tNcociRsiO31b_5qdgld4TF0uMtwk,4859
6
6
  mexc/ccxt/async_support/mexc.py,sha256=0T_xkvZHwCZoI1opouAZL8PkiYRW7BUtz33kxEqozCs,262293
7
7
  mexc/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- mexc/ccxt/async_support/base/exchange.py,sha256=yg4s0ITgw7YAAbfTHxBzRQo2cZtJj7BCvaUgMiUuvnw,121450
8
+ mexc/ccxt/async_support/base/exchange.py,sha256=UgwputhYVuqisJoxT69KiVT03OXU5bl8RB2FFDU484U,121450
9
9
  mexc/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
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
@@ -16,11 +16,11 @@ 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=-Kn1sp6UDgjrpACqsX-mYpp-e3amK3UoMFSCai7exkM,337938
19
+ mexc/ccxt/base/errors.py,sha256=LdTTHPmxpeFHJze93mGl7I3maqTgN0y_1mJ6coWkXmA,4734
20
+ mexc/ccxt/base/exchange.py,sha256=FRYxk3X9tsu0_g6bgze_W0Or3PWZR9X7m3-zEflkTRs,338252
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=9belWXCJZ9LTq-RExaADMuVCUnoQHGl0UMFbTGthWvA,4173
23
+ mexc/ccxt/pro/__init__.py,sha256=nyzvWpOUQu1VPzNf916tl41lCMjKFVoZFbO0xWbtb5Q,4173
24
24
  mexc/ccxt/pro/mexc.py,sha256=c7A65AYXkWY8l-9pcrpZdlwMSW52zg3YhP76dz0uwUI,77115
25
25
  mexc/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
26
26
  mexc/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -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.87.dist-info/METADATA,sha256=AjU5AORPrAwvb-Jk4sNUHk5sh4UYXWaEt0eGzno1UxY,18072
285
- mexc_exchange_api-0.0.87.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
- mexc_exchange_api-0.0.87.dist-info/RECORD,,
284
+ mexc_exchange_api-0.0.88.dist-info/METADATA,sha256=lmvZ1qL55h4zA7D00x-kRpiEVZkVmzQhbJlQFX0FyWc,18072
285
+ mexc_exchange_api-0.0.88.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
286
+ mexc_exchange_api-0.0.88.dist-info/RECORD,,