crypto-com-sdk 0.0.78__py3-none-any.whl → 0.0.79__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.
- {crypto_com_sdk-0.0.78.dist-info → crypto_com_sdk-0.0.79.dist-info}/METADATA +1 -1
- {crypto_com_sdk-0.0.78.dist-info → crypto_com_sdk-0.0.79.dist-info}/RECORD +12 -12
- cryptocom/ccxt/__init__.py +1 -1
- cryptocom/ccxt/async_support/__init__.py +1 -1
- cryptocom/ccxt/async_support/base/exchange.py +1 -1
- cryptocom/ccxt/async_support/cryptocom.py +1 -1
- cryptocom/ccxt/base/errors.py +0 -6
- cryptocom/ccxt/base/exchange.py +1 -1
- cryptocom/ccxt/cryptocom.py +1 -1
- cryptocom/ccxt/pro/__init__.py +1 -1
- cryptocom/ccxt/pro/cryptocom.py +2 -2
- {crypto_com_sdk-0.0.78.dist-info → crypto_com_sdk-0.0.79.dist-info}/WHEEL +0 -0
@@ -1,11 +1,11 @@
|
|
1
1
|
cryptocom/__init__.py,sha256=Ei5wz00g_3ERgN2Gsu1ZcccyL4tByDvfxR8qKkPxAgc,282
|
2
|
-
cryptocom/ccxt/__init__.py,sha256=
|
3
|
-
cryptocom/ccxt/cryptocom.py,sha256=
|
2
|
+
cryptocom/ccxt/__init__.py,sha256=THnem5vTROYTnNV-1_snK7fBV4nZa2prafJuGsMDDn0,6137
|
3
|
+
cryptocom/ccxt/cryptocom.py,sha256=nHfCiurpFWpdmKagTks719lM--XvDi-BXwW7_ygm5uM,152428
|
4
4
|
cryptocom/ccxt/abstract/cryptocom.py,sha256=EiTT45sV8yZQ6bJc41OB5S05o0VfTsASiwgElIck78A,21243
|
5
|
-
cryptocom/ccxt/async_support/__init__.py,sha256=
|
6
|
-
cryptocom/ccxt/async_support/cryptocom.py,sha256=
|
5
|
+
cryptocom/ccxt/async_support/__init__.py,sha256=y_SHgRGeEUP5Wkljigl645hUU_DFvTBWf3KCQ3xMzYQ,4870
|
6
|
+
cryptocom/ccxt/async_support/cryptocom.py,sha256=xL9n6mnz-QXbFX42L7s-u8e0kmdm-YH3h4GkpwT0br8,153084
|
7
7
|
cryptocom/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
8
|
-
cryptocom/ccxt/async_support/base/exchange.py,sha256=
|
8
|
+
cryptocom/ccxt/async_support/base/exchange.py,sha256=byGHDRDag0QkyLZKSuej4Ipj_i5e-BEVEtkwVPE2ESw,119769
|
9
9
|
cryptocom/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
10
10
|
cryptocom/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
11
11
|
cryptocom/ccxt/async_support/base/ws/cache.py,sha256=xf2VOtfUwloxSlIQ39M1RGZHWQzyS9IGhB5NX6cDcAc,8370
|
@@ -16,12 +16,12 @@ cryptocom/ccxt/async_support/base/ws/order_book.py,sha256=uBUaIHhzMRykpmo4BCsdJ-
|
|
16
16
|
cryptocom/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmBJLCI5FHIRdMz1O-g,6551
|
17
17
|
cryptocom/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
18
18
|
cryptocom/ccxt/base/decimal_to_precision.py,sha256=3XI30u9YudHbTA438397u5rkdlXa3atxwZEfUus3C4k,6803
|
19
|
-
cryptocom/ccxt/base/errors.py,sha256=
|
20
|
-
cryptocom/ccxt/base/exchange.py,sha256=
|
19
|
+
cryptocom/ccxt/base/errors.py,sha256=LdTTHPmxpeFHJze93mGl7I3maqTgN0y_1mJ6coWkXmA,4734
|
20
|
+
cryptocom/ccxt/base/exchange.py,sha256=gQLGpgb8TTdsXUl9_GqbubUcEtJrzCdsrXeJPZS-IoA,333932
|
21
21
|
cryptocom/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
22
22
|
cryptocom/ccxt/base/types.py,sha256=vMQfFDVntED4YHrRJt0Q98YaM7OtGhK-DkbkqXFTYHc,11485
|
23
|
-
cryptocom/ccxt/pro/__init__.py,sha256=
|
24
|
-
cryptocom/ccxt/pro/cryptocom.py,sha256=
|
23
|
+
cryptocom/ccxt/pro/__init__.py,sha256=LPVhUqlHzCObB3aNqYYHlSZybX39HoBX3xmzdIwEQwU,4184
|
24
|
+
cryptocom/ccxt/pro/cryptocom.py,sha256=QQjzFfMMqw55bMgWOSJeXQvXIJ2veTQDw-RUSqkoa7c,61641
|
25
25
|
cryptocom/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
|
26
26
|
cryptocom/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
|
27
27
|
cryptocom/ccxt/static_dependencies/ecdsa/__init__.py,sha256=Xaj0G79BLtBt2YZcOOMV8qOlQZ7fIJznNiHhiEEZfQA,594
|
@@ -281,6 +281,6 @@ cryptocom/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayA
|
|
281
281
|
cryptocom/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
|
282
282
|
cryptocom/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
283
|
cryptocom/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
|
284
|
-
crypto_com_sdk-0.0.
|
285
|
-
crypto_com_sdk-0.0.
|
286
|
-
crypto_com_sdk-0.0.
|
284
|
+
crypto_com_sdk-0.0.79.dist-info/METADATA,sha256=TVGldiZjbaDXpFZwY8ecBqM4_RIGtvTCWFt1_f0f_7w,15363
|
285
|
+
crypto_com_sdk-0.0.79.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
286
|
+
crypto_com_sdk-0.0.79.dist-info/RECORD,,
|
cryptocom/ccxt/__init__.py
CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
|
|
26
26
|
|
27
27
|
# ----------------------------------------------------------------------------
|
28
28
|
|
29
|
-
__version__ = '4.4.
|
29
|
+
__version__ = '4.4.99'
|
30
30
|
|
31
31
|
# ----------------------------------------------------------------------------
|
32
32
|
|
@@ -1134,7 +1134,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1134
1134
|
'instrument_name': market['id'],
|
1135
1135
|
}
|
1136
1136
|
if limit:
|
1137
|
-
request['depth'] = limit
|
1137
|
+
request['depth'] = min(limit, 50) # max 50
|
1138
1138
|
response = await self.v1PublicGetPublicGetBook(self.extend(request, params))
|
1139
1139
|
#
|
1140
1140
|
# {
|
cryptocom/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': {
|
cryptocom/ccxt/base/exchange.py
CHANGED
cryptocom/ccxt/cryptocom.py
CHANGED
@@ -1134,7 +1134,7 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1134
1134
|
'instrument_name': market['id'],
|
1135
1135
|
}
|
1136
1136
|
if limit:
|
1137
|
-
request['depth'] = limit
|
1137
|
+
request['depth'] = min(limit, 50) # max 50
|
1138
1138
|
response = self.v1PublicGetPublicGetBook(self.extend(request, params))
|
1139
1139
|
#
|
1140
1140
|
# {
|
cryptocom/ccxt/pro/__init__.py
CHANGED
cryptocom/ccxt/pro/cryptocom.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, Market, Num, Order, OrderBook, OrderSide, OrderType, Position, Str, Strings, Ticker, Tickers, Trade
|
9
|
+
from ccxt.base.types import Any, Balances, Bool, Int, Market, Num, Order, OrderBook, OrderSide, OrderType, 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
|
@@ -1191,7 +1191,7 @@ class cryptocom(cryptocomAsync):
|
|
1191
1191
|
message = self.extend(request, params)
|
1192
1192
|
return await self.watch(url, messageHash, message, messageHash)
|
1193
1193
|
|
1194
|
-
def handle_error_message(self, client: Client, message):
|
1194
|
+
def handle_error_message(self, client: Client, message) -> Bool:
|
1195
1195
|
#
|
1196
1196
|
# {
|
1197
1197
|
# "id": 0,
|
File without changes
|