bitmart 0.0.26__py3-none-any.whl → 0.0.27__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.
bitmart/ccxt/__init__.py CHANGED
@@ -26,7 +26,7 @@ sys.modules['ccxt'] = ccxt_module
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
29
- __version__ = '4.4.78'
29
+ __version__ = '4.4.79'
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.78'
11
+ __version__ = '4.4.79'
12
12
 
13
13
  # -----------------------------------------------------------------------------
14
14
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '4.4.78'
5
+ __version__ = '4.4.79'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -1214,6 +1214,7 @@ class bitmart(Exchange, ImplicitAPI):
1214
1214
  # {
1215
1215
  # "currency": "BTC",
1216
1216
  # "name": "Bitcoin",
1217
+ # "recharge_minsize": '0.00000001',
1217
1218
  # "contract_address": null,
1218
1219
  # "network": "BTC",
1219
1220
  # "withdraw_enabled": True,
@@ -1235,7 +1236,8 @@ class bitmart(Exchange, ImplicitAPI):
1235
1236
  fullId = self.safe_string(currency, 'currency')
1236
1237
  currencyId = fullId
1237
1238
  networkId = self.safe_string(currency, 'network')
1238
- if fullId.find('NFT') < 0:
1239
+ isNtf = (fullId.find('NFT') >= 0)
1240
+ if not isNtf:
1239
1241
  parts = fullId.split('-')
1240
1242
  currencyId = self.safe_string(parts, 0)
1241
1243
  second = self.safe_string(parts, 1)
@@ -1254,6 +1256,7 @@ class bitmart(Exchange, ImplicitAPI):
1254
1256
  'withdraw': None,
1255
1257
  'active': None,
1256
1258
  'networks': {},
1259
+ 'type': 'other' if isNtf else 'crypto',
1257
1260
  }
1258
1261
  networkCode = self.network_id_to_code(networkId)
1259
1262
  withdraw = self.safe_bool(currency, 'withdraw_enabled')
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.78'
7
+ __version__ = '4.4.79'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
bitmart/ccxt/bitmart.py CHANGED
@@ -1214,6 +1214,7 @@ class bitmart(Exchange, ImplicitAPI):
1214
1214
  # {
1215
1215
  # "currency": "BTC",
1216
1216
  # "name": "Bitcoin",
1217
+ # "recharge_minsize": '0.00000001',
1217
1218
  # "contract_address": null,
1218
1219
  # "network": "BTC",
1219
1220
  # "withdraw_enabled": True,
@@ -1235,7 +1236,8 @@ class bitmart(Exchange, ImplicitAPI):
1235
1236
  fullId = self.safe_string(currency, 'currency')
1236
1237
  currencyId = fullId
1237
1238
  networkId = self.safe_string(currency, 'network')
1238
- if fullId.find('NFT') < 0:
1239
+ isNtf = (fullId.find('NFT') >= 0)
1240
+ if not isNtf:
1239
1241
  parts = fullId.split('-')
1240
1242
  currencyId = self.safe_string(parts, 0)
1241
1243
  second = self.safe_string(parts, 1)
@@ -1254,6 +1256,7 @@ class bitmart(Exchange, ImplicitAPI):
1254
1256
  'withdraw': None,
1255
1257
  'active': None,
1256
1258
  'networks': {},
1259
+ 'type': 'other' if isNtf else 'crypto',
1257
1260
  }
1258
1261
  networkCode = self.network_id_to_code(networkId)
1259
1262
  withdraw = self.safe_bool(currency, 'withdraw_enabled')
@@ -8,7 +8,7 @@ sys.modules['ccxt'] = ccxt_module
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
11
- __version__ = '4.4.78'
11
+ __version__ = '4.4.79'
12
12
 
13
13
  # ----------------------------------------------------------------------------
14
14
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bitmart
3
- Version: 0.0.26
3
+ Version: 0.0.27
4
4
  Summary: bitmart 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
  bitmart/__init__.py,sha256=DRRGWQ_AXzv_ztbAPzIZ0ID_zHfKYZID66sOb-SJ3eM,258
2
- bitmart/ccxt/__init__.py,sha256=WqXntgafsUUdwH7OEAl4x5gw3HhfQ3Wl7uF4H0MSJjg,6050
3
- bitmart/ccxt/bitmart.py,sha256=_aT0mQXpRNkUhplxEvuS2A7IoHhtSA6j4R5g7QYZ4LI,247923
2
+ bitmart/ccxt/__init__.py,sha256=JUXQs7Mg459TW3KWN_rbIMO2wi-9vdIfr5ryxMRqUBY,6050
3
+ bitmart/ccxt/bitmart.py,sha256=wzAkRig-th9ppLGf3PpR4XpoFXE5GmySjW8iis5L2WU,248080
4
4
  bitmart/ccxt/abstract/bitmart.py,sha256=JF2hfATRDwmQoP9bSy9jPv_IYM0aQicSp-9Mat4tA4o,17240
5
- bitmart/ccxt/async_support/__init__.py,sha256=iMIUy6QMjldAXoqVpdDPa8dPJsdUq4br8-eNzxqIgMs,4783
6
- bitmart/ccxt/async_support/bitmart.py,sha256=CZJnlHnF5PB7OWlvbvbbYI4rC_03DJ7XgjI9xXu8IEQ,249047
5
+ bitmart/ccxt/async_support/__init__.py,sha256=-6WkU-5cYOEDtMORURu3AhRLS2jkg9cmDy0IIOCqn7k,4783
6
+ bitmart/ccxt/async_support/bitmart.py,sha256=y2hRK-PPurAs7-pKRLX3cboiLy-SSI4YndeuTLcAXRE,249204
7
7
  bitmart/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
8
- bitmart/ccxt/async_support/base/exchange.py,sha256=AOQnGV5CUYT2fOCko3E6JqYxa_s8_QxHDdBxbqUUOgU,117255
8
+ bitmart/ccxt/async_support/base/exchange.py,sha256=X_oV71iDNfd2c96pnNJ-e2mniQx-1px-iIXkE-bNUTk,117255
9
9
  bitmart/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
10
10
  bitmart/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
11
11
  bitmart/ccxt/async_support/base/ws/aiohttp_client.py,sha256=Y5HxAVXyyYduj6b6SbbUZETlq3GrVMzrkW1r-TMgpb8,6329
@@ -19,10 +19,10 @@ bitmart/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9p
19
19
  bitmart/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
20
20
  bitmart/ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
21
21
  bitmart/ccxt/base/errors.py,sha256=MvCrL_sAM3de616T6RE0PSxiF2xV6Qqz5b1y1ghidbk,4888
22
- bitmart/ccxt/base/exchange.py,sha256=R0StVeXIxmXvA73by-Gqx70tT7wbJMNuenrVXgoe0Dk,326255
22
+ bitmart/ccxt/base/exchange.py,sha256=Nc1YifSOr1D3QRVQiSJu59SP76gActUUZIsgusjoTss,326255
23
23
  bitmart/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
24
24
  bitmart/ccxt/base/types.py,sha256=SfxIKDSsxP7MPHWiOVI965Nr5NSEPpAno5fuveTRi3w,11423
25
- bitmart/ccxt/pro/__init__.py,sha256=lXb4j6BK2BnmNnozozbzcDShLZOfWPn7TS_ZBCL8fTc,621
25
+ bitmart/ccxt/pro/__init__.py,sha256=Xkn5-i_XCTIbdgjT2WnqpuZw8p3fyvh33G29gMacyNs,621
26
26
  bitmart/ccxt/pro/bitmart.py,sha256=-iCp2w0UXeNrro_TcyVyJvsaTFXtq92nEP4h7hq-F-w,67253
27
27
  bitmart/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
28
28
  bitmart/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
@@ -283,6 +283,6 @@ bitmart/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWn
283
283
  bitmart/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
284
284
  bitmart/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
285
285
  bitmart/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
286
- bitmart-0.0.26.dist-info/METADATA,sha256=EbaSI8mqKOBCUS-Le6jKLqL0LEVOgYay-xJNp9E3puY,15102
287
- bitmart-0.0.26.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
- bitmart-0.0.26.dist-info/RECORD,,
286
+ bitmart-0.0.27.dist-info/METADATA,sha256=ycAo45oYbA3ofQW6huyJNf1WqBLfq-4i2vL3kYQ0llY,15102
287
+ bitmart-0.0.27.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
288
+ bitmart-0.0.27.dist-info/RECORD,,