ccxt 4.3.88__py2.py3-none-any.whl → 4.3.90__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/ace.py +1 -0
- ccxt/alpaca.py +3 -2
- ccxt/ascendex.py +102 -116
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +1 -0
- ccxt/async_support/alpaca.py +3 -2
- ccxt/async_support/ascendex.py +102 -116
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +1 -0
- ccxt/async_support/bingx.py +30 -17
- ccxt/async_support/bit2c.py +1 -0
- ccxt/async_support/bitbank.py +1 -0
- ccxt/async_support/bitfinex.py +1 -0
- ccxt/async_support/bitfinex2.py +21 -22
- ccxt/async_support/bitflyer.py +1 -0
- ccxt/async_support/bitget.py +3 -2
- ccxt/async_support/bitmart.py +4 -8
- 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/coinbaseinternational.py +2 -1
- ccxt/async_support/coinex.py +1 -16
- ccxt/async_support/cryptocom.py +0 -12
- ccxt/async_support/hitbtc.py +1 -0
- ccxt/async_support/huobijp.py +0 -8
- ccxt/async_support/kraken.py +48 -48
- ccxt/async_support/latoken.py +1 -0
- ccxt/async_support/mexc.py +1 -61
- ccxt/async_support/okcoin.py +4 -9
- ccxt/async_support/okx.py +1 -8
- 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/whitebit.py +5 -3
- ccxt/async_support/woo.py +1 -0
- ccxt/async_support/woofipro.py +1 -0
- ccxt/base/exchange.py +6 -4
- ccxt/bigone.py +1 -0
- ccxt/bingx.py +30 -17
- ccxt/bit2c.py +1 -0
- ccxt/bitbank.py +1 -0
- ccxt/bitfinex.py +1 -0
- ccxt/bitfinex2.py +21 -22
- ccxt/bitflyer.py +1 -0
- ccxt/bitget.py +3 -2
- ccxt/bitmart.py +4 -8
- 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/coinbaseinternational.py +2 -1
- ccxt/coinex.py +1 -16
- ccxt/cryptocom.py +0 -12
- ccxt/hitbtc.py +1 -0
- ccxt/huobijp.py +0 -8
- ccxt/kraken.py +48 -48
- ccxt/latoken.py +1 -0
- ccxt/mexc.py +1 -61
- ccxt/okcoin.py +4 -9
- ccxt/okx.py +1 -8
- ccxt/onetrading.py +1 -0
- ccxt/phemex.py +1 -0
- ccxt/poloniexfutures.py +1 -0
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/binance.py +280 -0
- ccxt/pro/bingx.py +235 -85
- ccxt/pro/bithumb.py +4 -0
- ccxt/pro/bitvavo.py +1 -0
- ccxt/pro/bybit.py +253 -2
- ccxt/pro/cex.py +1 -0
- ccxt/pro/coinex.py +941 -662
- ccxt/pro/lbank.py +1 -2
- ccxt/pro/okx.py +142 -2
- ccxt/probit.py +1 -0
- ccxt/vertex.py +1 -0
- ccxt/whitebit.py +5 -3
- ccxt/woo.py +1 -0
- ccxt/woofipro.py +1 -0
- {ccxt-4.3.88.dist-info → ccxt-4.3.90.dist-info}/METADATA +4 -4
- {ccxt-4.3.88.dist-info → ccxt-4.3.90.dist-info}/RECORD +105 -105
- {ccxt-4.3.88.dist-info → ccxt-4.3.90.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.3.88.dist-info → ccxt-4.3.90.dist-info}/WHEEL +0 -0
- {ccxt-4.3.88.dist-info → ccxt-4.3.90.dist-info}/top_level.txt +0 -0
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/latoken.py
CHANGED
@@ -1465,6 +1465,7 @@ class latoken(Exchange, ImplicitAPI):
|
|
1465
1465
|
statuses: dict = {
|
1466
1466
|
'TRANSACTION_STATUS_CONFIRMED': 'ok',
|
1467
1467
|
'TRANSACTION_STATUS_EXECUTED': 'ok',
|
1468
|
+
'TRANSACTION_STATUS_CHECKING': 'pending',
|
1468
1469
|
'TRANSACTION_STATUS_CANCELLED': 'canceled',
|
1469
1470
|
}
|
1470
1471
|
return self.safe_string(statuses, status, status)
|
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/okx.py
CHANGED
@@ -1062,6 +1062,7 @@ class okx(Exchange, ImplicitAPI):
|
|
1062
1062
|
'ZEC': 'Zcash',
|
1063
1063
|
'ZIL': 'Zilliqa',
|
1064
1064
|
'ZKSYNC': 'ZKSYNC',
|
1065
|
+
'OMNI': 'Omni',
|
1065
1066
|
# 'NEON3': 'N3', # tbd
|
1066
1067
|
# undetermined : "CELO-TOKEN", "Digital Cash", Khala
|
1067
1068
|
# todo: uncomment below after consensus
|
@@ -1588,14 +1589,6 @@ class okx(Exchange, ImplicitAPI):
|
|
1588
1589
|
dataResponse = self.safe_list(response, 'data', [])
|
1589
1590
|
return self.parse_markets(dataResponse)
|
1590
1591
|
|
1591
|
-
def safe_network(self, networkId):
|
1592
|
-
networksById: dict = {
|
1593
|
-
'Bitcoin': 'BTC',
|
1594
|
-
'Omni': 'OMNI',
|
1595
|
-
'TRON': 'TRC20',
|
1596
|
-
}
|
1597
|
-
return self.safe_string(networksById, networkId, networkId)
|
1598
|
-
|
1599
1592
|
def fetch_currencies(self, params={}) -> Currencies:
|
1600
1593
|
"""
|
1601
1594
|
fetches all available currencies on an exchange
|
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>`
|