ccxt 4.3.87__py2.py3-none-any.whl → 4.3.89__py2.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.
- ccxt/__init__.py +1 -1
- ccxt/abstract/kucoin.py +1 -0
- ccxt/abstract/kucoinfutures.py +1 -0
- ccxt/ace.py +1 -0
- ccxt/alpaca.py +1 -0
- ccxt/ascendex.py +7 -19
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +1 -0
- ccxt/async_support/alpaca.py +1 -0
- ccxt/async_support/ascendex.py +7 -19
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +1 -0
- ccxt/async_support/bingx.py +1 -0
- ccxt/async_support/bit2c.py +1 -0
- ccxt/async_support/bitbank.py +1 -0
- ccxt/async_support/bitfinex.py +1 -0
- ccxt/async_support/bitflyer.py +1 -0
- ccxt/async_support/bitget.py +1 -0
- ccxt/async_support/bitmex.py +1 -0
- ccxt/async_support/bitopro.py +1 -0
- ccxt/async_support/bitrue.py +62 -71
- ccxt/async_support/bitso.py +1 -0
- ccxt/async_support/bitstamp.py +1 -0
- ccxt/async_support/bitvavo.py +1 -0
- ccxt/async_support/blockchaincom.py +1 -0
- ccxt/async_support/btcalpha.py +1 -0
- ccxt/async_support/btcbox.py +1 -0
- ccxt/async_support/btcmarkets.py +1 -0
- ccxt/async_support/bybit.py +2 -0
- ccxt/async_support/cex.py +1 -0
- ccxt/async_support/coinbaseexchange.py +1 -0
- ccxt/async_support/coinex.py +1 -1
- ccxt/async_support/cryptocom.py +0 -12
- ccxt/async_support/kraken.py +48 -48
- ccxt/async_support/kucoin.py +2 -0
- ccxt/async_support/mexc.py +1 -61
- ccxt/async_support/okcoin.py +4 -9
- ccxt/async_support/onetrading.py +1 -0
- ccxt/async_support/phemex.py +1 -0
- ccxt/async_support/poloniexfutures.py +1 -0
- ccxt/async_support/probit.py +1 -0
- ccxt/async_support/vertex.py +1 -0
- ccxt/async_support/woo.py +1 -0
- ccxt/async_support/woofipro.py +1 -0
- ccxt/base/exchange.py +8 -6
- ccxt/bigone.py +1 -0
- ccxt/bingx.py +1 -0
- ccxt/bit2c.py +1 -0
- ccxt/bitbank.py +1 -0
- ccxt/bitfinex.py +1 -0
- ccxt/bitflyer.py +1 -0
- ccxt/bitget.py +1 -0
- ccxt/bitmex.py +1 -0
- ccxt/bitopro.py +1 -0
- ccxt/bitrue.py +62 -71
- ccxt/bitso.py +1 -0
- ccxt/bitstamp.py +1 -0
- ccxt/bitvavo.py +1 -0
- ccxt/blockchaincom.py +1 -0
- ccxt/btcalpha.py +1 -0
- ccxt/btcbox.py +1 -0
- ccxt/btcmarkets.py +1 -0
- ccxt/bybit.py +2 -0
- ccxt/cex.py +1 -0
- ccxt/coinbaseexchange.py +1 -0
- ccxt/coinex.py +1 -1
- ccxt/cryptocom.py +0 -12
- ccxt/kraken.py +48 -48
- ccxt/kucoin.py +2 -0
- ccxt/mexc.py +1 -61
- ccxt/okcoin.py +4 -9
- ccxt/onetrading.py +1 -0
- ccxt/phemex.py +1 -0
- ccxt/poloniexfutures.py +1 -0
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/bitfinex.py +1 -0
- ccxt/pro/bitfinex2.py +1 -0
- ccxt/pro/bitopro.py +1 -0
- ccxt/pro/bitstamp.py +1 -0
- ccxt/pro/bitvavo.py +1 -0
- ccxt/pro/blockchaincom.py +1 -0
- ccxt/pro/bybit.py +252 -1
- ccxt/pro/cex.py +2 -0
- ccxt/pro/coincheck.py +1 -0
- ccxt/pro/coinone.py +1 -0
- ccxt/pro/hashkey.py +1 -0
- ccxt/pro/hitbtc.py +1 -0
- ccxt/pro/hollaex.py +1 -0
- ccxt/pro/htx.py +1 -0
- ccxt/pro/huobijp.py +1 -0
- ccxt/pro/hyperliquid.py +7 -0
- ccxt/pro/independentreserve.py +1 -0
- ccxt/pro/lbank.py +1 -0
- ccxt/pro/luno.py +1 -0
- ccxt/pro/ndax.py +5 -0
- ccxt/pro/okcoin.py +7 -0
- ccxt/pro/onetrading.py +1 -0
- ccxt/pro/paradex.py +1 -0
- ccxt/probit.py +1 -0
- ccxt/vertex.py +1 -0
- ccxt/woo.py +1 -0
- ccxt/woofipro.py +1 -0
- {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/METADATA +4 -4
- {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/RECORD +107 -107
- {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/WHEEL +0 -0
- {ccxt-4.3.87.dist-info → ccxt-4.3.89.dist-info}/top_level.txt +0 -0
ccxt/bitso.py
CHANGED
@@ -1129,6 +1129,7 @@ class bitso(Exchange, ImplicitAPI):
|
|
1129
1129
|
"""
|
1130
1130
|
fetches information on an order made by the user
|
1131
1131
|
:see: https://docs.bitso.com/bitso-api/docs/look-up-orders
|
1132
|
+
:param str id: the order id
|
1132
1133
|
:param str symbol: not used by bitso fetchOrder
|
1133
1134
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1134
1135
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/bitstamp.py
CHANGED
@@ -1466,6 +1466,7 @@ class bitstamp(Exchange, ImplicitAPI):
|
|
1466
1466
|
"""
|
1467
1467
|
fetches information on an order made by the user
|
1468
1468
|
:see: https://www.bitstamp.net/api/#tag/Orders/operation/GetOrderStatus
|
1469
|
+
:param str id: the order id
|
1469
1470
|
:param str symbol: unified symbol of the market the order was made in
|
1470
1471
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1471
1472
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/bitvavo.py
CHANGED
@@ -1255,6 +1255,7 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1255
1255
|
"""
|
1256
1256
|
fetches information on an order made by the user
|
1257
1257
|
:see: https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1order/get
|
1258
|
+
:param str id: the order id
|
1258
1259
|
:param str symbol: unified symbol of the market the order was made in
|
1259
1260
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1260
1261
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/blockchaincom.py
CHANGED
@@ -1036,6 +1036,7 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
1036
1036
|
"""
|
1037
1037
|
fetches information on an order made by the user
|
1038
1038
|
:see: https://api.blockchain.com/v3/#getorderbyid
|
1039
|
+
:param str id: the order id
|
1039
1040
|
:param str symbol: not used by blockchaincom fetchOrder
|
1040
1041
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1041
1042
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/btcalpha.py
CHANGED
@@ -760,6 +760,7 @@ class btcalpha(Exchange, ImplicitAPI):
|
|
760
760
|
"""
|
761
761
|
:see: https://btc-alpha.github.io/api-docs/#retrieve-single-order
|
762
762
|
fetches information on an order made by the user
|
763
|
+
:param str id: the order id
|
763
764
|
:param str symbol: not used by btcalpha fetchOrder
|
764
765
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
765
766
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/btcbox.py
CHANGED
@@ -549,6 +549,7 @@ class btcbox(Exchange, ImplicitAPI):
|
|
549
549
|
"""
|
550
550
|
fetches information on an order made by the user
|
551
551
|
:see: https://blog.btcbox.jp/en/archives/8762#toc16
|
552
|
+
:param str id: the order id
|
552
553
|
:param str symbol: unified symbol of the market the order was made in
|
553
554
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
554
555
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/btcmarkets.py
CHANGED
@@ -1018,6 +1018,7 @@ class btcmarkets(Exchange, ImplicitAPI):
|
|
1018
1018
|
"""
|
1019
1019
|
fetches information on an order made by the user
|
1020
1020
|
:see: https://docs.btcmarkets.net/v3/#operation/getOrderById
|
1021
|
+
:param str id: the order id
|
1021
1022
|
:param str symbol: not used by btcmarkets fetchOrder
|
1022
1023
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1023
1024
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/bybit.py
CHANGED
@@ -4493,6 +4493,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
4493
4493
|
"""
|
4494
4494
|
fetches information on an order made by the user *classic accounts only*
|
4495
4495
|
:see: https://bybit-exchange.github.io/docs/v5/order/order-list
|
4496
|
+
:param str id: the order id
|
4496
4497
|
:param str symbol: unified symbol of the market the order was made in
|
4497
4498
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4498
4499
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -4520,6 +4521,7 @@ class bybit(Exchange, ImplicitAPI):
|
|
4520
4521
|
"""
|
4521
4522
|
*classic accounts only/ spot not supported* fetches information on an order made by the user *classic accounts only*
|
4522
4523
|
:see: https://bybit-exchange.github.io/docs/v5/order/order-list
|
4524
|
+
:param str id: the order id
|
4523
4525
|
:param str symbol: unified symbol of the market the order was made in
|
4524
4526
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
4525
4527
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/cex.py
CHANGED
@@ -1149,6 +1149,7 @@ class cex(Exchange, ImplicitAPI):
|
|
1149
1149
|
"""
|
1150
1150
|
:see: https://docs.cex.io/?python#get-order-details
|
1151
1151
|
fetches information on an order made by the user
|
1152
|
+
:param str id: the order id
|
1152
1153
|
:param str symbol: not used by cex fetchOrder
|
1153
1154
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1154
1155
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/coinbaseexchange.py
CHANGED
@@ -1047,6 +1047,7 @@ class coinbaseexchange(Exchange, ImplicitAPI):
|
|
1047
1047
|
"""
|
1048
1048
|
:see: https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorder
|
1049
1049
|
fetches information on an order made by the user
|
1050
|
+
:param str id: the order id
|
1050
1051
|
:param str symbol: not used by coinbaseexchange fetchOrder
|
1051
1052
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1052
1053
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/coinex.py
CHANGED
@@ -5268,7 +5268,7 @@ class coinex(Exchange, ImplicitAPI):
|
|
5268
5268
|
'shortLeverage': leverageValue,
|
5269
5269
|
}
|
5270
5270
|
|
5271
|
-
def fetch_position_history(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> Position:
|
5271
|
+
def fetch_position_history(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Position]:
|
5272
5272
|
"""
|
5273
5273
|
fetches historical positions
|
5274
5274
|
:see: https://docs.coinex.com/api/v2/futures/position/http/list-finished-position
|
ccxt/cryptocom.py
CHANGED
@@ -1673,18 +1673,6 @@ class cryptocom(Exchange, ImplicitAPI):
|
|
1673
1673
|
keys = list(depositAddresses.keys())
|
1674
1674
|
return depositAddresses[keys[0]]
|
1675
1675
|
|
1676
|
-
def safe_network(self, networkId):
|
1677
|
-
networksById: dict = {
|
1678
|
-
'BTC': 'BTC',
|
1679
|
-
'ETH': 'ETH',
|
1680
|
-
'SOL': 'SOL',
|
1681
|
-
'BNB': 'BNB',
|
1682
|
-
'CRONOS': 'CRONOS',
|
1683
|
-
'MATIC': 'MATIC',
|
1684
|
-
'OP': 'OP',
|
1685
|
-
}
|
1686
|
-
return self.safe_string(networksById, networkId, networkId)
|
1687
|
-
|
1688
1676
|
def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1689
1677
|
"""
|
1690
1678
|
fetch all deposits made to an account
|
ccxt/kraken.py
CHANGED
@@ -258,100 +258,100 @@ class kraken(Exchange, ImplicitAPI):
|
|
258
258
|
'TRX': 'TRC20',
|
259
259
|
},
|
260
260
|
'depositMethods': {
|
261
|
-
'1INCH': '1inch(1INCH)',
|
261
|
+
'1INCH': '1inch' + ' ' + '(1INCH)',
|
262
262
|
'AAVE': 'Aave',
|
263
263
|
'ADA': 'ADA',
|
264
264
|
'ALGO': 'Algorand',
|
265
|
-
'ANKR': 'ANKR(ANKR)',
|
266
|
-
'ANT': 'Aragon(ANT)',
|
265
|
+
'ANKR': 'ANKR' + ' ' + '(ANKR)',
|
266
|
+
'ANT': 'Aragon' + ' ' + '(ANT)',
|
267
267
|
'ATOM': 'Cosmos',
|
268
|
-
'AXS': 'Axie Infinity Shards(AXS)',
|
269
|
-
'BADGER': 'Bager DAO(BADGER)',
|
270
|
-
'BAL': 'Balancer(BAL)',
|
271
|
-
'BAND': 'Band Protocol(BAND)',
|
268
|
+
'AXS': 'Axie Infinity Shards' + ' ' + '(AXS)',
|
269
|
+
'BADGER': 'Bager DAO' + ' ' + '(BADGER)',
|
270
|
+
'BAL': 'Balancer' + ' ' + '(BAL)',
|
271
|
+
'BAND': 'Band Protocol' + ' ' + '(BAND)',
|
272
272
|
'BAT': 'BAT',
|
273
273
|
'BCH': 'Bitcoin Cash',
|
274
|
-
'BNC': 'Bifrost(BNC)',
|
275
|
-
'BNT': 'Bancor(BNT)',
|
274
|
+
'BNC': 'Bifrost' + ' ' + '(BNC)',
|
275
|
+
'BNT': 'Bancor' + ' ' + '(BNT)',
|
276
276
|
'BTC': 'Bitcoin',
|
277
|
-
'CHZ': 'Chiliz(CHZ)',
|
278
|
-
'COMP': 'Compound(COMP)',
|
279
|
-
'CQT': '\tCovalent Query Token(CQT)',
|
280
|
-
'CRV': 'Curve DAO Token(CRV)',
|
281
|
-
'CTSI': 'Cartesi(CTSI)',
|
277
|
+
'CHZ': 'Chiliz' + ' ' + '(CHZ)',
|
278
|
+
'COMP': 'Compound' + ' ' + '(COMP)',
|
279
|
+
'CQT': '\tCovalent Query Token' + ' ' + '(CQT)',
|
280
|
+
'CRV': 'Curve DAO Token' + ' ' + '(CRV)',
|
281
|
+
'CTSI': 'Cartesi' + ' ' + '(CTSI)',
|
282
282
|
'DAI': 'Dai',
|
283
283
|
'DASH': 'Dash',
|
284
284
|
'DOGE': 'Dogecoin',
|
285
285
|
'DOT': 'Polkadot',
|
286
|
-
'DYDX': 'dYdX(DYDX)',
|
287
|
-
'ENJ': 'Enjin Coin(ENJ)',
|
286
|
+
'DYDX': 'dYdX' + ' ' + '(DYDX)',
|
287
|
+
'ENJ': 'Enjin Coin' + ' ' + '(ENJ)',
|
288
288
|
'EOS': 'EOS',
|
289
|
-
'ETC': 'Ether Classic(Hex)',
|
290
|
-
'ETH': 'Ether(Hex)',
|
289
|
+
'ETC': 'Ether Classic' + ' ' + '(Hex)',
|
290
|
+
'ETH': 'Ether' + ' ' + '(Hex)',
|
291
291
|
'EWT': 'Energy Web Token',
|
292
292
|
'FEE': 'Kraken Fee Credit',
|
293
293
|
'FIL': 'Filecoin',
|
294
294
|
'FLOW': 'Flow',
|
295
|
-
'GHST': 'Aavegotchi(GHST)',
|
295
|
+
'GHST': 'Aavegotchi' + ' ' + '(GHST)',
|
296
296
|
'GNO': 'GNO',
|
297
297
|
'GRT': 'GRT',
|
298
298
|
'ICX': 'Icon',
|
299
|
-
'INJ': 'Injective Protocol(INJ)',
|
300
|
-
'KAR': 'Karura(KAR)',
|
299
|
+
'INJ': 'Injective Protocol' + ' ' + '(INJ)',
|
300
|
+
'KAR': 'Karura' + ' ' + '(KAR)',
|
301
301
|
'KAVA': 'Kava',
|
302
|
-
'KEEP': 'Keep Token(KEEP)',
|
303
|
-
'KNC': 'Kyber Network(KNC)',
|
302
|
+
'KEEP': 'Keep Token' + ' ' + '(KEEP)',
|
303
|
+
'KNC': 'Kyber Network' + ' ' + '(KNC)',
|
304
304
|
'KSM': 'Kusama',
|
305
305
|
'LINK': 'Link',
|
306
|
-
'LPT': 'Livepeer Token(LPT)',
|
307
|
-
'LRC': 'Loopring(LRC)',
|
306
|
+
'LPT': 'Livepeer Token' + ' ' + '(LPT)',
|
307
|
+
'LRC': 'Loopring' + ' ' + '(LRC)',
|
308
308
|
'LSK': 'Lisk',
|
309
309
|
'LTC': 'Litecoin',
|
310
310
|
'MANA': 'MANA',
|
311
|
-
'MATIC': 'Polygon(MATIC)',
|
311
|
+
'MATIC': 'Polygon' + ' ' + '(MATIC)',
|
312
312
|
'MINA': 'Mina', # inspected from webui
|
313
|
-
'MIR': 'Mirror Protocol(MIR)',
|
314
|
-
'MKR': 'Maker(MKR)',
|
313
|
+
'MIR': 'Mirror Protocol' + ' ' + '(MIR)',
|
314
|
+
'MKR': 'Maker' + ' ' + '(MKR)',
|
315
315
|
'MLN': 'MLN',
|
316
|
-
'MOVR': 'Moonriver(MOVR)',
|
316
|
+
'MOVR': 'Moonriver' + ' ' + '(MOVR)',
|
317
317
|
'NANO': 'NANO',
|
318
318
|
'OCEAN': 'OCEAN',
|
319
|
-
'OGN': 'Origin Protocol(OGN)',
|
319
|
+
'OGN': 'Origin Protocol' + ' ' + '(OGN)',
|
320
320
|
'OMG': 'OMG',
|
321
|
-
'OXT': 'Orchid(OXT)',
|
322
|
-
'OXY': 'Oxygen(OXY)',
|
323
|
-
'PAXG': 'PAX(Gold)',
|
324
|
-
'PERP': 'Perpetual Protocol(PERP)',
|
325
|
-
'PHA': 'Phala(PHA)',
|
321
|
+
'OXT': 'Orchid' + ' ' + '(OXT)',
|
322
|
+
'OXY': 'Oxygen' + ' ' + '(OXY)',
|
323
|
+
'PAXG': 'PAX' + ' ' + '(Gold)',
|
324
|
+
'PERP': 'Perpetual Protocol' + ' ' + '(PERP)',
|
325
|
+
'PHA': 'Phala' + ' ' + '(PHA)',
|
326
326
|
'QTUM': 'QTUM',
|
327
|
-
'RARI': 'Rarible(RARI)',
|
328
|
-
'RAY': 'Raydium(RAY)',
|
329
|
-
'REN': 'Ren Protocol(REN)',
|
327
|
+
'RARI': 'Rarible' + ' ' + '(RARI)',
|
328
|
+
'RAY': 'Raydium' + ' ' + '(RAY)',
|
329
|
+
'REN': 'Ren Protocol' + ' ' + '(REN)',
|
330
330
|
'REP': 'REPv2',
|
331
331
|
'REPV1': 'REP',
|
332
|
-
'SAND': 'The Sandbox(SAND)',
|
332
|
+
'SAND': 'The Sandbox' + ' ' + '(SAND)',
|
333
333
|
'SC': 'Siacoin',
|
334
|
-
'SDN': 'Shiden(SDN)',
|
334
|
+
'SDN': 'Shiden' + ' ' + '(SDN)',
|
335
335
|
'SOL': 'Solana', # their deposit method api doesn't work for SOL - was guessed
|
336
|
-
'SNX': 'Synthetix Network(SNX)',
|
336
|
+
'SNX': 'Synthetix Network' + ' ' + '(SNX)',
|
337
337
|
'SRM': 'Serum', # inspected from webui
|
338
|
-
'STORJ': 'Storj(STORJ)',
|
339
|
-
'SUSHI': 'Sushiswap(SUSHI)',
|
338
|
+
'STORJ': 'Storj' + ' ' + '(STORJ)',
|
339
|
+
'SUSHI': 'Sushiswap' + ' ' + '(SUSHI)',
|
340
340
|
'TBTC': 'tBTC',
|
341
341
|
'TRX': 'Tron',
|
342
342
|
'UNI': 'UNI',
|
343
343
|
'USDC': 'USDC',
|
344
|
-
'USDT': 'Tether USD(ERC20)',
|
345
|
-
'USDT-TRC20': 'Tether USD(TRC20)',
|
344
|
+
'USDT': 'Tether USD' + ' ' + '(ERC20)',
|
345
|
+
'USDT-TRC20': 'Tether USD' + ' ' + '(TRC20)',
|
346
346
|
'WAVES': 'Waves',
|
347
|
-
'WBTC': 'Wrapped Bitcoin(WBTC)',
|
347
|
+
'WBTC': 'Wrapped Bitcoin' + ' ' + '(WBTC)',
|
348
348
|
'XLM': 'Stellar XLM',
|
349
349
|
'XMR': 'Monero',
|
350
350
|
'XRP': 'Ripple XRP',
|
351
351
|
'XTZ': 'XTZ',
|
352
352
|
'YFI': 'YFI',
|
353
|
-
'ZEC': 'Zcash(Transparent)',
|
354
|
-
'ZRX': '0x(ZRX)',
|
353
|
+
'ZEC': 'Zcash' + ' ' + '(Transparent)',
|
354
|
+
'ZRX': '0x' + ' ' + '(ZRX)',
|
355
355
|
},
|
356
356
|
'withdrawMethods': { # keeping it here because deposit and withdraw return different networks codes
|
357
357
|
'Lightning': 'Lightning',
|
ccxt/kucoin.py
CHANGED
@@ -414,6 +414,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
414
414
|
'broker/nd/account': 2,
|
415
415
|
'broker/nd/account/apikey': 2,
|
416
416
|
'broker/nd/rebase/download': 3,
|
417
|
+
'asset/ndbroker/deposit/list': 1,
|
417
418
|
'broker/nd/transfer/detail': 1,
|
418
419
|
'broker/nd/deposit/detail': 1,
|
419
420
|
'broker/nd/withdraw/detail': 1,
|
@@ -705,6 +706,7 @@ class kucoin(Exchange, ImplicitAPI):
|
|
705
706
|
'purchase/orders': 'v3',
|
706
707
|
'margin/symbols': 'v3',
|
707
708
|
'affiliate/inviter/statistics': 'v2',
|
709
|
+
'asset/ndbroker/deposit/list': 'v1',
|
708
710
|
},
|
709
711
|
'POST': {
|
710
712
|
# account
|
ccxt/mexc.py
CHANGED
@@ -577,7 +577,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
577
577
|
'POKT': 'POKT',
|
578
578
|
'QKC': 'QKC',
|
579
579
|
'QTUM': 'QTUM',
|
580
|
-
'RAP20': 'RAP20(Rangers Mainnet)',
|
580
|
+
'RAP20': 'RAP20' + ' ' + '(Rangers Mainnet)',
|
581
581
|
'REI': 'REI',
|
582
582
|
'RSK': 'RBTC',
|
583
583
|
'RVN': 'Ravencoin(RVN)',
|
@@ -727,69 +727,9 @@ class mexc(Exchange, ImplicitAPI):
|
|
727
727
|
# OKB <> OKT(for usdt it's exception) for OKC, PMEER, FLARE, STRD, ZEL, FUND, "NONE", CRING, FREETON, QTZ (probably unique network is meant), HT, BSC(RACAV1), BSC(RACAV2), AMBROSUS, BAJUN, NOM. their individual info is at https://www.mexc.com/api/platform/asset/spot/{COINNAME}
|
728
728
|
},
|
729
729
|
'networksById': {
|
730
|
-
'Aleph Zero(AZERO)': 'AZERO',
|
731
|
-
'Alephium(ALPH)': 'ALPH',
|
732
|
-
'Algorand(ALGO)': 'ALGO',
|
733
|
-
'APTOS(APT)': 'APT',
|
734
|
-
'Arbitrum One(ARB)': 'ARB',
|
735
|
-
'Avalanche C Chain(AVAX CCHAIN)': 'AVAXC',
|
736
|
-
'Avalanche X Chain(AVAX XCHAIN)': 'AVAXX',
|
737
|
-
'BEP20(BSC)': 'BSC',
|
738
|
-
'Bitcoin Cash(BCH)': 'BCH',
|
739
|
-
'Bitcoin SV(BSV)': 'BSV',
|
740
|
-
'Bitcoin(BTC)': 'BTC',
|
741
|
-
'Bittensor(TAO)': 'TAO',
|
742
|
-
'BNB Beacon Chain(BEP2)': 'BEP2',
|
743
730
|
'BNB Smart Chain(BEP20-RACAV1)': 'BSC',
|
744
731
|
'BNB Smart Chain(BEP20-RACAV2)': 'BSC',
|
745
732
|
'BNB Smart Chain(BEP20)': 'BSC',
|
746
|
-
'Cardano(ADA)': 'ADA',
|
747
|
-
'Celestia(TIA)': 'TIA',
|
748
|
-
'Chia(XCH)': 'XCH',
|
749
|
-
'Chiliz Chain(CHZ2)': 'CHZ2',
|
750
|
-
'Chiliz Legacy Chain(CHZ)': 'CHZ',
|
751
|
-
'Clore.ai(CLORE)': 'CLORE',
|
752
|
-
'Cosmos(ATOM)': 'ATOM',
|
753
|
-
'Dogechain(DC)': 'DC',
|
754
|
-
'Dogecoin(DOGE)': 'DOGE',
|
755
|
-
'Dymension(DYM)': 'DYM',
|
756
|
-
'Dynex(DNX)': 'DNX',
|
757
|
-
'Elysium(LAVA)': 'LAVA',
|
758
|
-
'Ethereum Classic(ETC)': 'ETC',
|
759
|
-
'Ethereum(ERC20)': 'ERC20',
|
760
|
-
'Fantom(FTM)': 'FTM',
|
761
|
-
'Hedera(HBAR)': 'HBAR',
|
762
|
-
'Index Chain': 'INDEX',
|
763
|
-
'Internet Computer(ICP)': 'ICP',
|
764
|
-
'Kaspa(KAS)': 'KAS',
|
765
|
-
'Klaytn(KLAY)': 'KLAY',
|
766
|
-
'Litecoin(LTC)': 'LTC',
|
767
|
-
'Mantle(MNT)': 'MNT',
|
768
|
-
'Mcoin Network': 'MCOIN',
|
769
|
-
'Meter(MTRG)': 'MTRG',
|
770
|
-
'Monero(XMR)': 'XMR',
|
771
|
-
'NEAR Protocol(NEAR)': 'NEAR',
|
772
|
-
'Neoxa Network': 'NEOXA',
|
773
|
-
'Neurai(XNA)': 'XNA',
|
774
|
-
'Omega Network(OMN)': 'OMN',
|
775
|
-
'Optimism(OP)': 'OPTIMISM',
|
776
|
-
'Polkadot(DOT)': 'DOT',
|
777
|
-
'Polygon(MATIC)': 'MATIC',
|
778
|
-
'RAP20(Rangers Mainnet)': 'RAP20',
|
779
|
-
'Ravencoin(RVN)': 'RVN',
|
780
|
-
'Ripple(XRP)': 'XRP',
|
781
|
-
'Satoxcoin(SATOX)': 'SATOX',
|
782
|
-
'Solana(SOL)': 'SOL',
|
783
|
-
'Starknet(STARK)': 'STARK',
|
784
|
-
'Stellar(XLM)': 'XLM',
|
785
|
-
'Terra(LUNA)': 'LUNA',
|
786
|
-
'Toncoin(TON)': 'TON',
|
787
|
-
'Tron(TRC20)': 'TRC20',
|
788
|
-
'UGAS(Ultrain)': 'UGAS',
|
789
|
-
'VeChain(VET)': 'VET',
|
790
|
-
'Vexanium(VEX)': 'VEX',
|
791
|
-
'XPR Network': 'XPR',
|
792
|
-
'Zilliqa(ZIL)': 'ZIL',
|
793
733
|
# TODO: uncomment below after deciding unified name
|
794
734
|
# 'PEPE COIN BSC':
|
795
735
|
# 'SMART BLOCKCHAIN':
|
ccxt/okcoin.py
CHANGED
@@ -598,6 +598,9 @@ class okcoin(Exchange, ImplicitAPI):
|
|
598
598
|
'defaultNetwork': 'ERC20',
|
599
599
|
'networks': {
|
600
600
|
'ERC20': 'Ethereum',
|
601
|
+
'BTC': 'Bitcoin',
|
602
|
+
'OMNI': 'Omni',
|
603
|
+
'TRC20': 'TRON',
|
601
604
|
},
|
602
605
|
},
|
603
606
|
'commonCurrencies': {
|
@@ -725,14 +728,6 @@ class okcoin(Exchange, ImplicitAPI):
|
|
725
728
|
'info': market,
|
726
729
|
})
|
727
730
|
|
728
|
-
def safe_network(self, networkId):
|
729
|
-
networksById: dict = {
|
730
|
-
'Bitcoin': 'BTC',
|
731
|
-
'Omni': 'OMNI',
|
732
|
-
'TRON': 'TRC20',
|
733
|
-
}
|
734
|
-
return self.safe_string(networksById, networkId, networkId)
|
735
|
-
|
736
731
|
def fetch_currencies(self, params={}) -> Currencies:
|
737
732
|
"""
|
738
733
|
fetches all available currencies on an exchange
|
@@ -772,7 +767,7 @@ class okcoin(Exchange, ImplicitAPI):
|
|
772
767
|
if (networkId is not None) and (networkId.find('-') >= 0):
|
773
768
|
parts = networkId.split('-')
|
774
769
|
chainPart = self.safe_string(parts, 1, networkId)
|
775
|
-
networkCode = self.
|
770
|
+
networkCode = self.network_id_to_code(chainPart)
|
776
771
|
precision = self.parse_precision(self.safe_string(chain, 'wdTickSz'))
|
777
772
|
if maxPrecision is None:
|
778
773
|
maxPrecision = precision
|
ccxt/onetrading.py
CHANGED
@@ -1577,6 +1577,7 @@ class onetrading(Exchange, ImplicitAPI):
|
|
1577
1577
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1578
1578
|
"""
|
1579
1579
|
fetches information on an order made by the user
|
1580
|
+
:param str id: the order id
|
1580
1581
|
:param str symbol: not used by onetrading fetchOrder
|
1581
1582
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1582
1583
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/phemex.py
CHANGED
@@ -2800,6 +2800,7 @@ class phemex(Exchange, ImplicitAPI):
|
|
2800
2800
|
"""
|
2801
2801
|
:see: https://phemex-docs.github.io/#query-orders-by-ids
|
2802
2802
|
fetches information on an order made by the user
|
2803
|
+
:param str id: the order id
|
2803
2804
|
:param str symbol: unified symbol of the market the order was made in
|
2804
2805
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
2805
2806
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/poloniexfutures.py
CHANGED
@@ -1340,6 +1340,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
|
|
1340
1340
|
fetches information on an order made by the user
|
1341
1341
|
:see: https://api-docs.poloniex.com/futures/api/orders#get-details-of-a-single-order
|
1342
1342
|
:see: https://api-docs.poloniex.com/futures/api/orders#get-single-order-by-clientoid
|
1343
|
+
:param str id: the order id
|
1343
1344
|
:param str symbol: unified symbol of the market the order was made in
|
1344
1345
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1345
1346
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/pro/__init__.py
CHANGED
ccxt/pro/bitfinex.py
CHANGED
ccxt/pro/bitfinex2.py
CHANGED
ccxt/pro/bitopro.py
CHANGED
ccxt/pro/bitstamp.py
CHANGED
ccxt/pro/bitvavo.py
CHANGED
@@ -602,6 +602,7 @@ class bitvavo(ccxt.async_support.bitvavo):
|
|
602
602
|
"""
|
603
603
|
:see: https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
604
604
|
fetches information on an order made by the user
|
605
|
+
:param str id: the order id
|
605
606
|
:param str symbol: unified symbol of the market the order was made in
|
606
607
|
:param dict [params]: extra parameters specific to the bitvavo api endpoint
|
607
608
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
ccxt/pro/blockchaincom.py
CHANGED