ccxt 4.3.54__py2.py3-none-any.whl → 4.3.55__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.
Files changed (254) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/kucoin.py +3 -0
  3. ccxt/abstract/kucoinfutures.py +3 -0
  4. ccxt/ace.py +1 -1
  5. ccxt/alpaca.py +1 -1
  6. ccxt/ascendex.py +6 -4
  7. ccxt/async_support/__init__.py +1 -1
  8. ccxt/async_support/ace.py +1 -1
  9. ccxt/async_support/alpaca.py +1 -1
  10. ccxt/async_support/ascendex.py +6 -4
  11. ccxt/async_support/base/exchange.py +1 -1
  12. ccxt/async_support/bigone.py +1 -1
  13. ccxt/async_support/binance.py +6 -6
  14. ccxt/async_support/bingx.py +3 -3
  15. ccxt/async_support/bit2c.py +1 -1
  16. ccxt/async_support/bitbank.py +1 -1
  17. ccxt/async_support/bitbns.py +1 -1
  18. ccxt/async_support/bitfinex.py +1 -1
  19. ccxt/async_support/bitfinex2.py +1 -1
  20. ccxt/async_support/bitflyer.py +1 -1
  21. ccxt/async_support/bitget.py +2 -2
  22. ccxt/async_support/bithumb.py +1 -1
  23. ccxt/async_support/bitmart.py +3 -3
  24. ccxt/async_support/bitmex.py +1 -1
  25. ccxt/async_support/bitopro.py +1 -1
  26. ccxt/async_support/bitrue.py +1 -1
  27. ccxt/async_support/bitso.py +1 -1
  28. ccxt/async_support/bitstamp.py +1 -1
  29. ccxt/async_support/bitteam.py +1 -1
  30. ccxt/async_support/bitvavo.py +2 -2
  31. ccxt/async_support/bl3p.py +1 -1
  32. ccxt/async_support/blockchaincom.py +28 -28
  33. ccxt/async_support/blofin.py +1 -1
  34. ccxt/async_support/btcalpha.py +4 -11
  35. ccxt/async_support/btcbox.py +1 -1
  36. ccxt/async_support/btcmarkets.py +1 -1
  37. ccxt/async_support/btcturk.py +1 -1
  38. ccxt/async_support/bybit.py +2 -2
  39. ccxt/async_support/cex.py +2 -2
  40. ccxt/async_support/coinbase.py +33 -33
  41. ccxt/async_support/coinbaseexchange.py +1 -1
  42. ccxt/async_support/coinbaseinternational.py +1 -1
  43. ccxt/async_support/coincheck.py +1 -1
  44. ccxt/async_support/coinex.py +2 -2
  45. ccxt/async_support/coinlist.py +2 -2
  46. ccxt/async_support/coinmate.py +1 -1
  47. ccxt/async_support/coinmetro.py +1 -1
  48. ccxt/async_support/coinone.py +1 -1
  49. ccxt/async_support/coinsph.py +1 -1
  50. ccxt/async_support/coinspot.py +1 -1
  51. ccxt/async_support/cryptocom.py +1 -1
  52. ccxt/async_support/currencycom.py +1 -1
  53. ccxt/async_support/delta.py +2 -2
  54. ccxt/async_support/deribit.py +4 -4
  55. ccxt/async_support/digifinex.py +2 -2
  56. ccxt/async_support/exmo.py +2 -2
  57. ccxt/async_support/gate.py +2 -2
  58. ccxt/async_support/gemini.py +1 -1
  59. ccxt/async_support/hitbtc.py +1 -1
  60. ccxt/async_support/hollaex.py +1 -1
  61. ccxt/async_support/htx.py +3 -3
  62. ccxt/async_support/huobijp.py +1 -1
  63. ccxt/async_support/hyperliquid.py +2 -2
  64. ccxt/async_support/idex.py +1 -1
  65. ccxt/async_support/independentreserve.py +1 -1
  66. ccxt/async_support/indodax.py +1 -1
  67. ccxt/async_support/kraken.py +2 -2
  68. ccxt/async_support/kucoin.py +127 -46
  69. ccxt/async_support/kucoinfutures.py +1 -1
  70. ccxt/async_support/kuna.py +1 -1
  71. ccxt/async_support/latoken.py +1 -1
  72. ccxt/async_support/lbank.py +1 -1
  73. ccxt/async_support/luno.py +1 -1
  74. ccxt/async_support/lykke.py +1 -1
  75. ccxt/async_support/mercado.py +1 -1
  76. ccxt/async_support/mexc.py +1 -1
  77. ccxt/async_support/ndax.py +1 -1
  78. ccxt/async_support/novadax.py +1 -1
  79. ccxt/async_support/oceanex.py +1 -1
  80. ccxt/async_support/okcoin.py +1 -1
  81. ccxt/async_support/okx.py +3 -3
  82. ccxt/async_support/onetrading.py +1 -1
  83. ccxt/async_support/oxfun.py +2 -2
  84. ccxt/async_support/p2b.py +1 -1
  85. ccxt/async_support/paymium.py +1 -1
  86. ccxt/async_support/phemex.py +2 -2
  87. ccxt/async_support/poloniex.py +4 -3
  88. ccxt/async_support/poloniexfutures.py +1 -1
  89. ccxt/async_support/probit.py +1 -1
  90. ccxt/async_support/timex.py +1 -1
  91. ccxt/async_support/tokocrypto.py +1 -1
  92. ccxt/async_support/tradeogre.py +1 -1
  93. ccxt/async_support/upbit.py +1 -1
  94. ccxt/async_support/vertex.py +2 -2
  95. ccxt/async_support/wavesexchange.py +1 -1
  96. ccxt/async_support/wazirx.py +1 -1
  97. ccxt/async_support/whitebit.py +2 -2
  98. ccxt/async_support/woo.py +5 -5
  99. ccxt/async_support/woofipro.py +3 -3
  100. ccxt/async_support/yobit.py +1 -1
  101. ccxt/async_support/zaif.py +1 -1
  102. ccxt/async_support/zonda.py +1 -1
  103. ccxt/base/exchange.py +1 -1
  104. ccxt/base/types.py +4 -1
  105. ccxt/bigone.py +1 -1
  106. ccxt/binance.py +6 -6
  107. ccxt/bingx.py +3 -3
  108. ccxt/bit2c.py +1 -1
  109. ccxt/bitbank.py +1 -1
  110. ccxt/bitbns.py +1 -1
  111. ccxt/bitfinex.py +1 -1
  112. ccxt/bitfinex2.py +1 -1
  113. ccxt/bitflyer.py +1 -1
  114. ccxt/bitget.py +2 -2
  115. ccxt/bithumb.py +1 -1
  116. ccxt/bitmart.py +3 -3
  117. ccxt/bitmex.py +1 -1
  118. ccxt/bitopro.py +1 -1
  119. ccxt/bitrue.py +1 -1
  120. ccxt/bitso.py +1 -1
  121. ccxt/bitstamp.py +1 -1
  122. ccxt/bitteam.py +1 -1
  123. ccxt/bitvavo.py +2 -2
  124. ccxt/bl3p.py +1 -1
  125. ccxt/blockchaincom.py +28 -28
  126. ccxt/blofin.py +1 -1
  127. ccxt/btcalpha.py +4 -11
  128. ccxt/btcbox.py +1 -1
  129. ccxt/btcmarkets.py +1 -1
  130. ccxt/btcturk.py +1 -1
  131. ccxt/bybit.py +2 -2
  132. ccxt/cex.py +2 -2
  133. ccxt/coinbase.py +33 -33
  134. ccxt/coinbaseexchange.py +1 -1
  135. ccxt/coinbaseinternational.py +1 -1
  136. ccxt/coincheck.py +1 -1
  137. ccxt/coinex.py +2 -2
  138. ccxt/coinlist.py +2 -2
  139. ccxt/coinmate.py +1 -1
  140. ccxt/coinmetro.py +1 -1
  141. ccxt/coinone.py +1 -1
  142. ccxt/coinsph.py +1 -1
  143. ccxt/coinspot.py +1 -1
  144. ccxt/cryptocom.py +1 -1
  145. ccxt/currencycom.py +1 -1
  146. ccxt/delta.py +2 -2
  147. ccxt/deribit.py +4 -4
  148. ccxt/digifinex.py +2 -2
  149. ccxt/exmo.py +2 -2
  150. ccxt/gate.py +2 -2
  151. ccxt/gemini.py +1 -1
  152. ccxt/hitbtc.py +1 -1
  153. ccxt/hollaex.py +1 -1
  154. ccxt/htx.py +3 -3
  155. ccxt/huobijp.py +1 -1
  156. ccxt/hyperliquid.py +2 -2
  157. ccxt/idex.py +1 -1
  158. ccxt/independentreserve.py +1 -1
  159. ccxt/indodax.py +1 -1
  160. ccxt/kraken.py +2 -2
  161. ccxt/kucoin.py +127 -46
  162. ccxt/kucoinfutures.py +1 -1
  163. ccxt/kuna.py +1 -1
  164. ccxt/latoken.py +1 -1
  165. ccxt/lbank.py +1 -1
  166. ccxt/luno.py +1 -1
  167. ccxt/lykke.py +1 -1
  168. ccxt/mercado.py +1 -1
  169. ccxt/mexc.py +1 -1
  170. ccxt/ndax.py +1 -1
  171. ccxt/novadax.py +1 -1
  172. ccxt/oceanex.py +1 -1
  173. ccxt/okcoin.py +1 -1
  174. ccxt/okx.py +3 -3
  175. ccxt/onetrading.py +1 -1
  176. ccxt/oxfun.py +2 -2
  177. ccxt/p2b.py +1 -1
  178. ccxt/paymium.py +1 -1
  179. ccxt/phemex.py +2 -2
  180. ccxt/poloniex.py +4 -3
  181. ccxt/poloniexfutures.py +1 -1
  182. ccxt/pro/__init__.py +1 -1
  183. ccxt/pro/binance.py +2 -2
  184. ccxt/pro/bitvavo.py +2 -2
  185. ccxt/pro/bybit.py +2 -2
  186. ccxt/pro/cex.py +3 -3
  187. ccxt/pro/coinbase.py +22 -1
  188. ccxt/pro/cryptocom.py +1 -1
  189. ccxt/pro/gate.py +2 -2
  190. ccxt/pro/hitbtc.py +1 -1
  191. ccxt/pro/kraken.py +2 -2
  192. ccxt/pro/kucoin.py +2 -2
  193. ccxt/pro/okx.py +2 -2
  194. ccxt/pro/oxfun.py +2 -2
  195. ccxt/pro/poloniex.py +1 -1
  196. ccxt/pro/vertex.py +1 -1
  197. ccxt/probit.py +1 -1
  198. ccxt/test/{test_async.py → tests_async.py} +27 -280
  199. ccxt/test/tests_helpers.py +284 -0
  200. ccxt/test/tests_init.py +35 -0
  201. ccxt/test/{test_sync.py → tests_sync.py} +27 -282
  202. ccxt/timex.py +1 -1
  203. ccxt/tokocrypto.py +1 -1
  204. ccxt/tradeogre.py +1 -1
  205. ccxt/upbit.py +1 -1
  206. ccxt/vertex.py +2 -2
  207. ccxt/wavesexchange.py +1 -1
  208. ccxt/wazirx.py +1 -1
  209. ccxt/whitebit.py +2 -2
  210. ccxt/woo.py +5 -5
  211. ccxt/woofipro.py +3 -3
  212. ccxt/yobit.py +1 -1
  213. ccxt/zaif.py +1 -1
  214. ccxt/zonda.py +1 -1
  215. {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/METADATA +5 -5
  216. {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/RECORD +219 -252
  217. ccxt/test/base/__init__.py +0 -29
  218. ccxt/test/base/test_account.py +0 -26
  219. ccxt/test/base/test_balance.py +0 -56
  220. ccxt/test/base/test_borrow_interest.py +0 -35
  221. ccxt/test/base/test_borrow_rate.py +0 -32
  222. ccxt/test/base/test_calculate_fee.py +0 -51
  223. ccxt/test/base/test_crypto.py +0 -127
  224. ccxt/test/base/test_currency.py +0 -76
  225. ccxt/test/base/test_datetime.py +0 -109
  226. ccxt/test/base/test_decimal_to_precision.py +0 -392
  227. ccxt/test/base/test_deep_extend.py +0 -68
  228. ccxt/test/base/test_deposit_withdrawal.py +0 -50
  229. ccxt/test/base/test_exchange_datetime_functions.py +0 -76
  230. ccxt/test/base/test_funding_rate_history.py +0 -29
  231. ccxt/test/base/test_last_price.py +0 -31
  232. ccxt/test/base/test_ledger_entry.py +0 -45
  233. ccxt/test/base/test_ledger_item.py +0 -48
  234. ccxt/test/base/test_leverage_tier.py +0 -33
  235. ccxt/test/base/test_liquidation.py +0 -50
  236. ccxt/test/base/test_margin_mode.py +0 -24
  237. ccxt/test/base/test_margin_modification.py +0 -35
  238. ccxt/test/base/test_market.py +0 -193
  239. ccxt/test/base/test_number.py +0 -411
  240. ccxt/test/base/test_ohlcv.py +0 -33
  241. ccxt/test/base/test_open_interest.py +0 -32
  242. ccxt/test/base/test_order.py +0 -64
  243. ccxt/test/base/test_order_book.py +0 -69
  244. ccxt/test/base/test_position.py +0 -60
  245. ccxt/test/base/test_shared_methods.py +0 -353
  246. ccxt/test/base/test_status.py +0 -24
  247. ccxt/test/base/test_throttle.py +0 -126
  248. ccxt/test/base/test_ticker.py +0 -92
  249. ccxt/test/base/test_trade.py +0 -47
  250. ccxt/test/base/test_trading_fee.py +0 -26
  251. ccxt/test/base/test_transaction.py +0 -39
  252. {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/LICENSE.txt +0 -0
  253. {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/WHEEL +0 -0
  254. {ccxt-4.3.54.dist-info → ccxt-4.3.55.dist-info}/top_level.txt +0 -0
ccxt/blockchaincom.py CHANGED
@@ -140,9 +140,9 @@ class blockchaincom(Exchange, ImplicitAPI):
140
140
  'percentage': True,
141
141
  'tiers': {
142
142
  'taker': [
143
- [self.parse_number('0'), self.parse_number('0.004')],
144
- [self.parse_number('10000'), self.parse_number('0.0022')],
145
- [self.parse_number('50000'), self.parse_number('0.002')],
143
+ [self.parse_number('0'), self.parse_number('0.0045')],
144
+ [self.parse_number('10000'), self.parse_number('0.0035')],
145
+ [self.parse_number('50000'), self.parse_number('0.0018')],
146
146
  [self.parse_number('100000'), self.parse_number('0.0018')],
147
147
  [self.parse_number('500000'), self.parse_number('0.0018')],
148
148
  [self.parse_number('1000000'), self.parse_number('0.0018')],
@@ -154,11 +154,11 @@ class blockchaincom(Exchange, ImplicitAPI):
154
154
  [self.parse_number('1000000000'), self.parse_number('0.0006')],
155
155
  ],
156
156
  'maker': [
157
- [self.parse_number('0'), self.parse_number('0.002')],
158
- [self.parse_number('10000'), self.parse_number('0.0012')],
159
- [self.parse_number('50000'), self.parse_number('0.001')],
157
+ [self.parse_number('0'), self.parse_number('0.004')],
158
+ [self.parse_number('10000'), self.parse_number('0.0017')],
159
+ [self.parse_number('50000'), self.parse_number('0.0015')],
160
160
  [self.parse_number('100000'), self.parse_number('0.0008')],
161
- [self.parse_number('500000'), self.parse_number('0.0007000000000000001')],
161
+ [self.parse_number('500000'), self.parse_number('0.0007')],
162
162
  [self.parse_number('1000000'), self.parse_number('0.0006')],
163
163
  [self.parse_number('2500000'), self.parse_number('0.0005')],
164
164
  [self.parse_number('5000000'), self.parse_number('0.0004')],
@@ -230,7 +230,7 @@ class blockchaincom(Exchange, ImplicitAPI):
230
230
  def fetch_markets(self, params={}) -> List[Market]:
231
231
  """
232
232
  retrieves data on all markets for blockchaincom
233
- :see: https://api.blockchain.com/v3/#/unauthenticated/getSymbols
233
+ :see: https://api.blockchain.com/v3/#getsymbols
234
234
  :param dict [params]: extra parameters specific to the exchange API endpoint
235
235
  :returns dict[]: an array of objects representing market data
236
236
  """
@@ -354,7 +354,7 @@ class blockchaincom(Exchange, ImplicitAPI):
354
354
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
355
355
  """
356
356
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
357
- :see: https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
357
+ :see: https://api.blockchain.com/v3/#getl3orderbook
358
358
  :param str symbol: unified symbol of the market to fetch the order book for
359
359
  :param int [limit]: the maximum amount of order book entries to return
360
360
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -365,7 +365,7 @@ class blockchaincom(Exchange, ImplicitAPI):
365
365
  def fetch_l3_order_book(self, symbol: str, limit: Int = None, params={}):
366
366
  """
367
367
  fetches level 3 information on open orders with bid(buy) and ask(sell) prices, volumes and other data
368
- :see: https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
368
+ :see: https://api.blockchain.com/v3/#getl3orderbook
369
369
  :param str symbol: unified market symbol
370
370
  :param int [limit]: max number of orders to return, default is None
371
371
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -432,7 +432,7 @@ class blockchaincom(Exchange, ImplicitAPI):
432
432
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
433
433
  """
434
434
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
435
- :see: https://api.blockchain.com/v3/#/unauthenticated/getTickerBySymbol
435
+ :see: https://api.blockchain.com/v3/#gettickerbysymbol
436
436
  :param str symbol: unified symbol of the market to fetch the ticker for
437
437
  :param dict [params]: extra parameters specific to the exchange API endpoint
438
438
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -448,7 +448,7 @@ class blockchaincom(Exchange, ImplicitAPI):
448
448
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
449
449
  """
450
450
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
451
- :see: https://api.blockchain.com/v3/#/unauthenticated/getTickers
451
+ :see: https://api.blockchain.com/v3/#gettickers
452
452
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
453
453
  :param dict [params]: extra parameters specific to the exchange API endpoint
454
454
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -527,12 +527,12 @@ class blockchaincom(Exchange, ImplicitAPI):
527
527
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
528
528
  """
529
529
  create a trade order
530
- :see: https://api.blockchain.com/v3/#/trading/createOrder
530
+ :see: https://api.blockchain.com/v3/#createorder
531
531
  :param str symbol: unified symbol of the market to create an order in
532
532
  :param str type: 'market' or 'limit'
533
533
  :param str side: 'buy' or 'sell'
534
534
  :param float amount: how much of currency you want to trade in units of base currency
535
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
535
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
536
536
  :param dict [params]: extra parameters specific to the exchange API endpoint
537
537
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
538
538
  """
@@ -579,7 +579,7 @@ class blockchaincom(Exchange, ImplicitAPI):
579
579
  def cancel_order(self, id: str, symbol: Str = None, params={}):
580
580
  """
581
581
  cancels an open order
582
- :see: https://api.blockchain.com/v3/#/trading/deleteOrder
582
+ :see: https://api.blockchain.com/v3/#deleteorder
583
583
  :param str id: order id
584
584
  :param str symbol: unified symbol of the market the order was made in
585
585
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -624,7 +624,7 @@ class blockchaincom(Exchange, ImplicitAPI):
624
624
  def fetch_trading_fees(self, params={}) -> TradingFees:
625
625
  """
626
626
  fetch the trading fees for multiple markets
627
- :see: https://api.blockchain.com/v3/#/trading/getFees
627
+ :see: https://api.blockchain.com/v3/#getfees
628
628
  :param dict [params]: extra parameters specific to the exchange API endpoint
629
629
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
630
630
  """
@@ -653,7 +653,7 @@ class blockchaincom(Exchange, ImplicitAPI):
653
653
  def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
654
654
  """
655
655
  fetches information on multiple canceled orders made by the user
656
- :see: https://api.blockchain.com/v3/#/trading/getOrders
656
+ :see: https://api.blockchain.com/v3/#getorders
657
657
  :param str symbol: unified market symbol of the market orders were made in
658
658
  :param int [since]: timestamp in ms of the earliest order, default is None
659
659
  :param int [limit]: max number of orders to return, default is None
@@ -666,7 +666,7 @@ class blockchaincom(Exchange, ImplicitAPI):
666
666
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
667
667
  """
668
668
  fetches information on multiple closed orders made by the user
669
- :see: https://api.blockchain.com/v3/#/trading/getOrders
669
+ :see: https://api.blockchain.com/v3/#getorders
670
670
  :param str symbol: unified market symbol of the market orders were made in
671
671
  :param int [since]: the earliest time in ms to fetch orders for
672
672
  :param int [limit]: the maximum number of order structures to retrieve
@@ -679,7 +679,7 @@ class blockchaincom(Exchange, ImplicitAPI):
679
679
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
680
680
  """
681
681
  fetch all unfilled currently open orders
682
- :see: https://api.blockchain.com/v3/#/trading/getOrders
682
+ :see: https://api.blockchain.com/v3/#getorders
683
683
  :param str symbol: unified market symbol
684
684
  :param int [since]: the earliest time in ms to fetch open orders for
685
685
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -752,7 +752,7 @@ class blockchaincom(Exchange, ImplicitAPI):
752
752
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
753
753
  """
754
754
  fetch all trades made by the user
755
- :see: https://api.blockchain.com/v3/#/trading/getFills
755
+ :see: https://api.blockchain.com/v3/#getfills
756
756
  :param str symbol: unified market symbol
757
757
  :param int [since]: the earliest time in ms to fetch trades for
758
758
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -773,7 +773,7 @@ class blockchaincom(Exchange, ImplicitAPI):
773
773
  def fetch_deposit_address(self, code: str, params={}):
774
774
  """
775
775
  fetch the deposit address for a currency associated with self account
776
- :see: https://api.blockchain.com/v3/#/payments/getDepositAddress
776
+ :see: https://api.blockchain.com/v3/#getdepositaddress
777
777
  :param str code: unified currency code
778
778
  :param dict [params]: extra parameters specific to the exchange API endpoint
779
779
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -880,7 +880,7 @@ class blockchaincom(Exchange, ImplicitAPI):
880
880
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}):
881
881
  """
882
882
  make a withdrawal
883
- :see: https://api.blockchain.com/v3/#/payments/createWithdrawal
883
+ :see: https://api.blockchain.com/v3/#createwithdrawal
884
884
  :param str code: unified currency code
885
885
  :param float amount: the amount to withdraw
886
886
  :param str address: the address to withdraw to
@@ -913,7 +913,7 @@ class blockchaincom(Exchange, ImplicitAPI):
913
913
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
914
914
  """
915
915
  fetch all withdrawals made from an account
916
- :see: https://api.blockchain.com/v3/#/payments/getWithdrawals
916
+ :see: https://api.blockchain.com/v3/#getwithdrawals
917
917
  :param str code: unified currency code
918
918
  :param int [since]: the earliest time in ms to fetch withdrawals for
919
919
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -936,7 +936,7 @@ class blockchaincom(Exchange, ImplicitAPI):
936
936
  def fetch_withdrawal(self, id: str, code: Str = None, params={}):
937
937
  """
938
938
  fetch data on a currency withdrawal via the withdrawal id
939
- :see: https://api.blockchain.com/v3/#/payments/getWithdrawalById
939
+ :see: https://api.blockchain.com/v3/#getwithdrawalbyid
940
940
  :param str id: withdrawal id
941
941
  :param str code: not used by blockchaincom.fetchWithdrawal
942
942
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -952,7 +952,7 @@ class blockchaincom(Exchange, ImplicitAPI):
952
952
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
953
953
  """
954
954
  fetch all deposits made to an account
955
- :see: https://api.blockchain.com/v3/#/payments/getDeposits
955
+ :see: https://api.blockchain.com/v3/#getdeposits
956
956
  :param str code: unified currency code
957
957
  :param int [since]: the earliest time in ms to fetch deposits for
958
958
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -975,7 +975,7 @@ class blockchaincom(Exchange, ImplicitAPI):
975
975
  def fetch_deposit(self, id: str, code: Str = None, params={}):
976
976
  """
977
977
  fetch information on a deposit
978
- :see: https://api.blockchain.com/v3/#/payments/getDepositById
978
+ :see: https://api.blockchain.com/v3/#getdepositbyid
979
979
  :param str id: deposit id
980
980
  :param str code: not used by blockchaincom fetchDeposit()
981
981
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -992,7 +992,7 @@ class blockchaincom(Exchange, ImplicitAPI):
992
992
  def fetch_balance(self, params={}) -> Balances:
993
993
  """
994
994
  query for balance and get the amount of funds available for trading or funds locked in orders
995
- :see: https://api.blockchain.com/v3/#/payments/getAccounts
995
+ :see: https://api.blockchain.com/v3/#getaccounts
996
996
  :param dict [params]: extra parameters specific to the exchange API endpoint
997
997
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
998
998
  """
@@ -1035,7 +1035,7 @@ class blockchaincom(Exchange, ImplicitAPI):
1035
1035
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1036
1036
  """
1037
1037
  fetches information on an order made by the user
1038
- :see: https://api.blockchain.com/v3/#/trading/getOrderById
1038
+ :see: https://api.blockchain.com/v3/#getorderbyid
1039
1039
  :param str symbol: not used by blockchaincom fetchOrder
1040
1040
  :param dict [params]: extra parameters specific to the exchange API endpoint
1041
1041
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
ccxt/blofin.py CHANGED
@@ -1118,7 +1118,7 @@ class blofin(Exchange, ImplicitAPI):
1118
1118
  :param str type: 'market' or 'limit' or 'post_only' or 'ioc' or 'fok'
1119
1119
  :param str side: 'buy' or 'sell'
1120
1120
  :param float amount: how much of currency you want to trade in units of base currency
1121
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1121
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1122
1122
  :param dict [params]: extra parameters specific to the exchange API endpoint
1123
1123
  :param bool [params.reduceOnly]: a mark to reduce the position size for margin, swap and future orders
1124
1124
  :param bool [params.postOnly]: True to place a post only order
ccxt/btcalpha.py CHANGED
@@ -9,10 +9,8 @@ import hashlib
9
9
  from ccxt.base.types import Balances, Currency, IndexType, Int, Market, Num, Order, OrderBook, OrderSide, OrderType, Str, Strings, Ticker, Tickers, Trade, Transaction
10
10
  from typing import List
11
11
  from ccxt.base.errors import ExchangeError
12
- from ccxt.base.errors import AuthenticationError
13
12
  from ccxt.base.errors import InsufficientFunds
14
13
  from ccxt.base.errors import InvalidOrder
15
- from ccxt.base.errors import DDoSProtection
16
14
  from ccxt.base.decimal_to_precision import TICK_SIZE
17
15
  from ccxt.base.precise import Precise
18
16
 
@@ -715,7 +713,7 @@ class btcalpha(Exchange, ImplicitAPI):
715
713
  :param str type: 'limit'
716
714
  :param str side: 'buy' or 'sell'
717
715
  :param float amount: how much of currency you want to trade in units of base currency
718
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
716
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
719
717
  :param dict [params]: extra parameters specific to the exchange API endpoint
720
718
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
721
719
  """
@@ -878,14 +876,9 @@ class btcalpha(Exchange, ImplicitAPI):
878
876
  # {"date":1570599531.4814300537,"error":"Out of balance -9.99243661 BTC"}
879
877
  #
880
878
  error = self.safe_string(response, 'error')
881
- feedback = self.id + ' ' + body
882
879
  if error is not None:
880
+ feedback = self.id + ' ' + body
883
881
  self.throw_exactly_matched_exception(self.exceptions['exact'], error, feedback)
884
882
  self.throw_broadly_matched_exception(self.exceptions['broad'], error, feedback)
885
- if code == 401 or code == 403:
886
- raise AuthenticationError(feedback)
887
- elif code == 429:
888
- raise DDoSProtection(feedback)
889
- if code < 400:
890
- return None
891
- raise ExchangeError(feedback)
883
+ raise ExchangeError(feedback) # unknown error
884
+ return None
ccxt/btcbox.py CHANGED
@@ -297,7 +297,7 @@ class btcbox(Exchange, ImplicitAPI):
297
297
  :param str type: 'market' or 'limit'
298
298
  :param str side: 'buy' or 'sell'
299
299
  :param float amount: how much of currency you want to trade in units of base currency
300
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
300
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
301
301
  :param dict [params]: extra parameters specific to the exchange API endpoint
302
302
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
303
303
  """
ccxt/btcmarkets.py CHANGED
@@ -760,7 +760,7 @@ class btcmarkets(Exchange, ImplicitAPI):
760
760
  :param str type: 'market' or 'limit'
761
761
  :param str side: 'buy' or 'sell'
762
762
  :param float amount: how much of currency you want to trade in units of base currency
763
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
763
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
764
764
  :param dict [params]: extra parameters specific to the exchange API endpoint
765
765
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
766
766
  """
ccxt/btcturk.py CHANGED
@@ -650,7 +650,7 @@ class btcturk(Exchange, ImplicitAPI):
650
650
  :param str type: 'market' or 'limit'
651
651
  :param str side: 'buy' or 'sell'
652
652
  :param float amount: how much of currency you want to trade in units of base currency
653
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
653
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
654
654
  :param dict [params]: extra parameters specific to the exchange API endpoint
655
655
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
656
656
  """
ccxt/bybit.py CHANGED
@@ -3335,7 +3335,7 @@ class bybit(Exchange, ImplicitAPI):
3335
3335
  :param str type: 'market' or 'limit'
3336
3336
  :param str side: 'buy' or 'sell'
3337
3337
  :param float amount: how much of currency you want to trade in units of base currency
3338
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
3338
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3339
3339
  :param dict [params]: extra parameters specific to the exchange API endpoint
3340
3340
  :param str [params.timeInForce]: "GTC", "IOC", "FOK"
3341
3341
  :param bool [params.postOnly]: True or False whether the order is post-only
@@ -3892,7 +3892,7 @@ class bybit(Exchange, ImplicitAPI):
3892
3892
  :param str type: 'market' or 'limit'
3893
3893
  :param str side: 'buy' or 'sell'
3894
3894
  :param float amount: how much of currency you want to trade in units of base currency
3895
- :param float price: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3895
+ :param float price: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3896
3896
  :param dict [params]: extra parameters specific to the exchange API endpoint
3897
3897
  :param float [params.triggerPrice]: The price that a trigger order is triggered at
3898
3898
  :param float [params.stopLossPrice]: The price that a stop loss order is triggered at
ccxt/cex.py CHANGED
@@ -735,7 +735,7 @@ class cex(Exchange, ImplicitAPI):
735
735
  :param str type: 'market' or 'limit'
736
736
  :param str side: 'buy' or 'sell'
737
737
  :param float amount: how much of currency you want to trade in units of base currency
738
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
738
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
739
739
  :param dict [params]: extra parameters specific to the exchange API endpoint
740
740
  :param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
741
741
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1489,7 +1489,7 @@ class cex(Exchange, ImplicitAPI):
1489
1489
  :param str type: 'market' or 'limit'
1490
1490
  :param str side: 'buy' or 'sell'
1491
1491
  :param float amount: how much of the currency you want to trade in units of the base currency
1492
- :param float|None [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1492
+ :param float|None [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1493
1493
  :param dict [params]: extra parameters specific to the cex api endpoint
1494
1494
  :returns dict: an `order structure <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
1495
1495
  """
ccxt/coinbase.py CHANGED
@@ -32,7 +32,7 @@ class coinbase(Exchange, ImplicitAPI):
32
32
  'pro': True,
33
33
  'certified': True,
34
34
  # rate-limits:
35
- # ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-rate-limits
35
+ # ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade/docs/rest-api-rate-limits
36
36
  # - max 30 req/second for private data, 10 req/s for public data
37
37
  # DATA API : https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/rate-limiting
38
38
  # - max 10000 req/hour(to prevent userland mistakes we apply ~3 req/second RL per call
@@ -138,7 +138,7 @@ class coinbase(Exchange, ImplicitAPI):
138
138
  'www': 'https://www.coinbase.com',
139
139
  'doc': [
140
140
  'https://developers.coinbase.com/api/v2',
141
- 'https://docs.cloud.coinbase.com/advanced-trade-api/docs/welcome',
141
+ 'https://docs.cloud.coinbase.com/advanced-trade/docs/welcome',
142
142
  ],
143
143
  'fees': [
144
144
  'https://support.coinbase.com/customer/portal/articles/2109597-buy-sell-bank-transfer-fees',
@@ -420,7 +420,7 @@ class coinbase(Exchange, ImplicitAPI):
420
420
  def fetch_accounts(self, params={}) -> List[Account]:
421
421
  """
422
422
  fetch all the accounts associated with a profile
423
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
423
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
424
424
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
425
425
  :param dict [params]: extra parameters specific to the exchange API endpoint
426
426
  :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -550,7 +550,7 @@ class coinbase(Exchange, ImplicitAPI):
550
550
  def fetch_portfolios(self, params={}) -> List[Account]:
551
551
  """
552
552
  fetch all the portfolios
553
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getportfolios
553
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
554
554
  :param dict [params]: extra parameters specific to the exchange API endpoint
555
555
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
556
556
  """
@@ -1069,7 +1069,7 @@ class coinbase(Exchange, ImplicitAPI):
1069
1069
 
1070
1070
  def fetch_markets(self, params={}) -> List[Market]:
1071
1071
  """
1072
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproducts
1072
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1073
1073
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1074
1074
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1075
1075
  retrieves data on all markets for coinbase
@@ -1709,7 +1709,7 @@ class coinbase(Exchange, ImplicitAPI):
1709
1709
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1710
1710
  """
1711
1711
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1712
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getproducts
1712
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1713
1713
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1714
1714
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1715
1715
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1821,7 +1821,7 @@ class coinbase(Exchange, ImplicitAPI):
1821
1821
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1822
1822
  """
1823
1823
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1824
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getmarkettrades
1824
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1825
1825
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1826
1826
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1827
1827
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
@@ -2068,9 +2068,9 @@ class coinbase(Exchange, ImplicitAPI):
2068
2068
  def fetch_balance(self, params={}) -> Balances:
2069
2069
  """
2070
2070
  query for balance and get the amount of funds available for trading or funds locked in orders
2071
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
2071
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2072
2072
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2073
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmbalancesummary
2073
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2074
2074
  :param dict [params]: extra parameters specific to the exchange API endpoint
2075
2075
  :param boolean [params.v3]: default False, set True to use v3 api endpoint
2076
2076
  :param dict [params.type]: "spot"(default) or "swap" or "future"
@@ -2567,7 +2567,7 @@ class coinbase(Exchange, ImplicitAPI):
2567
2567
  def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
2568
2568
  """
2569
2569
  create a market buy order by providing the symbol and cost
2570
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2570
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2571
2571
  :param str symbol: unified symbol of the market to create an order in
2572
2572
  :param float cost: how much you want to trade in units of the quote currency
2573
2573
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2583,7 +2583,7 @@ class coinbase(Exchange, ImplicitAPI):
2583
2583
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2584
2584
  """
2585
2585
  create a trade order
2586
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2586
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2587
2587
  :param str symbol: unified symbol of the market to create an order in
2588
2588
  :param str type: 'market' or 'limit'
2589
2589
  :param str side: 'buy' or 'sell'
@@ -2965,7 +2965,7 @@ class coinbase(Exchange, ImplicitAPI):
2965
2965
  def cancel_order(self, id: str, symbol: Str = None, params={}):
2966
2966
  """
2967
2967
  cancels an open order
2968
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
2968
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
2969
2969
  :param str id: order id
2970
2970
  :param str symbol: not used by coinbase cancelOrder()
2971
2971
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2978,7 +2978,7 @@ class coinbase(Exchange, ImplicitAPI):
2978
2978
  def cancel_orders(self, ids, symbol: Str = None, params={}):
2979
2979
  """
2980
2980
  cancel multiple orders
2981
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
2981
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
2982
2982
  :param str[] ids: order ids
2983
2983
  :param str symbol: not used by coinbase cancelOrders()
2984
2984
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3013,13 +3013,13 @@ class coinbase(Exchange, ImplicitAPI):
3013
3013
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
3014
3014
  """
3015
3015
  edit a trade order
3016
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_editorder
3016
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3017
3017
  :param str id: cancel order id
3018
3018
  :param str symbol: unified symbol of the market to create an order in
3019
3019
  :param str type: 'market' or 'limit'
3020
3020
  :param str side: 'buy' or 'sell'
3021
3021
  :param float amount: how much of currency you want to trade in units of base currency
3022
- :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3022
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3023
3023
  :param dict [params]: extra parameters specific to the exchange API endpoint
3024
3024
  :param boolean [params.preview]: default to False, wether to use the test/preview endpoint or not
3025
3025
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -3054,7 +3054,7 @@ class coinbase(Exchange, ImplicitAPI):
3054
3054
  def fetch_order(self, id: str, symbol: Str = None, params={}):
3055
3055
  """
3056
3056
  fetches information on an order made by the user
3057
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorder
3057
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3058
3058
  :param str id: the order id
3059
3059
  :param str symbol: unified market symbol that the order was made in
3060
3060
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3113,7 +3113,7 @@ class coinbase(Exchange, ImplicitAPI):
3113
3113
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = 100, params={}) -> List[Order]:
3114
3114
  """
3115
3115
  fetches information on multiple orders made by the user
3116
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3116
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3117
3117
  :param str symbol: unified market symbol that the orders were made in
3118
3118
  :param int [since]: the earliest time in ms to fetch orders
3119
3119
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3265,7 +3265,7 @@ class coinbase(Exchange, ImplicitAPI):
3265
3265
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3266
3266
  """
3267
3267
  fetches information on all currently open orders
3268
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3268
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3269
3269
  :param str symbol: unified market symbol of the orders
3270
3270
  :param int [since]: timestamp in ms of the earliest order, default is None
3271
3271
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -3284,7 +3284,7 @@ class coinbase(Exchange, ImplicitAPI):
3284
3284
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3285
3285
  """
3286
3286
  fetches information on multiple closed orders made by the user
3287
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3287
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3288
3288
  :param str symbol: unified market symbol of the orders
3289
3289
  :param int [since]: timestamp in ms of the earliest order, default is None
3290
3290
  :param int [limit]: the maximum number of closed order structures to retrieve
@@ -3303,7 +3303,7 @@ class coinbase(Exchange, ImplicitAPI):
3303
3303
  def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3304
3304
  """
3305
3305
  fetches information on multiple canceled orders made by the user
3306
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3306
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3307
3307
  :param str symbol: unified market symbol of the orders
3308
3308
  :param int [since]: timestamp in ms of the earliest order, default is None
3309
3309
  :param int [limit]: the maximum number of canceled order structures to retrieve
@@ -3315,7 +3315,7 @@ class coinbase(Exchange, ImplicitAPI):
3315
3315
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
3316
3316
  """
3317
3317
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3318
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpubliccandles
3318
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3319
3319
  :param str symbol: unified symbol of the market to fetch OHLCV data for
3320
3320
  :param str timeframe: the length of time each candle represents
3321
3321
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -3403,7 +3403,7 @@ class coinbase(Exchange, ImplicitAPI):
3403
3403
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3404
3404
  """
3405
3405
  get the list of most recent trades for a particular symbol
3406
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicmarkettrades
3406
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3407
3407
  :param str symbol: unified market symbol of the trades
3408
3408
  :param int [since]: not used by coinbase fetchTrades
3409
3409
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3455,7 +3455,7 @@ class coinbase(Exchange, ImplicitAPI):
3455
3455
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3456
3456
  """
3457
3457
  fetch all trades made by the user
3458
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfills
3458
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3459
3459
  :param str symbol: unified market symbol of the trades
3460
3460
  :param int [since]: timestamp in ms of the earliest order, default is None
3461
3461
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3518,7 +3518,7 @@ class coinbase(Exchange, ImplicitAPI):
3518
3518
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
3519
3519
  """
3520
3520
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
3521
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproductbook
3521
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3522
3522
  :param str symbol: unified symbol of the market to fetch the order book for
3523
3523
  :param int [limit]: the maximum amount of order book entries to return
3524
3524
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3567,7 +3567,7 @@ class coinbase(Exchange, ImplicitAPI):
3567
3567
  def fetch_bids_asks(self, symbols: Strings = None, params={}):
3568
3568
  """
3569
3569
  fetches the bid and ask price and volume for multiple markets
3570
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
3570
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3571
3571
  :param str[] [symbols]: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3572
3572
  :param dict [params]: extra parameters specific to the exchange API endpoint
3573
3573
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -3955,7 +3955,7 @@ class coinbase(Exchange, ImplicitAPI):
3955
3955
  def fetch_convert_quote(self, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
3956
3956
  """
3957
3957
  fetch a quote for converting from one currency to another
3958
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_createconvertquote
3958
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
3959
3959
  :param str fromCode: the currency that you want to sell and convert from
3960
3960
  :param str toCode: the currency that you want to buy and convert into
3961
3961
  :param float [amount]: how much you want to trade in units of the from currency
@@ -3978,7 +3978,7 @@ class coinbase(Exchange, ImplicitAPI):
3978
3978
  def create_convert_trade(self, id: str, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
3979
3979
  """
3980
3980
  convert from one currency to another
3981
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_commitconverttrade
3981
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
3982
3982
  :param str id: the id of the trade that you want to make
3983
3983
  :param str fromCode: the currency that you want to sell and convert from
3984
3984
  :param str toCode: the currency that you want to buy and convert into
@@ -3999,7 +3999,7 @@ class coinbase(Exchange, ImplicitAPI):
3999
3999
  def fetch_convert_trade(self, id: str, code: Str = None, params={}) -> Conversion:
4000
4000
  """
4001
4001
  fetch the data for a conversion trade
4002
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getconverttrade
4002
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4003
4003
  :param str id: the id of the trade that you want to commit
4004
4004
  :param str code: the unified currency code that was converted from
4005
4005
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4073,8 +4073,8 @@ class coinbase(Exchange, ImplicitAPI):
4073
4073
  def fetch_positions(self, symbols: Strings = None, params={}):
4074
4074
  """
4075
4075
  fetch all open positions
4076
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmpositions
4077
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxpositions
4076
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4077
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4078
4078
  :param str[] [symbols]: list of unified market symbols
4079
4079
  :param dict [params]: extra parameters specific to the exchange API endpoint
4080
4080
  :param str [params.portfolio]: the portfolio UUID to fetch positions for
@@ -4105,8 +4105,8 @@ class coinbase(Exchange, ImplicitAPI):
4105
4105
  def fetch_position(self, symbol: str, params={}):
4106
4106
  """
4107
4107
  fetch data on a single open contract trade position
4108
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxposition
4109
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmposition
4108
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4109
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4110
4110
  :param str symbol: unified market symbol of the market the position is held in, default is None
4111
4111
  :param dict [params]: extra parameters specific to the exchange API endpoint
4112
4112
  :param str [params.product_id]: *futures only* the product id of the position to fetch, required for futures markets only
@@ -4385,7 +4385,7 @@ class coinbase(Exchange, ImplicitAPI):
4385
4385
  if query:
4386
4386
  payload += '?' + self.urlencode(query)
4387
4387
  # v3: 'GET' doesn't need payload in the signature. inside url is enough
4388
- # https://docs.cloud.coinbase.com/advanced-trade-api/docs/auth#example-request
4388
+ # https://docs.cloud.coinbase.com/advanced-trade/docs/auth#example-request
4389
4389
  # v2: 'GET' require payload in the signature
4390
4390
  # https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-key-authentication
4391
4391
  isCloudAPiKey = (self.apiKey.find('organizations/') >= 0) or (self.secret.startswith('-----BEGIN'))
ccxt/coinbaseexchange.py CHANGED
@@ -1158,7 +1158,7 @@ class coinbaseexchange(Exchange, ImplicitAPI):
1158
1158
  :param str type: 'market' or 'limit'
1159
1159
  :param str side: 'buy' or 'sell'
1160
1160
  :param float amount: how much of currency you want to trade in units of base currency
1161
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1161
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1162
1162
  :param dict [params]: extra parameters specific to the exchange API endpoint
1163
1163
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1164
1164
  """
@@ -1542,7 +1542,7 @@ class coinbaseinternational(Exchange, ImplicitAPI):
1542
1542
  :param str type: 'market' or 'limit'
1543
1543
  :param str side: 'buy' or 'sell'
1544
1544
  :param float amount: how much of currency you want to trade in units of base currency
1545
- :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1545
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1546
1546
  :param dict [params]: extra parameters specific to the exchange API endpoint
1547
1547
  :param str params['clientOrderId']: client order id
1548
1548
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`