coinex-api 0.0.36__py3-none-any.whl → 0.0.38__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.
- coinex/ccxt/__init__.py +1 -1
- coinex/ccxt/async_support/__init__.py +1 -1
- coinex/ccxt/async_support/base/exchange.py +1 -1
- coinex/ccxt/async_support/coinex.py +28 -29
- coinex/ccxt/base/errors.py +0 -6
- coinex/ccxt/base/exchange.py +1 -1
- coinex/ccxt/coinex.py +28 -29
- coinex/ccxt/pro/__init__.py +1 -1
- {coinex_api-0.0.36.dist-info → coinex_api-0.0.38.dist-info}/METADATA +1 -1
- {coinex_api-0.0.36.dist-info → coinex_api-0.0.38.dist-info}/RECORD +11 -11
- {coinex_api-0.0.36.dist-info → coinex_api-0.0.38.dist-info}/WHEEL +0 -0
coinex/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.83'
|
30
30
|
|
31
31
|
# ----------------------------------------------------------------------------
|
32
32
|
|
@@ -734,33 +734,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
734
734
|
canWithdraw = self.safe_bool(asset, 'withdraw_enabled')
|
735
735
|
firstChain = self.safe_dict(chains, 0, {})
|
736
736
|
firstPrecisionString = self.parse_precision(self.safe_string(firstChain, 'withdrawal_precision'))
|
737
|
-
|
738
|
-
'id': currencyId,
|
739
|
-
'code': code,
|
740
|
-
'name': None,
|
741
|
-
'active': canDeposit and canWithdraw,
|
742
|
-
'deposit': canDeposit,
|
743
|
-
'withdraw': canWithdraw,
|
744
|
-
'fee': None,
|
745
|
-
'precision': self.parse_number(firstPrecisionString),
|
746
|
-
'limits': {
|
747
|
-
'amount': {
|
748
|
-
'min': None,
|
749
|
-
'max': None,
|
750
|
-
},
|
751
|
-
'deposit': {
|
752
|
-
'min': None,
|
753
|
-
'max': None,
|
754
|
-
},
|
755
|
-
'withdraw': {
|
756
|
-
'min': None,
|
757
|
-
'max': None,
|
758
|
-
},
|
759
|
-
},
|
760
|
-
'networks': {},
|
761
|
-
'type': 'crypto',
|
762
|
-
'info': coin,
|
763
|
-
}
|
737
|
+
networks: dict = {}
|
764
738
|
for j in range(0, len(chains)):
|
765
739
|
chain = chains[j]
|
766
740
|
networkId = self.safe_string(chain, 'chain')
|
@@ -797,9 +771,34 @@ class coinex(Exchange, ImplicitAPI):
|
|
797
771
|
},
|
798
772
|
'info': chain,
|
799
773
|
}
|
800
|
-
networks = self.safe_dict(result[code], 'networks', {})
|
801
774
|
networks[networkId] = network
|
802
|
-
|
775
|
+
result[code] = self.safe_currency_structure({
|
776
|
+
'id': currencyId,
|
777
|
+
'code': code,
|
778
|
+
'name': None,
|
779
|
+
'active': canDeposit and canWithdraw,
|
780
|
+
'deposit': canDeposit,
|
781
|
+
'withdraw': canWithdraw,
|
782
|
+
'fee': None,
|
783
|
+
'precision': self.parse_number(firstPrecisionString),
|
784
|
+
'limits': {
|
785
|
+
'amount': {
|
786
|
+
'min': None,
|
787
|
+
'max': None,
|
788
|
+
},
|
789
|
+
'deposit': {
|
790
|
+
'min': None,
|
791
|
+
'max': None,
|
792
|
+
},
|
793
|
+
'withdraw': {
|
794
|
+
'min': None,
|
795
|
+
'max': None,
|
796
|
+
},
|
797
|
+
},
|
798
|
+
'networks': {},
|
799
|
+
'type': 'crypto',
|
800
|
+
'info': coin,
|
801
|
+
})
|
803
802
|
return result
|
804
803
|
|
805
804
|
async def fetch_markets(self, params={}) -> List[Market]:
|
coinex/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': {
|
coinex/ccxt/base/exchange.py
CHANGED
coinex/ccxt/coinex.py
CHANGED
@@ -733,33 +733,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
733
733
|
canWithdraw = self.safe_bool(asset, 'withdraw_enabled')
|
734
734
|
firstChain = self.safe_dict(chains, 0, {})
|
735
735
|
firstPrecisionString = self.parse_precision(self.safe_string(firstChain, 'withdrawal_precision'))
|
736
|
-
|
737
|
-
'id': currencyId,
|
738
|
-
'code': code,
|
739
|
-
'name': None,
|
740
|
-
'active': canDeposit and canWithdraw,
|
741
|
-
'deposit': canDeposit,
|
742
|
-
'withdraw': canWithdraw,
|
743
|
-
'fee': None,
|
744
|
-
'precision': self.parse_number(firstPrecisionString),
|
745
|
-
'limits': {
|
746
|
-
'amount': {
|
747
|
-
'min': None,
|
748
|
-
'max': None,
|
749
|
-
},
|
750
|
-
'deposit': {
|
751
|
-
'min': None,
|
752
|
-
'max': None,
|
753
|
-
},
|
754
|
-
'withdraw': {
|
755
|
-
'min': None,
|
756
|
-
'max': None,
|
757
|
-
},
|
758
|
-
},
|
759
|
-
'networks': {},
|
760
|
-
'type': 'crypto',
|
761
|
-
'info': coin,
|
762
|
-
}
|
736
|
+
networks: dict = {}
|
763
737
|
for j in range(0, len(chains)):
|
764
738
|
chain = chains[j]
|
765
739
|
networkId = self.safe_string(chain, 'chain')
|
@@ -796,9 +770,34 @@ class coinex(Exchange, ImplicitAPI):
|
|
796
770
|
},
|
797
771
|
'info': chain,
|
798
772
|
}
|
799
|
-
networks = self.safe_dict(result[code], 'networks', {})
|
800
773
|
networks[networkId] = network
|
801
|
-
|
774
|
+
result[code] = self.safe_currency_structure({
|
775
|
+
'id': currencyId,
|
776
|
+
'code': code,
|
777
|
+
'name': None,
|
778
|
+
'active': canDeposit and canWithdraw,
|
779
|
+
'deposit': canDeposit,
|
780
|
+
'withdraw': canWithdraw,
|
781
|
+
'fee': None,
|
782
|
+
'precision': self.parse_number(firstPrecisionString),
|
783
|
+
'limits': {
|
784
|
+
'amount': {
|
785
|
+
'min': None,
|
786
|
+
'max': None,
|
787
|
+
},
|
788
|
+
'deposit': {
|
789
|
+
'min': None,
|
790
|
+
'max': None,
|
791
|
+
},
|
792
|
+
'withdraw': {
|
793
|
+
'min': None,
|
794
|
+
'max': None,
|
795
|
+
},
|
796
|
+
},
|
797
|
+
'networks': {},
|
798
|
+
'type': 'crypto',
|
799
|
+
'info': coin,
|
800
|
+
})
|
802
801
|
return result
|
803
802
|
|
804
803
|
def fetch_markets(self, params={}) -> List[Market]:
|
coinex/ccxt/pro/__init__.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
coinex/__init__.py,sha256=d633U2PpNFHvpDWLb3lItS0ObcBN0E2XgS5QkOEejI8,246
|
2
|
-
coinex/ccxt/__init__.py,sha256=
|
3
|
-
coinex/ccxt/coinex.py,sha256=
|
2
|
+
coinex/ccxt/__init__.py,sha256=_v0AB5bfyD32uXHFIxFJmnWO0OqmSZJzjmXjz3XuH7s,6048
|
3
|
+
coinex/ccxt/coinex.py,sha256=CoCBNE0SWXgXBurhdqcsMuMsj3TnYALKFUz-_gLz2XA,267281
|
4
4
|
coinex/ccxt/abstract/coinex.py,sha256=4TRXtWgONqkm3eSL55Y5T7Q4QxJrnOTuhP0ugsKHAWo,34856
|
5
|
-
coinex/ccxt/async_support/__init__.py,sha256=
|
6
|
-
coinex/ccxt/async_support/coinex.py,sha256=
|
5
|
+
coinex/ccxt/async_support/__init__.py,sha256=b7yLANu4x6QsUYf0MoIRCIsfK7XCNH3xiufuCa8Deh8,4781
|
6
|
+
coinex/ccxt/async_support/coinex.py,sha256=lj_2qf1gnqmXbVf_pXBZddBFsHeVmh_N2JIxBHhmPwM,268569
|
7
7
|
coinex/ccxt/async_support/base/__init__.py,sha256=aVYSsFi--b4InRs9zDN_wtCpj8odosAB726JdUHavrk,67
|
8
|
-
coinex/ccxt/async_support/base/exchange.py,sha256=
|
8
|
+
coinex/ccxt/async_support/base/exchange.py,sha256=Ozc443GgOx2zlkUwR8x3EwHScNGDvLvAN4s7oIfxGVU,117601
|
9
9
|
coinex/ccxt/async_support/base/throttler.py,sha256=tvDVcdRUVYi8fZRlEcnqtgzcgB_KMUMRs5Pu8tuU-tU,1847
|
10
10
|
coinex/ccxt/async_support/base/ws/__init__.py,sha256=uockzpLuwntKGZbs5EOWFe-Zg-k6Cj7GhNJLc_RX0so,1791
|
11
11
|
coinex/ccxt/async_support/base/ws/aiohttp_client.py,sha256=Y5HxAVXyyYduj6b6SbbUZETlq3GrVMzrkW1r-TMgpb8,6329
|
@@ -18,11 +18,11 @@ coinex/ccxt/async_support/base/ws/order_book.py,sha256=uBUaIHhzMRykpmo4BCsdJ-t_H
|
|
18
18
|
coinex/ccxt/async_support/base/ws/order_book_side.py,sha256=GhnGUt78pJ-AYL_Dq9produGjmBJLCI5FHIRdMz1O-g,6551
|
19
19
|
coinex/ccxt/base/__init__.py,sha256=eTx1OE3HJjspFUQjGm6LBhaQiMKJnXjkdP-JUXknyQ0,1320
|
20
20
|
coinex/ccxt/base/decimal_to_precision.py,sha256=fgWRBzRTtsf3r2INyS4f7WHlzgjB5YM1ekiwqD21aac,6634
|
21
|
-
coinex/ccxt/base/errors.py,sha256=
|
22
|
-
coinex/ccxt/base/exchange.py,sha256=
|
21
|
+
coinex/ccxt/base/errors.py,sha256=Pad-6ugvGUwhoYuKUliX-N7FTrcnKCQGFjsaq2tMn0I,4610
|
22
|
+
coinex/ccxt/base/exchange.py,sha256=1y1XgdaAMiN5CyMzmwFXi-qEm3-94gOFaq7m7eyowEw,327221
|
23
23
|
coinex/ccxt/base/precise.py,sha256=koce64Yrp6vFbGijJtUt-QQ6XhJgeGTCksZ871FPp_A,8886
|
24
24
|
coinex/ccxt/base/types.py,sha256=SfxIKDSsxP7MPHWiOVI965Nr5NSEPpAno5fuveTRi3w,11423
|
25
|
-
coinex/ccxt/pro/__init__.py,sha256=
|
25
|
+
coinex/ccxt/pro/__init__.py,sha256=4Jz68nL8A59oEDCpJmnpj-QK8dYqDJ68ZTjbWyk3RVQ,619
|
26
26
|
coinex/ccxt/pro/coinex.py,sha256=aQ6Xa4ML0PTCgGleDJuhjqntspAREz6XxQwX9IcD6OY,56616
|
27
27
|
coinex/ccxt/static_dependencies/README.md,sha256=3TCvhhn09_Cqf9BDDpao1V7EfKHDpQ6k9oWRsLFixpU,18
|
28
28
|
coinex/ccxt/static_dependencies/__init__.py,sha256=tzFje8cloqmiIE6kola3EaYC0SnD1izWnri69hzHsSw,168
|
@@ -283,6 +283,6 @@ coinex/ccxt/static_dependencies/toolz/curried/exceptions.py,sha256=gKFOHDIayAWnX
|
|
283
283
|
coinex/ccxt/static_dependencies/toolz/curried/operator.py,sha256=ML92mknkAwzBl2NCm-4werSUmJEtSHNY9NSzhseNM9s,525
|
284
284
|
coinex/ccxt/static_dependencies/typing_inspect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
285
285
|
coinex/ccxt/static_dependencies/typing_inspect/typing_inspect.py,sha256=5gIWomLPfuDpgd3gX1GlnX0MuXM3VorR4j2W2qXORiQ,28269
|
286
|
-
coinex_api-0.0.
|
287
|
-
coinex_api-0.0.
|
288
|
-
coinex_api-0.0.
|
286
|
+
coinex_api-0.0.38.dist-info/METADATA,sha256=MUTjOd6XiZ32DeUqQkPRwsgonDeehAD3eBCjrieX3_c,19969
|
287
|
+
coinex_api-0.0.38.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
288
|
+
coinex_api-0.0.38.dist-info/RECORD,,
|
File without changes
|