ccxt 4.3.54__py2.py3-none-any.whl → 4.3.56__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 (255) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/bingx.py +16 -0
  3. ccxt/abstract/kucoin.py +3 -0
  4. ccxt/abstract/kucoinfutures.py +3 -0
  5. ccxt/ace.py +1 -1
  6. ccxt/alpaca.py +1 -1
  7. ccxt/ascendex.py +6 -4
  8. ccxt/async_support/__init__.py +1 -1
  9. ccxt/async_support/ace.py +1 -1
  10. ccxt/async_support/alpaca.py +1 -1
  11. ccxt/async_support/ascendex.py +6 -4
  12. ccxt/async_support/base/exchange.py +19 -3
  13. ccxt/async_support/bigone.py +1 -1
  14. ccxt/async_support/binance.py +13 -13
  15. ccxt/async_support/bingx.py +36 -3
  16. ccxt/async_support/bit2c.py +1 -1
  17. ccxt/async_support/bitbank.py +1 -1
  18. ccxt/async_support/bitbns.py +1 -1
  19. ccxt/async_support/bitfinex.py +1 -1
  20. ccxt/async_support/bitfinex2.py +1 -1
  21. ccxt/async_support/bitflyer.py +8 -2
  22. ccxt/async_support/bitget.py +2 -2
  23. ccxt/async_support/bithumb.py +1 -1
  24. ccxt/async_support/bitmart.py +3 -3
  25. ccxt/async_support/bitmex.py +1 -1
  26. ccxt/async_support/bitopro.py +19 -4
  27. ccxt/async_support/bitrue.py +1 -1
  28. ccxt/async_support/bitso.py +1 -1
  29. ccxt/async_support/bitstamp.py +1 -1
  30. ccxt/async_support/bitteam.py +1 -1
  31. ccxt/async_support/bitvavo.py +2 -2
  32. ccxt/async_support/bl3p.py +1 -1
  33. ccxt/async_support/blockchaincom.py +28 -28
  34. ccxt/async_support/blofin.py +1 -1
  35. ccxt/async_support/btcalpha.py +4 -11
  36. ccxt/async_support/btcbox.py +1 -1
  37. ccxt/async_support/btcmarkets.py +28 -27
  38. ccxt/async_support/btcturk.py +1 -1
  39. ccxt/async_support/bybit.py +10 -7
  40. ccxt/async_support/cex.py +2 -2
  41. ccxt/async_support/coinbase.py +33 -33
  42. ccxt/async_support/coinbaseexchange.py +1 -1
  43. ccxt/async_support/coinbaseinternational.py +1 -1
  44. ccxt/async_support/coincheck.py +1 -1
  45. ccxt/async_support/coinex.py +2 -2
  46. ccxt/async_support/coinlist.py +2 -2
  47. ccxt/async_support/coinmate.py +1 -1
  48. ccxt/async_support/coinmetro.py +1 -1
  49. ccxt/async_support/coinone.py +1 -1
  50. ccxt/async_support/coinsph.py +1 -1
  51. ccxt/async_support/coinspot.py +1 -1
  52. ccxt/async_support/cryptocom.py +1 -1
  53. ccxt/async_support/currencycom.py +1 -1
  54. ccxt/async_support/delta.py +7 -3
  55. ccxt/async_support/deribit.py +4 -4
  56. ccxt/async_support/digifinex.py +2 -2
  57. ccxt/async_support/exmo.py +2 -2
  58. ccxt/async_support/gate.py +3 -2
  59. ccxt/async_support/gemini.py +1 -1
  60. ccxt/async_support/hitbtc.py +1 -1
  61. ccxt/async_support/hollaex.py +1 -1
  62. ccxt/async_support/htx.py +3 -3
  63. ccxt/async_support/huobijp.py +1 -1
  64. ccxt/async_support/hyperliquid.py +3 -3
  65. ccxt/async_support/idex.py +1 -1
  66. ccxt/async_support/independentreserve.py +1 -1
  67. ccxt/async_support/indodax.py +1 -1
  68. ccxt/async_support/kraken.py +2 -2
  69. ccxt/async_support/kucoin.py +127 -46
  70. ccxt/async_support/kucoinfutures.py +1 -1
  71. ccxt/async_support/kuna.py +1 -1
  72. ccxt/async_support/latoken.py +1 -1
  73. ccxt/async_support/lbank.py +28 -7
  74. ccxt/async_support/luno.py +1 -1
  75. ccxt/async_support/lykke.py +1 -1
  76. ccxt/async_support/mercado.py +1 -1
  77. ccxt/async_support/mexc.py +1 -1
  78. ccxt/async_support/ndax.py +1 -1
  79. ccxt/async_support/novadax.py +1 -1
  80. ccxt/async_support/oceanex.py +1 -1
  81. ccxt/async_support/okcoin.py +1 -1
  82. ccxt/async_support/okx.py +3 -3
  83. ccxt/async_support/onetrading.py +1 -1
  84. ccxt/async_support/oxfun.py +2 -2
  85. ccxt/async_support/p2b.py +1 -1
  86. ccxt/async_support/paymium.py +1 -1
  87. ccxt/async_support/phemex.py +2 -2
  88. ccxt/async_support/poloniex.py +4 -3
  89. ccxt/async_support/poloniexfutures.py +1 -1
  90. ccxt/async_support/probit.py +1 -1
  91. ccxt/async_support/timex.py +1 -1
  92. ccxt/async_support/tokocrypto.py +1 -1
  93. ccxt/async_support/tradeogre.py +1 -1
  94. ccxt/async_support/upbit.py +1 -1
  95. ccxt/async_support/vertex.py +2 -2
  96. ccxt/async_support/wavesexchange.py +1 -1
  97. ccxt/async_support/wazirx.py +1 -1
  98. ccxt/async_support/whitebit.py +2 -2
  99. ccxt/async_support/woo.py +5 -5
  100. ccxt/async_support/woofipro.py +3 -3
  101. ccxt/async_support/yobit.py +1 -1
  102. ccxt/async_support/zaif.py +1 -1
  103. ccxt/async_support/zonda.py +1 -1
  104. ccxt/base/exchange.py +19 -3
  105. ccxt/base/types.py +4 -1
  106. ccxt/bigone.py +1 -1
  107. ccxt/binance.py +13 -13
  108. ccxt/bingx.py +36 -3
  109. ccxt/bit2c.py +1 -1
  110. ccxt/bitbank.py +1 -1
  111. ccxt/bitbns.py +1 -1
  112. ccxt/bitfinex.py +1 -1
  113. ccxt/bitfinex2.py +1 -1
  114. ccxt/bitflyer.py +8 -2
  115. ccxt/bitget.py +2 -2
  116. ccxt/bithumb.py +1 -1
  117. ccxt/bitmart.py +3 -3
  118. ccxt/bitmex.py +1 -1
  119. ccxt/bitopro.py +19 -4
  120. ccxt/bitrue.py +1 -1
  121. ccxt/bitso.py +1 -1
  122. ccxt/bitstamp.py +1 -1
  123. ccxt/bitteam.py +1 -1
  124. ccxt/bitvavo.py +2 -2
  125. ccxt/bl3p.py +1 -1
  126. ccxt/blockchaincom.py +28 -28
  127. ccxt/blofin.py +1 -1
  128. ccxt/btcalpha.py +4 -11
  129. ccxt/btcbox.py +1 -1
  130. ccxt/btcmarkets.py +28 -27
  131. ccxt/btcturk.py +1 -1
  132. ccxt/bybit.py +10 -7
  133. ccxt/cex.py +2 -2
  134. ccxt/coinbase.py +33 -33
  135. ccxt/coinbaseexchange.py +1 -1
  136. ccxt/coinbaseinternational.py +1 -1
  137. ccxt/coincheck.py +1 -1
  138. ccxt/coinex.py +2 -2
  139. ccxt/coinlist.py +2 -2
  140. ccxt/coinmate.py +1 -1
  141. ccxt/coinmetro.py +1 -1
  142. ccxt/coinone.py +1 -1
  143. ccxt/coinsph.py +1 -1
  144. ccxt/coinspot.py +1 -1
  145. ccxt/cryptocom.py +1 -1
  146. ccxt/currencycom.py +1 -1
  147. ccxt/delta.py +7 -3
  148. ccxt/deribit.py +4 -4
  149. ccxt/digifinex.py +2 -2
  150. ccxt/exmo.py +2 -2
  151. ccxt/gate.py +3 -2
  152. ccxt/gemini.py +1 -1
  153. ccxt/hitbtc.py +1 -1
  154. ccxt/hollaex.py +1 -1
  155. ccxt/htx.py +3 -3
  156. ccxt/huobijp.py +1 -1
  157. ccxt/hyperliquid.py +3 -3
  158. ccxt/idex.py +1 -1
  159. ccxt/independentreserve.py +1 -1
  160. ccxt/indodax.py +1 -1
  161. ccxt/kraken.py +2 -2
  162. ccxt/kucoin.py +127 -46
  163. ccxt/kucoinfutures.py +1 -1
  164. ccxt/kuna.py +1 -1
  165. ccxt/latoken.py +1 -1
  166. ccxt/lbank.py +28 -7
  167. ccxt/luno.py +1 -1
  168. ccxt/lykke.py +1 -1
  169. ccxt/mercado.py +1 -1
  170. ccxt/mexc.py +1 -1
  171. ccxt/ndax.py +1 -1
  172. ccxt/novadax.py +1 -1
  173. ccxt/oceanex.py +1 -1
  174. ccxt/okcoin.py +1 -1
  175. ccxt/okx.py +3 -3
  176. ccxt/onetrading.py +1 -1
  177. ccxt/oxfun.py +2 -2
  178. ccxt/p2b.py +1 -1
  179. ccxt/paymium.py +1 -1
  180. ccxt/phemex.py +2 -2
  181. ccxt/poloniex.py +4 -3
  182. ccxt/poloniexfutures.py +1 -1
  183. ccxt/pro/__init__.py +1 -1
  184. ccxt/pro/binance.py +2 -2
  185. ccxt/pro/bitvavo.py +2 -2
  186. ccxt/pro/bybit.py +2 -2
  187. ccxt/pro/cex.py +3 -3
  188. ccxt/pro/coinbase.py +22 -1
  189. ccxt/pro/cryptocom.py +1 -1
  190. ccxt/pro/gate.py +2 -2
  191. ccxt/pro/hitbtc.py +1 -1
  192. ccxt/pro/kraken.py +2 -2
  193. ccxt/pro/kucoin.py +2 -2
  194. ccxt/pro/okx.py +2 -2
  195. ccxt/pro/oxfun.py +2 -2
  196. ccxt/pro/poloniex.py +1 -1
  197. ccxt/pro/vertex.py +1 -1
  198. ccxt/probit.py +1 -1
  199. ccxt/test/{test_async.py → tests_async.py} +27 -280
  200. ccxt/test/tests_helpers.py +284 -0
  201. ccxt/test/tests_init.py +35 -0
  202. ccxt/test/{test_sync.py → tests_sync.py} +27 -282
  203. ccxt/timex.py +1 -1
  204. ccxt/tokocrypto.py +1 -1
  205. ccxt/tradeogre.py +1 -1
  206. ccxt/upbit.py +1 -1
  207. ccxt/vertex.py +2 -2
  208. ccxt/wavesexchange.py +1 -1
  209. ccxt/wazirx.py +1 -1
  210. ccxt/whitebit.py +2 -2
  211. ccxt/woo.py +5 -5
  212. ccxt/woofipro.py +3 -3
  213. ccxt/yobit.py +1 -1
  214. ccxt/zaif.py +1 -1
  215. ccxt/zonda.py +1 -1
  216. {ccxt-4.3.54.dist-info → ccxt-4.3.56.dist-info}/METADATA +5 -7
  217. {ccxt-4.3.54.dist-info → ccxt-4.3.56.dist-info}/RECORD +220 -253
  218. ccxt/test/base/__init__.py +0 -29
  219. ccxt/test/base/test_account.py +0 -26
  220. ccxt/test/base/test_balance.py +0 -56
  221. ccxt/test/base/test_borrow_interest.py +0 -35
  222. ccxt/test/base/test_borrow_rate.py +0 -32
  223. ccxt/test/base/test_calculate_fee.py +0 -51
  224. ccxt/test/base/test_crypto.py +0 -127
  225. ccxt/test/base/test_currency.py +0 -76
  226. ccxt/test/base/test_datetime.py +0 -109
  227. ccxt/test/base/test_decimal_to_precision.py +0 -392
  228. ccxt/test/base/test_deep_extend.py +0 -68
  229. ccxt/test/base/test_deposit_withdrawal.py +0 -50
  230. ccxt/test/base/test_exchange_datetime_functions.py +0 -76
  231. ccxt/test/base/test_funding_rate_history.py +0 -29
  232. ccxt/test/base/test_last_price.py +0 -31
  233. ccxt/test/base/test_ledger_entry.py +0 -45
  234. ccxt/test/base/test_ledger_item.py +0 -48
  235. ccxt/test/base/test_leverage_tier.py +0 -33
  236. ccxt/test/base/test_liquidation.py +0 -50
  237. ccxt/test/base/test_margin_mode.py +0 -24
  238. ccxt/test/base/test_margin_modification.py +0 -35
  239. ccxt/test/base/test_market.py +0 -193
  240. ccxt/test/base/test_number.py +0 -411
  241. ccxt/test/base/test_ohlcv.py +0 -33
  242. ccxt/test/base/test_open_interest.py +0 -32
  243. ccxt/test/base/test_order.py +0 -64
  244. ccxt/test/base/test_order_book.py +0 -69
  245. ccxt/test/base/test_position.py +0 -60
  246. ccxt/test/base/test_shared_methods.py +0 -353
  247. ccxt/test/base/test_status.py +0 -24
  248. ccxt/test/base/test_throttle.py +0 -126
  249. ccxt/test/base/test_ticker.py +0 -92
  250. ccxt/test/base/test_trade.py +0 -47
  251. ccxt/test/base/test_trading_fee.py +0 -26
  252. ccxt/test/base/test_transaction.py +0 -39
  253. {ccxt-4.3.54.dist-info → ccxt-4.3.56.dist-info}/LICENSE.txt +0 -0
  254. {ccxt-4.3.54.dist-info → ccxt-4.3.56.dist-info}/WHEEL +0 -0
  255. {ccxt-4.3.54.dist-info → ccxt-4.3.56.dist-info}/top_level.txt +0 -0
@@ -33,7 +33,7 @@ class coinbase(Exchange, ImplicitAPI):
33
33
  'pro': True,
34
34
  'certified': True,
35
35
  # rate-limits:
36
- # ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-rate-limits
36
+ # ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade/docs/rest-api-rate-limits
37
37
  # - max 30 req/second for private data, 10 req/s for public data
38
38
  # DATA API : https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/rate-limiting
39
39
  # - max 10000 req/hour(to prevent userland mistakes we apply ~3 req/second RL per call
@@ -139,7 +139,7 @@ class coinbase(Exchange, ImplicitAPI):
139
139
  'www': 'https://www.coinbase.com',
140
140
  'doc': [
141
141
  'https://developers.coinbase.com/api/v2',
142
- 'https://docs.cloud.coinbase.com/advanced-trade-api/docs/welcome',
142
+ 'https://docs.cloud.coinbase.com/advanced-trade/docs/welcome',
143
143
  ],
144
144
  'fees': [
145
145
  'https://support.coinbase.com/customer/portal/articles/2109597-buy-sell-bank-transfer-fees',
@@ -421,7 +421,7 @@ class coinbase(Exchange, ImplicitAPI):
421
421
  async def fetch_accounts(self, params={}) -> List[Account]:
422
422
  """
423
423
  fetch all the accounts associated with a profile
424
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
424
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
425
425
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
426
426
  :param dict [params]: extra parameters specific to the exchange API endpoint
427
427
  :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)
@@ -551,7 +551,7 @@ class coinbase(Exchange, ImplicitAPI):
551
551
  async def fetch_portfolios(self, params={}) -> List[Account]:
552
552
  """
553
553
  fetch all the portfolios
554
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getportfolios
554
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
555
555
  :param dict [params]: extra parameters specific to the exchange API endpoint
556
556
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
557
557
  """
@@ -1070,7 +1070,7 @@ class coinbase(Exchange, ImplicitAPI):
1070
1070
 
1071
1071
  async def fetch_markets(self, params={}) -> List[Market]:
1072
1072
  """
1073
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproducts
1073
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1074
1074
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1075
1075
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1076
1076
  retrieves data on all markets for coinbase
@@ -1710,7 +1710,7 @@ class coinbase(Exchange, ImplicitAPI):
1710
1710
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1711
1711
  """
1712
1712
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1713
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getproducts
1713
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1714
1714
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1715
1715
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1716
1716
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1822,7 +1822,7 @@ class coinbase(Exchange, ImplicitAPI):
1822
1822
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1823
1823
  """
1824
1824
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1825
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getmarkettrades
1825
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1826
1826
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1827
1827
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1828
1828
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
@@ -2069,9 +2069,9 @@ class coinbase(Exchange, ImplicitAPI):
2069
2069
  async def fetch_balance(self, params={}) -> Balances:
2070
2070
  """
2071
2071
  query for balance and get the amount of funds available for trading or funds locked in orders
2072
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
2072
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2073
2073
  :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2074
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmbalancesummary
2074
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2075
2075
  :param dict [params]: extra parameters specific to the exchange API endpoint
2076
2076
  :param boolean [params.v3]: default False, set True to use v3 api endpoint
2077
2077
  :param dict [params.type]: "spot"(default) or "swap" or "future"
@@ -2568,7 +2568,7 @@ class coinbase(Exchange, ImplicitAPI):
2568
2568
  async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
2569
2569
  """
2570
2570
  create a market buy order by providing the symbol and cost
2571
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2571
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2572
2572
  :param str symbol: unified symbol of the market to create an order in
2573
2573
  :param float cost: how much you want to trade in units of the quote currency
2574
2574
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2584,7 +2584,7 @@ class coinbase(Exchange, ImplicitAPI):
2584
2584
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2585
2585
  """
2586
2586
  create a trade order
2587
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2587
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2588
2588
  :param str symbol: unified symbol of the market to create an order in
2589
2589
  :param str type: 'market' or 'limit'
2590
2590
  :param str side: 'buy' or 'sell'
@@ -2966,7 +2966,7 @@ class coinbase(Exchange, ImplicitAPI):
2966
2966
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
2967
2967
  """
2968
2968
  cancels an open order
2969
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
2969
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
2970
2970
  :param str id: order id
2971
2971
  :param str symbol: not used by coinbase cancelOrder()
2972
2972
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2979,7 +2979,7 @@ class coinbase(Exchange, ImplicitAPI):
2979
2979
  async def cancel_orders(self, ids, symbol: Str = None, params={}):
2980
2980
  """
2981
2981
  cancel multiple orders
2982
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
2982
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
2983
2983
  :param str[] ids: order ids
2984
2984
  :param str symbol: not used by coinbase cancelOrders()
2985
2985
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3014,13 +3014,13 @@ class coinbase(Exchange, ImplicitAPI):
3014
3014
  async def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
3015
3015
  """
3016
3016
  edit a trade order
3017
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_editorder
3017
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3018
3018
  :param str id: cancel order id
3019
3019
  :param str symbol: unified symbol of the market to create an order in
3020
3020
  :param str type: 'market' or 'limit'
3021
3021
  :param str side: 'buy' or 'sell'
3022
3022
  :param float amount: how much of currency you want to trade in units of base currency
3023
- :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3023
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3024
3024
  :param dict [params]: extra parameters specific to the exchange API endpoint
3025
3025
  :param boolean [params.preview]: default to False, wether to use the test/preview endpoint or not
3026
3026
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -3055,7 +3055,7 @@ class coinbase(Exchange, ImplicitAPI):
3055
3055
  async def fetch_order(self, id: str, symbol: Str = None, params={}):
3056
3056
  """
3057
3057
  fetches information on an order made by the user
3058
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorder
3058
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3059
3059
  :param str id: the order id
3060
3060
  :param str symbol: unified market symbol that the order was made in
3061
3061
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3114,7 +3114,7 @@ class coinbase(Exchange, ImplicitAPI):
3114
3114
  async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = 100, params={}) -> List[Order]:
3115
3115
  """
3116
3116
  fetches information on multiple orders made by the user
3117
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3117
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3118
3118
  :param str symbol: unified market symbol that the orders were made in
3119
3119
  :param int [since]: the earliest time in ms to fetch orders
3120
3120
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3266,7 +3266,7 @@ class coinbase(Exchange, ImplicitAPI):
3266
3266
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3267
3267
  """
3268
3268
  fetches information on all currently open orders
3269
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3269
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3270
3270
  :param str symbol: unified market symbol of the orders
3271
3271
  :param int [since]: timestamp in ms of the earliest order, default is None
3272
3272
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -3285,7 +3285,7 @@ class coinbase(Exchange, ImplicitAPI):
3285
3285
  async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3286
3286
  """
3287
3287
  fetches information on multiple closed orders made by the user
3288
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3288
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3289
3289
  :param str symbol: unified market symbol of the orders
3290
3290
  :param int [since]: timestamp in ms of the earliest order, default is None
3291
3291
  :param int [limit]: the maximum number of closed order structures to retrieve
@@ -3304,7 +3304,7 @@ class coinbase(Exchange, ImplicitAPI):
3304
3304
  async def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3305
3305
  """
3306
3306
  fetches information on multiple canceled orders made by the user
3307
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3307
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3308
3308
  :param str symbol: unified market symbol of the orders
3309
3309
  :param int [since]: timestamp in ms of the earliest order, default is None
3310
3310
  :param int [limit]: the maximum number of canceled order structures to retrieve
@@ -3316,7 +3316,7 @@ class coinbase(Exchange, ImplicitAPI):
3316
3316
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
3317
3317
  """
3318
3318
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3319
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpubliccandles
3319
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3320
3320
  :param str symbol: unified symbol of the market to fetch OHLCV data for
3321
3321
  :param str timeframe: the length of time each candle represents
3322
3322
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -3404,7 +3404,7 @@ class coinbase(Exchange, ImplicitAPI):
3404
3404
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3405
3405
  """
3406
3406
  get the list of most recent trades for a particular symbol
3407
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicmarkettrades
3407
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3408
3408
  :param str symbol: unified market symbol of the trades
3409
3409
  :param int [since]: not used by coinbase fetchTrades
3410
3410
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3456,7 +3456,7 @@ class coinbase(Exchange, ImplicitAPI):
3456
3456
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3457
3457
  """
3458
3458
  fetch all trades made by the user
3459
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfills
3459
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3460
3460
  :param str symbol: unified market symbol of the trades
3461
3461
  :param int [since]: timestamp in ms of the earliest order, default is None
3462
3462
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3519,7 +3519,7 @@ class coinbase(Exchange, ImplicitAPI):
3519
3519
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
3520
3520
  """
3521
3521
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
3522
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproductbook
3522
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3523
3523
  :param str symbol: unified symbol of the market to fetch the order book for
3524
3524
  :param int [limit]: the maximum amount of order book entries to return
3525
3525
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3568,7 +3568,7 @@ class coinbase(Exchange, ImplicitAPI):
3568
3568
  async def fetch_bids_asks(self, symbols: Strings = None, params={}):
3569
3569
  """
3570
3570
  fetches the bid and ask price and volume for multiple markets
3571
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
3571
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3572
3572
  :param str[] [symbols]: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3573
3573
  :param dict [params]: extra parameters specific to the exchange API endpoint
3574
3574
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -3956,7 +3956,7 @@ class coinbase(Exchange, ImplicitAPI):
3956
3956
  async def fetch_convert_quote(self, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
3957
3957
  """
3958
3958
  fetch a quote for converting from one currency to another
3959
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_createconvertquote
3959
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
3960
3960
  :param str fromCode: the currency that you want to sell and convert from
3961
3961
  :param str toCode: the currency that you want to buy and convert into
3962
3962
  :param float [amount]: how much you want to trade in units of the from currency
@@ -3979,7 +3979,7 @@ class coinbase(Exchange, ImplicitAPI):
3979
3979
  async def create_convert_trade(self, id: str, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
3980
3980
  """
3981
3981
  convert from one currency to another
3982
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_commitconverttrade
3982
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
3983
3983
  :param str id: the id of the trade that you want to make
3984
3984
  :param str fromCode: the currency that you want to sell and convert from
3985
3985
  :param str toCode: the currency that you want to buy and convert into
@@ -4000,7 +4000,7 @@ class coinbase(Exchange, ImplicitAPI):
4000
4000
  async def fetch_convert_trade(self, id: str, code: Str = None, params={}) -> Conversion:
4001
4001
  """
4002
4002
  fetch the data for a conversion trade
4003
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getconverttrade
4003
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4004
4004
  :param str id: the id of the trade that you want to commit
4005
4005
  :param str code: the unified currency code that was converted from
4006
4006
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4074,8 +4074,8 @@ class coinbase(Exchange, ImplicitAPI):
4074
4074
  async def fetch_positions(self, symbols: Strings = None, params={}):
4075
4075
  """
4076
4076
  fetch all open positions
4077
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmpositions
4078
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxpositions
4077
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4078
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4079
4079
  :param str[] [symbols]: list of unified market symbols
4080
4080
  :param dict [params]: extra parameters specific to the exchange API endpoint
4081
4081
  :param str [params.portfolio]: the portfolio UUID to fetch positions for
@@ -4106,8 +4106,8 @@ class coinbase(Exchange, ImplicitAPI):
4106
4106
  async def fetch_position(self, symbol: str, params={}):
4107
4107
  """
4108
4108
  fetch data on a single open contract trade position
4109
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxposition
4110
- :see: https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmposition
4109
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4110
+ :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4111
4111
  :param str symbol: unified market symbol of the market the position is held in, default is None
4112
4112
  :param dict [params]: extra parameters specific to the exchange API endpoint
4113
4113
  :param str [params.product_id]: *futures only* the product id of the position to fetch, required for futures markets only
@@ -4386,7 +4386,7 @@ class coinbase(Exchange, ImplicitAPI):
4386
4386
  if query:
4387
4387
  payload += '?' + self.urlencode(query)
4388
4388
  # v3: 'GET' doesn't need payload in the signature. inside url is enough
4389
- # https://docs.cloud.coinbase.com/advanced-trade-api/docs/auth#example-request
4389
+ # https://docs.cloud.coinbase.com/advanced-trade/docs/auth#example-request
4390
4390
  # v2: 'GET' require payload in the signature
4391
4391
  # https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-key-authentication
4392
4392
  isCloudAPiKey = (self.apiKey.find('organizations/') >= 0) or (self.secret.startswith('-----BEGIN'))
@@ -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>`
@@ -558,7 +558,7 @@ class coincheck(Exchange, ImplicitAPI):
558
558
  :param str type: 'market' or 'limit'
559
559
  :param str side: 'buy' or 'sell'
560
560
  :param float amount: how much of currency you want to trade in units of base currency
561
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
561
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
562
562
  :param dict [params]: extra parameters specific to the exchange API endpoint
563
563
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
564
564
  """
@@ -2032,7 +2032,7 @@ class coinex(Exchange, ImplicitAPI):
2032
2032
  :param str type: 'market' or 'limit'
2033
2033
  :param str side: 'buy' or 'sell'
2034
2034
  :param float amount: how much you want to trade in units of the base currency
2035
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2035
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2036
2036
  :param dict [params]: extra parameters specific to the exchange API endpoint
2037
2037
  :param float [params.triggerPrice]: price to trigger stop orders
2038
2038
  :param float [params.stopLossPrice]: price to trigger stop loss orders
@@ -2622,7 +2622,7 @@ class coinex(Exchange, ImplicitAPI):
2622
2622
  :param str type: 'market' or 'limit'
2623
2623
  :param str side: 'buy' or 'sell'
2624
2624
  :param float amount: how much of the currency you want to trade in units of the base currency
2625
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2625
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2626
2626
  :param dict [params]: extra parameters specific to the exchange API endpoint
2627
2627
  :param float [params.triggerPrice]: the price to trigger stop orders
2628
2628
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1425,7 +1425,7 @@ class coinlist(Exchange, ImplicitAPI):
1425
1425
  :param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1426
1426
  :param str side: 'buy' or 'sell'
1427
1427
  :param float amount: how much of currency you want to trade in units of base currency
1428
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1428
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1429
1429
  :param dict [params]: extra parameters specific to the exchange API endpoint
1430
1430
  :param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately(default False)
1431
1431
  :param float [params.triggerPrice]: only for the 'stop_market', 'stop_limit', 'take_market' or 'take_limit' orders(the price at which an order is triggered)
@@ -1491,7 +1491,7 @@ class coinlist(Exchange, ImplicitAPI):
1491
1491
  :param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1492
1492
  :param str side: 'buy' or 'sell'
1493
1493
  :param float amount: how much of currency you want to trade in units of base currency
1494
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1494
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1495
1495
  :param dict [params]: extra parameters specific to the exchange API endpoint
1496
1496
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1497
1497
  """
@@ -951,7 +951,7 @@ class coinmate(Exchange, ImplicitAPI):
951
951
  :param str type: 'market' or 'limit'
952
952
  :param str side: 'buy' or 'sell'
953
953
  :param float amount: how much of currency you want to trade in units of base currency
954
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
954
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
955
955
  :param dict [params]: extra parameters specific to the exchange API endpoint
956
956
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
957
957
  """
@@ -1140,7 +1140,7 @@ class coinmetro(Exchange, ImplicitAPI):
1140
1140
  :param str type: 'market' or 'limit'
1141
1141
  :param str side: 'buy' or 'sell'
1142
1142
  :param float amount: how much of currency you want to trade in units of base currency
1143
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1143
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1144
1144
  :param dict [params]: extra parameters specific to the exchange API endpoint
1145
1145
  :param float [params.cost]: the quote quantity that can be used alternative for the amount in market orders
1146
1146
  :param str [params.timeInForce]: "GTC", "IOC", "FOK", "GTD"
@@ -729,7 +729,7 @@ class coinone(Exchange, ImplicitAPI):
729
729
  :param str type: must be 'limit'
730
730
  :param str side: 'buy' or 'sell'
731
731
  :param float amount: how much of currency you want to trade in units of base currency
732
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
732
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
733
733
  :param dict [params]: extra parameters specific to the exchange API endpoint
734
734
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
735
735
  """
@@ -1066,7 +1066,7 @@ class coinsph(Exchange, ImplicitAPI):
1066
1066
  :param str type: 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
1067
1067
  :param str side: 'buy' or 'sell'
1068
1068
  :param float amount: how much of currency you want to trade in units of base currency
1069
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1069
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1070
1070
  :param dict [params]: extra parameters specific to the exchange API endpoint
1071
1071
  :param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
1072
1072
  :param bool [params.test]: set to True to test an order, no order will be created but the request will be validated
@@ -475,7 +475,7 @@ class coinspot(Exchange, ImplicitAPI):
475
475
  :param str type: must be 'limit'
476
476
  :param str side: 'buy' or 'sell'
477
477
  :param float amount: how much of currency you want to trade in units of base currency
478
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
478
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
479
479
  :param dict [params]: extra parameters specific to the exchange API endpoint
480
480
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
481
481
  """
@@ -1084,7 +1084,7 @@ class cryptocom(Exchange, ImplicitAPI):
1084
1084
  :param str type: 'market', 'limit', 'stop_loss', 'stop_limit', 'take_profit', 'take_profit_limit'
1085
1085
  :param str side: 'buy' or 'sell'
1086
1086
  :param float amount: how much you want to trade in units of base currency
1087
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1087
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1088
1088
  :param dict [params]: extra parameters specific to the exchange API endpoint
1089
1089
  :param str [params.timeInForce]: 'GTC', 'IOC', 'FOK' or 'PO'
1090
1090
  :param str [params.ref_price_type]: 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
@@ -1239,7 +1239,7 @@ class currencycom(Exchange, ImplicitAPI):
1239
1239
  :param str type: 'market' or 'limit'
1240
1240
  :param str side: 'buy' or 'sell'
1241
1241
  :param float amount: how much of currency you want to trade in units of base currency
1242
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1242
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1243
1243
  :param dict [params]: extra parameters specific to the exchange API endpoint
1244
1244
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1245
1245
  """
@@ -1750,7 +1750,7 @@ class delta(Exchange, ImplicitAPI):
1750
1750
  :param str type: 'market' or 'limit'
1751
1751
  :param str side: 'buy' or 'sell'
1752
1752
  :param float amount: how much of currency you want to trade in units of base currency
1753
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1753
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1754
1754
  :param dict [params]: extra parameters specific to the exchange API endpoint
1755
1755
  :param bool [params.reduceOnly]: *contract only* indicates if self order is to reduce the size of a position
1756
1756
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1828,7 +1828,7 @@ class delta(Exchange, ImplicitAPI):
1828
1828
  :param str type: 'market' or 'limit'
1829
1829
  :param str side: 'buy' or 'sell'
1830
1830
  :param float amount: how much of the currency you want to trade in units of the base currency
1831
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency
1831
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency
1832
1832
  :param dict [params]: extra parameters specific to the exchange API endpoint
1833
1833
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1834
1834
  """
@@ -1946,7 +1946,11 @@ class delta(Exchange, ImplicitAPI):
1946
1946
  # "success":true
1947
1947
  # }
1948
1948
  #
1949
- return response
1949
+ return [
1950
+ self.safe_order({
1951
+ 'info': response,
1952
+ }),
1953
+ ]
1950
1954
 
1951
1955
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1952
1956
  """
@@ -1798,8 +1798,8 @@ class deribit(Exchange, ImplicitAPI):
1798
1798
  :param str symbol: unified symbol of the market to create an order in
1799
1799
  :param str type: 'market' or 'limit'
1800
1800
  :param str side: 'buy' or 'sell'
1801
- :param float amount: how much you want to trade in units of the base currency. For inverse perpetual and futures the amount is in the quote currency USD. For options it is in the underlying assets base currency.
1802
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1801
+ :param float amount: how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
1802
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1803
1803
  :param dict [params]: extra parameters specific to the exchange API endpoint
1804
1804
  :param str [params.trigger]: the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
1805
1805
  :param float [params.trailingAmount]: the quote amount to trail away from the current market price
@@ -1955,8 +1955,8 @@ class deribit(Exchange, ImplicitAPI):
1955
1955
  :param str [symbol]: unified symbol of the market to edit an order in
1956
1956
  :param str [type]: 'market' or 'limit'
1957
1957
  :param str [side]: 'buy' or 'sell'
1958
- :param float amount: how much you want to trade in units of the base currency, inverse swap and future use the quote currency
1959
- :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1958
+ :param float amount: how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
1959
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1960
1960
  :param dict [params]: extra parameters specific to the exchange API endpoint
1961
1961
  :param float [params.trailingAmount]: the quote amount to trail away from the current market price
1962
1962
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1511,7 +1511,7 @@ class digifinex(Exchange, ImplicitAPI):
1511
1511
  :param str type: 'market' or 'limit'
1512
1512
  :param str side: 'buy' or 'sell'
1513
1513
  :param float amount: how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
1514
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1514
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1515
1515
  :param dict [params]: extra parameters specific to the exchange API endpoint
1516
1516
  :param str [params.timeInForce]: "GTC", "IOC", "FOK", or "PO"
1517
1517
  :param bool [params.postOnly]: True or False
@@ -1647,7 +1647,7 @@ class digifinex(Exchange, ImplicitAPI):
1647
1647
  :param str type: 'market' or 'limit'
1648
1648
  :param str side: 'buy' or 'sell'
1649
1649
  :param float amount: how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
1650
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1650
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1651
1651
  :param dict [params]: extra parameters specific to the exchange API endpoint
1652
1652
  :returns dict: request to be sent to the exchange
1653
1653
  """
@@ -1329,7 +1329,7 @@ class exmo(Exchange, ImplicitAPI):
1329
1329
  :param str type: 'market' or 'limit'
1330
1330
  :param str side: 'buy' or 'sell'
1331
1331
  :param float amount: how much of currency you want to trade in units of base currency
1332
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1332
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1333
1333
  :param dict [params]: extra parameters specific to the exchange API endpoint
1334
1334
  :param float [params.stopPrice]: the price at which a trigger order is triggered at
1335
1335
  :param str [params.timeInForce]: *spot only* 'fok', 'ioc' or 'post_only'
@@ -1912,7 +1912,7 @@ class exmo(Exchange, ImplicitAPI):
1912
1912
  :param str type: not used by exmo editOrder
1913
1913
  :param str side: not used by exmo editOrder
1914
1914
  :param float [amount]: how much of the currency you want to trade in units of the base currency
1915
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1915
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1916
1916
  :param dict [params]: extra parameters specific to the exchange API endpoint
1917
1917
  :param float [params.triggerPrice]: stop price for stop-market and stop-limit orders
1918
1918
  :param str params['marginMode']: must be set to isolated
@@ -641,6 +641,7 @@ class gate(Exchange, ImplicitAPI):
641
641
  'createOrder': {
642
642
  'expiration': 86400, # for conditional orders
643
643
  },
644
+ 'createMarketBuyOrderRequiresPrice': True,
644
645
  'networks': {
645
646
  'AVAXC': 'AVAX_C',
646
647
  'BEP20': 'BSC',
@@ -3556,7 +3557,7 @@ class gate(Exchange, ImplicitAPI):
3556
3557
  :param str type: 'limit' or 'market' *"market" is contract only*
3557
3558
  :param str side: 'buy' or 'sell'
3558
3559
  :param float amount: the amount of currency to trade
3559
- :param float [price]: *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
3560
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3560
3561
  :param dict [params]: extra parameters specific to the exchange API endpoint
3561
3562
  :param float [params.stopPrice]: The price at which a trigger order is triggered at
3562
3563
  :param str [params.timeInForce]: "GTC", "IOC", or "PO"
@@ -3981,7 +3982,7 @@ class gate(Exchange, ImplicitAPI):
3981
3982
  :param str type: 'market' or 'limit'
3982
3983
  :param str side: 'buy' or 'sell'
3983
3984
  :param float amount: how much of the currency you want to trade in units of the base currency
3984
- :param float [price]: the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3985
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3985
3986
  :param dict [params]: extra parameters specific to the exchange API endpoint
3986
3987
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
3987
3988
  """
@@ -1383,7 +1383,7 @@ class gemini(Exchange, ImplicitAPI):
1383
1383
  :param str type: must be 'limit'
1384
1384
  :param str side: 'buy' or 'sell'
1385
1385
  :param float amount: how much of currency you want to trade in units of base currency
1386
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1386
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1387
1387
  :param dict [params]: extra parameters specific to the exchange API endpoint
1388
1388
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1389
1389
  """
@@ -2132,7 +2132,7 @@ class hitbtc(Exchange, ImplicitAPI):
2132
2132
  :param str type: 'market' or 'limit'
2133
2133
  :param str side: 'buy' or 'sell'
2134
2134
  :param float amount: how much of currency you want to trade in units of base currency
2135
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2135
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2136
2136
  :param dict [params]: extra parameters specific to the exchange API endpoint
2137
2137
  :param str [params.marginMode]: 'cross' or 'isolated' only 'isolated' is supported for spot-margin, swap supports both, default is 'cross'
2138
2138
  :param bool [params.margin]: True for creating a margin order
@@ -1105,7 +1105,7 @@ class hollaex(Exchange, ImplicitAPI):
1105
1105
  :param str type: 'market' or 'limit'
1106
1106
  :param str side: 'buy' or 'sell'
1107
1107
  :param float amount: how much of currency you want to trade in units of base currency
1108
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1108
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1109
1109
  :param dict [params]: extra parameters specific to the exchange API endpoint
1110
1110
  :param float [params.triggerPrice]: the price at which a trigger order is triggered at
1111
1111
  :param bool [params.postOnly]: if True, the order will only be posted to the order book and not executed immediately
ccxt/async_support/htx.py CHANGED
@@ -4806,7 +4806,7 @@ class htx(Exchange, ImplicitAPI):
4806
4806
  :param str type: 'market' or 'limit'
4807
4807
  :param str side: 'buy' or 'sell'
4808
4808
  :param float amount: how much you want to trade in units of the base currency
4809
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4809
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4810
4810
  :param dict [params]: extra parameters specific to the exchange API endpoint
4811
4811
  :param str [params.timeInForce]: supports 'IOC' and 'FOK'
4812
4812
  :param float [params.cost]: the quote quantity that can be used alternative for the amount for market buy orders
@@ -4910,7 +4910,7 @@ class htx(Exchange, ImplicitAPI):
4910
4910
  :param str type: 'market' or 'limit'
4911
4911
  :param str side: 'buy' or 'sell'
4912
4912
  :param float amount: how much you want to trade in units of the base currency
4913
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
4913
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4914
4914
  :param dict [params]: extra parameters specific to the exchange API endpoint
4915
4915
  :param str [params.timeInForce]: supports 'IOC' and 'FOK'
4916
4916
  :param float [params.trailingPercent]: *contract only* the percent to trail away from the current market price
@@ -4999,7 +4999,7 @@ class htx(Exchange, ImplicitAPI):
4999
4999
  :param str type: 'market' or 'limit'
5000
5000
  :param str side: 'buy' or 'sell'
5001
5001
  :param float amount: how much you want to trade in units of the base currency
5002
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
5002
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
5003
5003
  :param dict [params]: extra parameters specific to the exchange API endpoint
5004
5004
  :param float [params.stopPrice]: the price a trigger order is triggered at
5005
5005
  :param str [params.triggerType]: *contract trigger orders only* ge: greater than or equal to, le: less than or equal to
@@ -1327,7 +1327,7 @@ class huobijp(Exchange, ImplicitAPI):
1327
1327
  :param str type: 'market' or 'limit'
1328
1328
  :param str side: 'buy' or 'sell'
1329
1329
  :param float amount: how much of currency you want to trade in units of base currency
1330
- :param float [price]: the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1330
+ :param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1331
1331
  :param dict [params]: extra parameters specific to the exchange API endpoint
1332
1332
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
1333
1333
  """