ccxt 3.0.79__py2.py3-none-any.whl → 3.0.81__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.

Potentially problematic release.


This version of ccxt might be problematic. Click here for more details.

Files changed (58) hide show
  1. ccxt/__init__.py +1 -3
  2. ccxt/ascendex.py +1 -0
  3. ccxt/async_support/__init__.py +1 -3
  4. ccxt/async_support/ascendex.py +1 -0
  5. ccxt/async_support/base/exchange.py +17 -24
  6. ccxt/async_support/binanceusdm.py +1 -1
  7. ccxt/async_support/bitfinex2.py +1 -0
  8. ccxt/async_support/bitpanda.py +1 -0
  9. ccxt/async_support/bitstamp.py +1 -0
  10. ccxt/async_support/coinbasepro.py +1 -0
  11. ccxt/async_support/delta.py +1 -0
  12. ccxt/async_support/exmo.py +1 -0
  13. ccxt/async_support/gate.py +1 -0
  14. ccxt/async_support/hitbtc.py +1 -0
  15. ccxt/async_support/hollaex.py +1 -0
  16. ccxt/async_support/kraken.py +1 -0
  17. ccxt/async_support/krakenfutures.py +2 -2
  18. ccxt/async_support/kucoin.py +1 -0
  19. ccxt/async_support/latoken.py +1 -0
  20. ccxt/async_support/lykke.py +1 -0
  21. ccxt/async_support/ndax.py +1 -0
  22. ccxt/async_support/phemex.py +1 -0
  23. ccxt/async_support/probit.py +1 -0
  24. ccxt/async_support/stex.py +1 -0
  25. ccxt/async_support/timex.py +1 -0
  26. ccxt/async_support/upbit.py +21 -0
  27. ccxt/async_support/zonda.py +15 -0
  28. ccxt/base/exchange.py +17 -24
  29. ccxt/binanceusdm.py +1 -1
  30. ccxt/bitfinex2.py +1 -0
  31. ccxt/bitpanda.py +1 -0
  32. ccxt/bitstamp.py +1 -0
  33. ccxt/coinbasepro.py +1 -0
  34. ccxt/delta.py +1 -0
  35. ccxt/exmo.py +1 -0
  36. ccxt/gate.py +1 -0
  37. ccxt/hitbtc.py +1 -0
  38. ccxt/hollaex.py +1 -0
  39. ccxt/kraken.py +1 -0
  40. ccxt/krakenfutures.py +2 -2
  41. ccxt/kucoin.py +1 -0
  42. ccxt/latoken.py +1 -0
  43. ccxt/lykke.py +1 -0
  44. ccxt/ndax.py +1 -0
  45. ccxt/phemex.py +1 -0
  46. ccxt/pro/__init__.py +1 -3
  47. ccxt/pro/binanceusdm.py +9 -0
  48. ccxt/pro/bybit.py +2 -1
  49. ccxt/pro/woo.py +7 -4
  50. ccxt/probit.py +1 -0
  51. ccxt/stex.py +1 -0
  52. ccxt/timex.py +1 -0
  53. ccxt/upbit.py +21 -0
  54. ccxt/zonda.py +15 -0
  55. {ccxt-3.0.79.dist-info → ccxt-3.0.81.dist-info}/METADATA +6 -7
  56. {ccxt-3.0.79.dist-info → ccxt-3.0.81.dist-info}/RECORD +58 -58
  57. {ccxt-3.0.79.dist-info → ccxt-3.0.81.dist-info}/WHEEL +0 -0
  58. {ccxt-3.0.79.dist-info → ccxt-3.0.81.dist-info}/top_level.txt +0 -0
ccxt/__init__.py CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  # ----------------------------------------------------------------------------
24
24
 
25
- __version__ = '3.0.79'
25
+ __version__ = '3.0.81'
26
26
 
27
27
  # ----------------------------------------------------------------------------
28
28
 
@@ -184,7 +184,6 @@ from ccxt.woo import woo # noqa: F4
184
184
  from ccxt.xt import xt # noqa: F401
185
185
  from ccxt.yobit import yobit # noqa: F401
186
186
  from ccxt.zaif import zaif # noqa: F401
187
- from ccxt.zb import zb # noqa: F401
188
187
  from ccxt.zonda import zonda # noqa: F401
189
188
 
190
189
  exchanges = [
@@ -299,7 +298,6 @@ exchanges = [
299
298
  'xt',
300
299
  'yobit',
301
300
  'zaif',
302
- 'zb',
303
301
  'zonda',
304
302
  ]
305
303
 
ccxt/ascendex.py CHANGED
@@ -459,6 +459,7 @@ class ascendex(Exchange):
459
459
  'max': None,
460
460
  },
461
461
  },
462
+ 'networks': {},
462
463
  }
463
464
  return result
464
465
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  # -----------------------------------------------------------------------------
6
6
 
7
- __version__ = '3.0.79'
7
+ __version__ = '3.0.81'
8
8
 
9
9
  # -----------------------------------------------------------------------------
10
10
 
@@ -164,7 +164,6 @@ from ccxt.async_support.woo import woo
164
164
  from ccxt.async_support.xt import xt # noqa: F401
165
165
  from ccxt.async_support.yobit import yobit # noqa: F401
166
166
  from ccxt.async_support.zaif import zaif # noqa: F401
167
- from ccxt.async_support.zb import zb # noqa: F401
168
167
  from ccxt.async_support.zonda import zonda # noqa: F401
169
168
 
170
169
  exchanges = [
@@ -279,7 +278,6 @@ exchanges = [
279
278
  'xt',
280
279
  'yobit',
281
280
  'zaif',
282
- 'zb',
283
281
  'zonda',
284
282
  ]
285
283
 
@@ -459,6 +459,7 @@ class ascendex(Exchange):
459
459
  'max': None,
460
460
  },
461
461
  },
462
+ 'networks': {},
462
463
  }
463
464
  return result
464
465
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # -----------------------------------------------------------------------------
4
4
 
5
- __version__ = '3.0.79'
5
+ __version__ = '3.0.81'
6
6
 
7
7
  # -----------------------------------------------------------------------------
8
8
 
@@ -960,30 +960,24 @@ class Exchange(BaseExchange):
960
960
  raise ArgumentsRequired(self.id + ' calculateFee() - you have provided incompatible arguments - "market" type order can not be "maker". Change either the "type" or the "takerOrMaker" argument to calculate the fee.')
961
961
  market = self.markets[symbol]
962
962
  feeSide = self.safe_string(market, 'feeSide', 'quote')
963
- key = 'quote'
964
- cost = None
965
- amountString = self.number_to_string(amount)
966
- priceString = self.number_to_string(price)
967
- if feeSide == 'quote':
968
- # the fee is always in quote currency
969
- cost = Precise.string_mul(amountString, priceString)
970
- elif feeSide == 'base':
971
- # the fee is always in base currency
972
- cost = amountString
973
- elif feeSide == 'get':
963
+ useQuote = None
964
+ if feeSide == 'get':
974
965
  # the fee is always in the currency you get
975
- cost = amountString
976
- if side == 'sell':
977
- cost = Precise.string_mul(cost, priceString)
978
- else:
979
- key = 'base'
966
+ useQuote = side == 'sell'
980
967
  elif feeSide == 'give':
981
968
  # the fee is always in the currency you give
982
- cost = amountString
983
- if side == 'buy':
984
- cost = Precise.string_mul(cost, priceString)
985
- else:
986
- key = 'base'
969
+ useQuote = side == 'buy'
970
+ else:
971
+ # the fee is always in feeSide currency
972
+ useQuote = feeSide == 'quote'
973
+ cost = self.number_to_string(amount)
974
+ key = None
975
+ if useQuote:
976
+ priceString = self.number_to_string(price)
977
+ cost = Precise.string_mul(cost, priceString)
978
+ key = 'quote'
979
+ else:
980
+ key = 'base'
987
981
  # for derivatives, the fee is in 'settle' currency
988
982
  if not market['spot']:
989
983
  key = 'settle'
@@ -991,8 +985,7 @@ class Exchange(BaseExchange):
991
985
  if type == 'market':
992
986
  takerOrMaker = 'taker'
993
987
  rate = self.safe_string(market, takerOrMaker)
994
- if cost is not None:
995
- cost = Precise.string_mul(cost, rate)
988
+ cost = Precise.string_mul(cost, rate)
996
989
  return {
997
990
  'type': takerOrMaker,
998
991
  'currency': market[key],
@@ -41,7 +41,7 @@ class binanceusdm(binance):
41
41
  # https://binance-docs.github.io/apidocs/futures/en/#error-codes
42
42
  'exceptions': {
43
43
  'exact': {
44
- '-5021': InvalidOrder, # {"code":-502,"msg":"Due to the order could not be filled immediately, the FOK order has been rejected."}
44
+ '-5021': InvalidOrder, # {"code":-5021,"msg":"Due to the order could not be filled immediately, the FOK order has been rejected."}
45
45
  '-5022': InvalidOrder, # {"code":-5022,"msg":"Due to the order could not be executed, the Post Only order will be rejected."}
46
46
  '-5028': InvalidOrder, # {"code":-5028,"msg":"Timestamp for self request is outside of the ME recvWindow."}
47
47
  },
@@ -725,6 +725,7 @@ class bitfinex2(Exchange):
725
725
  'max': None,
726
726
  },
727
727
  },
728
+ 'networks': {},
728
729
  }
729
730
  networks = {}
730
731
  currencyNetworks = self.safe_value(response, 8, [])
@@ -351,6 +351,7 @@ class bitpanda(Exchange):
351
351
  'amount': {'min': None, 'max': None},
352
352
  'withdraw': {'min': None, 'max': None},
353
353
  },
354
+ 'networks': {},
354
355
  }
355
356
  return result
356
357
 
@@ -538,6 +538,7 @@ class bitstamp(Exchange):
538
538
  'max': None,
539
539
  },
540
540
  },
541
+ 'networks': {},
541
542
  }
542
543
 
543
544
  async def fetch_markets_from_cache(self, params={}):
@@ -299,6 +299,7 @@ class coinbasepro(Exchange):
299
299
  'max': None,
300
300
  },
301
301
  },
302
+ 'networks': {},
302
303
  }
303
304
  return result
304
305
 
@@ -368,6 +368,7 @@ class delta(Exchange):
368
368
  'max': None,
369
369
  },
370
370
  },
371
+ 'networks': {},
371
372
  }
372
373
  return result
373
374
 
@@ -667,6 +667,7 @@ class exmo(Exchange):
667
667
  'precision': self.parse_number('1e-8'),
668
668
  'limits': limits,
669
669
  'info': providers,
670
+ 'networks': {},
670
671
  }
671
672
  return result
672
673
 
@@ -1339,6 +1339,7 @@ class gate(Exchange):
1339
1339
  'fee': None,
1340
1340
  'fees': [],
1341
1341
  'limits': self.limits,
1342
+ 'networks': {},
1342
1343
  }
1343
1344
  return result
1344
1345
 
@@ -498,6 +498,7 @@ class hitbtc(Exchange):
498
498
  'max': None,
499
499
  },
500
500
  },
501
+ 'networks': {},
501
502
  }
502
503
  return result
503
504
 
@@ -398,6 +398,7 @@ class hollaex(Exchange):
398
398
  'max': self.safe_value(withdrawalLimits, 0),
399
399
  },
400
400
  },
401
+ 'networks': {},
401
402
  }
402
403
  return result
403
404
 
@@ -590,6 +590,7 @@ class kraken(Exchange):
590
590
  'max': None,
591
591
  },
592
592
  },
593
+ 'networks': {},
593
594
  }
594
595
  return result
595
596
 
@@ -81,8 +81,8 @@ class krakenfutures(Exchange):
81
81
  },
82
82
  'urls': {
83
83
  'test': {
84
- 'public': 'https://demo-futures.kraken.com/derivatives',
85
- 'private': 'https://demo-futures.kraken.com/derivatives',
84
+ 'public': 'https://demo-futures.kraken.com/derivatives/api/',
85
+ 'private': 'https://demo-futures.kraken.com/derivatives/api/',
86
86
  'www': 'https://demo-futures.kraken.com',
87
87
  },
88
88
  'logo': 'https://user-images.githubusercontent.com/24300605/81436764-b22fd580-9172-11ea-9703-742783e6376d.jpg',
@@ -789,6 +789,7 @@ class kucoin(Exchange):
789
789
  'withdraw': isWithdrawEnabled,
790
790
  'fee': fee,
791
791
  'limits': self.limits,
792
+ 'networks': {},
792
793
  }
793
794
  return result
794
795
 
@@ -460,6 +460,7 @@ class latoken(Exchange):
460
460
  'max': None,
461
461
  },
462
462
  },
463
+ 'networks': {},
463
464
  }
464
465
  return result
465
466
 
@@ -254,6 +254,7 @@ class lykke(Exchange):
254
254
  'max': None,
255
255
  },
256
256
  },
257
+ 'networks': {},
257
258
  }
258
259
  return result
259
260
 
@@ -371,6 +371,7 @@ class ndax(Exchange):
371
371
  'max': None,
372
372
  },
373
373
  },
374
+ 'networks': {},
374
375
  }
375
376
  return result
376
377
 
@@ -917,6 +917,7 @@ class phemex(Exchange):
917
917
  },
918
918
  },
919
919
  'valueScale': valueScale,
920
+ 'networks': {},
920
921
  }
921
922
  return result
922
923
 
@@ -467,6 +467,7 @@ class probit(Exchange):
467
467
  'max': None,
468
468
  },
469
469
  },
470
+ 'networks': {},
470
471
  }
471
472
  return result
472
473
 
@@ -388,6 +388,7 @@ class stex(Exchange):
388
388
  'max': None,
389
389
  },
390
390
  },
391
+ 'networks': {},
391
392
  }
392
393
  return result
393
394
 
@@ -1259,6 +1259,7 @@ class timex(Exchange):
1259
1259
  'withdraw': {'min': fee, 'max': None},
1260
1260
  'amount': {'min': None, 'max': None},
1261
1261
  },
1262
+ 'networks': {},
1262
1263
  }
1263
1264
 
1264
1265
  def parse_ticker(self, ticker, market=None):
@@ -397,6 +397,7 @@ class upbit(Exchange):
397
397
 
398
398
  async def fetch_markets(self, params={}):
399
399
  """
400
+ see https://docs.upbit.com/reference/%EB%A7%88%EC%BC%93-%EC%BD%94%EB%93%9C-%EC%A1%B0%ED%9A%8C
400
401
  retrieves data on all markets for upbit
401
402
  :param dict params: extra parameters specific to the exchange api endpoint
402
403
  :returns [dict]: an array of objects representing market data
@@ -489,6 +490,7 @@ class upbit(Exchange):
489
490
 
490
491
  async def fetch_balance(self, params={}):
491
492
  """
493
+ see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EA%B3%84%EC%A2%8C-%EC%A1%B0%ED%9A%8C
492
494
  query for balance and get the amount of funds available for trading or funds locked in orders
493
495
  :param dict params: extra parameters specific to the upbit api endpoint
494
496
  :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
@@ -511,6 +513,7 @@ class upbit(Exchange):
511
513
 
512
514
  async def fetch_order_books(self, symbols: Optional[List[str]] = None, limit: Optional[int] = None, params={}):
513
515
  """
516
+ see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
514
517
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
515
518
  :param [str]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
516
519
  :param int|None limit: not used by upbit fetchOrderBooks()
@@ -578,6 +581,7 @@ class upbit(Exchange):
578
581
 
579
582
  async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
580
583
  """
584
+ see https://docs.upbit.com/reference/%ED%98%B8%EA%B0%80-%EC%A0%95%EB%B3%B4-%EC%A1%B0%ED%9A%8C
581
585
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
582
586
  :param str symbol: unified symbol of the market to fetch the order book for
583
587
  :param int|None limit: the maximum amount of order book entries to return
@@ -645,6 +649,7 @@ class upbit(Exchange):
645
649
 
646
650
  async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
647
651
  """
652
+ see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
648
653
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
649
654
  :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
650
655
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -703,6 +708,7 @@ class upbit(Exchange):
703
708
 
704
709
  async def fetch_ticker(self, symbol: str, params={}):
705
710
  """
711
+ see https://docs.upbit.com/reference/ticker%ED%98%84%EC%9E%AC%EA%B0%80-%EC%A0%95%EB%B3%B4
706
712
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
707
713
  :param str symbol: unified symbol of the market to fetch the ticker for
708
714
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -781,6 +787,7 @@ class upbit(Exchange):
781
787
 
782
788
  async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
783
789
  """
790
+ see https://docs.upbit.com/reference/%EC%B5%9C%EA%B7%BC-%EC%B2%B4%EA%B2%B0-%EB%82%B4%EC%97%AD
784
791
  get the list of most recent trades for a particular symbol
785
792
  :param str symbol: unified symbol of the market to fetch trades for
786
793
  :param int|None since: timestamp in ms of the earliest trade to fetch
@@ -823,6 +830,7 @@ class upbit(Exchange):
823
830
 
824
831
  async def fetch_trading_fee(self, symbol: str, params={}):
825
832
  """
833
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EA%B0%80%EB%8A%A5-%EC%A0%95%EB%B3%B4
826
834
  fetch the trading fees for a market
827
835
  :param str symbol: unified market symbol
828
836
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -910,6 +918,7 @@ class upbit(Exchange):
910
918
 
911
919
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
912
920
  """
921
+ see https://docs.upbit.com/reference/%EB%B6%84minute-%EC%BA%94%EB%93%A4-1
913
922
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
914
923
  :param str symbol: unified symbol of the market to fetch OHLCV data for
915
924
  :param str timeframe: the length of time each candle represents
@@ -972,6 +981,7 @@ class upbit(Exchange):
972
981
 
973
982
  async def create_order(self, symbol: str, type, side: OrderSide, amount, price=None, params={}):
974
983
  """
984
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8%ED%95%98%EA%B8%B0
975
985
  create a trade order
976
986
  :param str symbol: unified symbol of the market to create an order in
977
987
  :param str type: 'market' or 'limit'
@@ -1042,6 +1052,7 @@ class upbit(Exchange):
1042
1052
 
1043
1053
  async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
1044
1054
  """
1055
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EC%B7%A8%EC%86%8C
1045
1056
  cancels an open order
1046
1057
  :param str id: order id
1047
1058
  :param str|None symbol: not used by upbit cancelOrder()
@@ -1076,6 +1087,7 @@ class upbit(Exchange):
1076
1087
 
1077
1088
  async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1078
1089
  """
1090
+ see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1079
1091
  fetch all deposits made to an account
1080
1092
  :param str|None code: unified currency code
1081
1093
  :param int|None since: the earliest time in ms to fetch deposits for
@@ -1115,6 +1127,7 @@ class upbit(Exchange):
1115
1127
 
1116
1128
  async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1117
1129
  """
1130
+ see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%B6%9C%EA%B8%88-%EC%A1%B0%ED%9A%8C
1118
1131
  fetch all withdrawals made from an account
1119
1132
  :param str|None code: unified currency code
1120
1133
  :param int|None since: the earliest time in ms to fetch withdrawals for
@@ -1403,6 +1416,7 @@ class upbit(Exchange):
1403
1416
 
1404
1417
  async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1405
1418
  """
1419
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1406
1420
  fetch all unfilled currently open orders
1407
1421
  :param str|None symbol: unified market symbol
1408
1422
  :param int|None since: the earliest time in ms to fetch open orders for
@@ -1414,6 +1428,7 @@ class upbit(Exchange):
1414
1428
 
1415
1429
  async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1416
1430
  """
1431
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1417
1432
  fetches information on multiple closed orders made by the user
1418
1433
  :param str|None symbol: unified market symbol of the market orders were made in
1419
1434
  :param int|None since: the earliest time in ms to fetch orders for
@@ -1425,6 +1440,7 @@ class upbit(Exchange):
1425
1440
 
1426
1441
  async def fetch_canceled_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1427
1442
  """
1443
+ see https://docs.upbit.com/reference/%EC%A3%BC%EB%AC%B8-%EB%A6%AC%EC%8A%A4%ED%8A%B8-%EC%A1%B0%ED%9A%8C
1428
1444
  fetches information on multiple canceled orders made by the user
1429
1445
  :param str|None symbol: unified market symbol of the market orders were made in
1430
1446
  :param int|None since: timestamp in ms of the earliest order, default is None
@@ -1436,6 +1452,7 @@ class upbit(Exchange):
1436
1452
 
1437
1453
  async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
1438
1454
  """
1455
+ see https://docs.upbit.com/reference/%EA%B0%9C%EB%B3%84-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C
1439
1456
  fetches information on an order made by the user
1440
1457
  :param str|None symbol: not used by upbit fetchOrder
1441
1458
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -1493,6 +1510,7 @@ class upbit(Exchange):
1493
1510
 
1494
1511
  async def fetch_deposit_addresses(self, codes=None, params={}):
1495
1512
  """
1513
+ see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1496
1514
  fetch deposit addresses for multiple currencies and chain types
1497
1515
  :param [str]|None codes: list of unified currency codes, default is None
1498
1516
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -1544,6 +1562,7 @@ class upbit(Exchange):
1544
1562
 
1545
1563
  async def fetch_deposit_address(self, code: str, params={}):
1546
1564
  """
1565
+ see https://docs.upbit.com/reference/%EC%A0%84%EC%B2%B4-%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%A1%B0%ED%9A%8C
1547
1566
  fetch the deposit address for a currency associated with self account
1548
1567
  :param str code: unified currency code
1549
1568
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -1565,6 +1584,7 @@ class upbit(Exchange):
1565
1584
 
1566
1585
  async def create_deposit_address(self, code: str, params={}):
1567
1586
  """
1587
+ see https://docs.upbit.com/reference/%EC%9E%85%EA%B8%88-%EC%A3%BC%EC%86%8C-%EC%83%9D%EC%84%B1-%EC%9A%94%EC%B2%AD
1568
1588
  create a currency deposit address
1569
1589
  :param str code: unified currency code of the currency for the deposit address
1570
1590
  :param dict params: extra parameters specific to the upbit api endpoint
@@ -1599,6 +1619,7 @@ class upbit(Exchange):
1599
1619
 
1600
1620
  async def withdraw(self, code: str, amount, address, tag=None, params={}):
1601
1621
  """
1622
+ see https://docs.upbit.com/reference/%EC%9B%90%ED%99%94-%EC%B6%9C%EA%B8%88%ED%95%98%EA%B8%B0
1602
1623
  make a withdrawal
1603
1624
  :param str code: unified currency code
1604
1625
  :param float amount: the amount to withdraw
@@ -301,6 +301,7 @@ class zonda(Exchange):
301
301
 
302
302
  async def fetch_markets(self, params={}):
303
303
  """
304
+ see https://docs.zonda.exchange/reference/ticker-1
304
305
  retrieves data on all markets for zonda
305
306
  :param dict params: extra parameters specific to the exchange api endpoint
306
307
  :returns [dict]: an array of objects representing market data
@@ -398,6 +399,7 @@ class zonda(Exchange):
398
399
 
399
400
  async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
400
401
  """
402
+ see https://docs.zonda.exchange/reference/active-orders
401
403
  fetch all unfilled currently open orders
402
404
  :param str|None symbol: not used by zonda fetchOpenOrders
403
405
  :param int|None since: the earliest time in ms to fetch open orders for
@@ -463,6 +465,7 @@ class zonda(Exchange):
463
465
 
464
466
  async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
465
467
  """
468
+ see https://docs.zonda.exchange/reference/transactions-history
466
469
  fetch all trades made by the user
467
470
  :param str|None symbol: unified market symbol
468
471
  :param int|None since: the earliest time in ms to fetch trades for
@@ -521,6 +524,7 @@ class zonda(Exchange):
521
524
 
522
525
  async def fetch_balance(self, params={}):
523
526
  """
527
+ see https://docs.zonda.exchange/reference/list-of-wallets
524
528
  query for balance and get the amount of funds available for trading or funds locked in orders
525
529
  :param dict params: extra parameters specific to the zonda api endpoint
526
530
  :returns dict: a `balance structure <https://docs.ccxt.com/en/latest/manual.html?#balance-structure>`
@@ -531,6 +535,7 @@ class zonda(Exchange):
531
535
 
532
536
  async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
533
537
  """
538
+ see https://docs.zonda.exchange/reference/orderbook-2
534
539
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
535
540
  :param str symbol: unified symbol of the market to fetch the order book for
536
541
  :param int|None limit: the maximum amount of order book entries to return
@@ -614,6 +619,7 @@ class zonda(Exchange):
614
619
 
615
620
  async def fetch_ticker(self, symbol: str, params={}):
616
621
  """
622
+ see https://docs.zonda.exchange/reference/market-statistics
617
623
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
618
624
  :param str symbol: unified symbol of the market to fetch the ticker for
619
625
  :param dict params: extra parameters specific to the zonda api endpoint
@@ -642,6 +648,7 @@ class zonda(Exchange):
642
648
 
643
649
  async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
644
650
  """
651
+ see https://docs.zonda.exchange/reference/market-statistics
645
652
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
646
653
  :param [str]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
647
654
  :param dict params: extra parameters specific to the zonda api endpoint
@@ -668,6 +675,7 @@ class zonda(Exchange):
668
675
 
669
676
  async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
670
677
  """
678
+ see https://docs.zonda.exchange/reference/operations-history
671
679
  fetch the history of changes, actions done by the user or operations that altered balance of the user
672
680
  :param str|None code: unified currency code, default is None
673
681
  :param int|None since: timestamp in ms of the earliest ledger entry, default is None
@@ -1035,6 +1043,7 @@ class zonda(Exchange):
1035
1043
 
1036
1044
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
1037
1045
  """
1046
+ see https://docs.zonda.exchange/reference/candles-chart
1038
1047
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1039
1048
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1040
1049
  :param str timeframe: the length of time each candle represents
@@ -1152,6 +1161,7 @@ class zonda(Exchange):
1152
1161
 
1153
1162
  async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1154
1163
  """
1164
+ see https://docs.zonda.exchange/reference/last-transactions
1155
1165
  get the list of most recent trades for a particular symbol
1156
1166
  :param str symbol: unified symbol of the market to fetch trades for
1157
1167
  :param int|None since: timestamp in ms of the earliest trade to fetch
@@ -1295,6 +1305,7 @@ class zonda(Exchange):
1295
1305
 
1296
1306
  async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
1297
1307
  """
1308
+ see https://docs.zonda.exchange/reference/cancel-order
1298
1309
  cancels an open order
1299
1310
  :param str id: order id
1300
1311
  :param str symbol: unified symbol of the market the order was made in
@@ -1351,6 +1362,7 @@ class zonda(Exchange):
1351
1362
 
1352
1363
  async def fetch_deposit_address(self, code: str, params={}):
1353
1364
  """
1365
+ see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
1354
1366
  fetch the deposit address for a currency associated with self account
1355
1367
  :param str code: unified currency code
1356
1368
  :param dict params: extra parameters specific to the zonda api endpoint
@@ -1382,6 +1394,7 @@ class zonda(Exchange):
1382
1394
 
1383
1395
  async def fetch_deposit_addresses(self, codes=None, params={}):
1384
1396
  """
1397
+ see https://docs.zonda.exchange/reference/deposit-addresses-for-crypto
1385
1398
  fetch deposit addresses for multiple currencies and chain types
1386
1399
  :param [str]|None codes: zonda does not support filtering filtering by multiple codes and will ignore self parameter.
1387
1400
  :param dict params: extra parameters specific to the zonda api endpoint
@@ -1407,6 +1420,7 @@ class zonda(Exchange):
1407
1420
 
1408
1421
  async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
1409
1422
  """
1423
+ see https://docs.zonda.exchange/reference/internal-transfer
1410
1424
  transfer currency internally between wallets on the same account
1411
1425
  :param str code: unified currency code
1412
1426
  :param float amount: amount to transfer
@@ -1515,6 +1529,7 @@ class zonda(Exchange):
1515
1529
 
1516
1530
  async def withdraw(self, code: str, amount, address, tag=None, params={}):
1517
1531
  """
1532
+ see https://docs.zonda.exchange/reference/crypto-withdrawal-1
1518
1533
  make a withdrawal
1519
1534
  :param str code: unified currency code
1520
1535
  :param float amount: the amount to withdraw