ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__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 (268) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
@@ -388,7 +388,9 @@ class coinbase(Exchange, ImplicitAPI):
388
388
  async def fetch_time(self, params={}):
389
389
  """
390
390
  fetches the current integer timestamp in milliseconds from the exchange server
391
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-time#http-request
391
+
392
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-time#http-request
393
+
392
394
  :param dict [params]: extra parameters specific to the exchange API endpoint
393
395
  :param str [params.method]: 'v2PublicGetTime' or 'v3PublicGetBrokerageTime' default is 'v2PublicGetTime'
394
396
  :returns int: the current integer timestamp in milliseconds from the exchange server
@@ -422,8 +424,10 @@ class coinbase(Exchange, ImplicitAPI):
422
424
  async def fetch_accounts(self, params={}) -> List[Account]:
423
425
  """
424
426
  fetch all the accounts associated with a profile
425
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
426
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
427
+
428
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
429
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
430
+
427
431
  :param dict [params]: extra parameters specific to the exchange API endpoint
428
432
  :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)
429
433
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
@@ -552,7 +556,9 @@ class coinbase(Exchange, ImplicitAPI):
552
556
  async def fetch_portfolios(self, params={}) -> List[Account]:
553
557
  """
554
558
  fetch all the portfolios
555
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
559
+
560
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
561
+
556
562
  :param dict [params]: extra parameters specific to the exchange API endpoint
557
563
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
558
564
  """
@@ -642,7 +648,9 @@ class coinbase(Exchange, ImplicitAPI):
642
648
  async def create_deposit_address(self, code: str, params={}):
643
649
  """
644
650
  create a currency deposit address
645
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-addresses#create-address
651
+
652
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-addresses#create-address
653
+
646
654
  :param str code: unified currency code of the currency for the deposit address
647
655
  :param dict [params]: extra parameters specific to the exchange API endpoint
648
656
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -710,9 +718,11 @@ class coinbase(Exchange, ImplicitAPI):
710
718
 
711
719
  async def fetch_my_sells(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
712
720
  """
713
- * @ignore
721
+ @ignore
714
722
  fetch sells
715
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-sells#list-sells
723
+
724
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-sells#list-sells
725
+
716
726
  :param str symbol: not used by coinbase fetchMySells()
717
727
  :param int [since]: timestamp in ms of the earliest sell, default is None
718
728
  :param int [limit]: max number of sells to return, default is None
@@ -728,9 +738,11 @@ class coinbase(Exchange, ImplicitAPI):
728
738
 
729
739
  async def fetch_my_buys(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
730
740
  """
731
- * @ignore
741
+ @ignore
732
742
  fetch buys
733
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-buys#list-buys
743
+
744
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-buys#list-buys
745
+
734
746
  :param str symbol: not used by coinbase fetchMyBuys()
735
747
  :param int [since]: timestamp in ms of the earliest buy, default is None
736
748
  :param int [limit]: max number of buys to return, default is None
@@ -754,7 +766,9 @@ class coinbase(Exchange, ImplicitAPI):
754
766
  async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
755
767
  """
756
768
  Fetch all withdrawals made from an account. Won't return crypto withdrawals. Use fetchLedger for those.
757
- :see: https://docs.cdp.coinbase.com/coinbase-app/docs/api-withdrawals#list-withdrawals
769
+
770
+ https://docs.cdp.coinbase.com/coinbase-app/docs/api-withdrawals#list-withdrawals
771
+
758
772
  :param str code: unified currency code
759
773
  :param int [since]: the earliest time in ms to fetch withdrawals for
760
774
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -772,7 +786,9 @@ class coinbase(Exchange, ImplicitAPI):
772
786
  async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
773
787
  """
774
788
  Fetch all fiat deposits made to an account. Won't return crypto deposits or staking rewards. Use fetchLedger for those.
775
- :see: https://docs.cdp.coinbase.com/coinbase-app/docs/api-deposits#list-deposits
789
+
790
+ https://docs.cdp.coinbase.com/coinbase-app/docs/api-deposits#list-deposits
791
+
776
792
  :param str code: unified currency code
777
793
  :param int [since]: the earliest time in ms to fetch deposits for
778
794
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -790,7 +806,9 @@ class coinbase(Exchange, ImplicitAPI):
790
806
  async def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
791
807
  """
792
808
  fetch history of deposits and withdrawals
793
- :see: https://docs.cdp.coinbase.com/coinbase-app/docs/api-transactions
809
+
810
+ https://docs.cdp.coinbase.com/coinbase-app/docs/api-transactions
811
+
794
812
  :param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
795
813
  :param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
796
814
  :param int [limit]: max number of deposit/withdrawals to return, default = 50, Min: 1, Max: 100
@@ -1146,9 +1164,11 @@ class coinbase(Exchange, ImplicitAPI):
1146
1164
 
1147
1165
  async def fetch_markets(self, params={}) -> List[Market]:
1148
1166
  """
1149
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1150
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1151
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1167
+
1168
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1169
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1170
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1171
+
1152
1172
  retrieves data on all markets for coinbase
1153
1173
  :param dict [params]: extra parameters specific to the exchange API endpoint
1154
1174
  :param boolean [params.usePrivate]: use private endpoint for fetching markets
@@ -1702,8 +1722,10 @@ class coinbase(Exchange, ImplicitAPI):
1702
1722
  async def fetch_currencies(self, params={}) -> Currencies:
1703
1723
  """
1704
1724
  fetches all available currencies on an exchange
1705
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1706
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1725
+
1726
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1727
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1728
+
1707
1729
  :param dict [params]: extra parameters specific to the exchange API endpoint
1708
1730
  :returns dict: an associative dictionary of currencies
1709
1731
  """
@@ -1790,8 +1812,10 @@ class coinbase(Exchange, ImplicitAPI):
1790
1812
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1791
1813
  """
1792
1814
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1793
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1794
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1815
+
1816
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1817
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1818
+
1795
1819
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1796
1820
  :param dict [params]: extra parameters specific to the exchange API endpoint
1797
1821
  :param boolean [params.usePrivate]: use private endpoint for fetching tickers
@@ -1902,10 +1926,12 @@ class coinbase(Exchange, ImplicitAPI):
1902
1926
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1903
1927
  """
1904
1928
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1905
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1906
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1907
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1908
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
1929
+
1930
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1931
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1932
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1933
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
1934
+
1909
1935
  :param str symbol: unified symbol of the market to fetch the ticker for
1910
1936
  :param dict [params]: extra parameters specific to the exchange API endpoint
1911
1937
  :param boolean [params.usePrivate]: whether to use the private endpoint for fetching the ticker
@@ -2149,9 +2175,11 @@ class coinbase(Exchange, ImplicitAPI):
2149
2175
  async def fetch_balance(self, params={}) -> Balances:
2150
2176
  """
2151
2177
  query for balance and get the amount of funds available for trading or funds locked in orders
2152
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2153
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2154
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2178
+
2179
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2180
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2181
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2182
+
2155
2183
  :param dict [params]: extra parameters specific to the exchange API endpoint
2156
2184
  :param boolean [params.v3]: default False, set True to use v3 api endpoint
2157
2185
  :param dict [params.type]: "spot"(default) or "swap" or "future"
@@ -2250,7 +2278,9 @@ class coinbase(Exchange, ImplicitAPI):
2250
2278
  async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
2251
2279
  """
2252
2280
  Fetch the history of changes, i.e. actions done by the user or operations that altered the balance. Will return staking rewards, and crypto deposits or withdrawals.
2253
- :see: https://docs.cdp.coinbase.com/coinbase-app/docs/api-transactions#list-transactions
2281
+
2282
+ https://docs.cdp.coinbase.com/coinbase-app/docs/api-transactions#list-transactions
2283
+
2254
2284
  :param str [code]: unified currency code, default is None
2255
2285
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
2256
2286
  :param int [limit]: max number of ledger entries to return, default is None
@@ -2669,7 +2699,9 @@ class coinbase(Exchange, ImplicitAPI):
2669
2699
  async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
2670
2700
  """
2671
2701
  create a market buy order by providing the symbol and cost
2672
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2702
+
2703
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2704
+
2673
2705
  :param str symbol: unified symbol of the market to create an order in
2674
2706
  :param float cost: how much you want to trade in units of the quote currency
2675
2707
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2685,7 +2717,9 @@ class coinbase(Exchange, ImplicitAPI):
2685
2717
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2686
2718
  """
2687
2719
  create a trade order
2688
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2720
+
2721
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2722
+
2689
2723
  :param str symbol: unified symbol of the market to create an order in
2690
2724
  :param str type: 'market' or 'limit'
2691
2725
  :param str side: 'buy' or 'sell'
@@ -3067,7 +3101,9 @@ class coinbase(Exchange, ImplicitAPI):
3067
3101
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
3068
3102
  """
3069
3103
  cancels an open order
3070
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3104
+
3105
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3106
+
3071
3107
  :param str id: order id
3072
3108
  :param str symbol: not used by coinbase cancelOrder()
3073
3109
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3080,7 +3116,9 @@ class coinbase(Exchange, ImplicitAPI):
3080
3116
  async def cancel_orders(self, ids, symbol: Str = None, params={}):
3081
3117
  """
3082
3118
  cancel multiple orders
3083
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3119
+
3120
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3121
+
3084
3122
  :param str[] ids: order ids
3085
3123
  :param str symbol: not used by coinbase cancelOrders()
3086
3124
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3115,7 +3153,9 @@ class coinbase(Exchange, ImplicitAPI):
3115
3153
  async def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
3116
3154
  """
3117
3155
  edit a trade order
3118
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3156
+
3157
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3158
+
3119
3159
  :param str id: cancel order id
3120
3160
  :param str symbol: unified symbol of the market to create an order in
3121
3161
  :param str type: 'market' or 'limit'
@@ -3156,7 +3196,9 @@ class coinbase(Exchange, ImplicitAPI):
3156
3196
  async def fetch_order(self, id: str, symbol: Str = None, params={}):
3157
3197
  """
3158
3198
  fetches information on an order made by the user
3159
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3199
+
3200
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3201
+
3160
3202
  :param str id: the order id
3161
3203
  :param str symbol: unified market symbol that the order was made in
3162
3204
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3215,7 +3257,9 @@ class coinbase(Exchange, ImplicitAPI):
3215
3257
  async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = 100, params={}) -> List[Order]:
3216
3258
  """
3217
3259
  fetches information on multiple orders made by the user
3218
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3260
+
3261
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3262
+
3219
3263
  :param str symbol: unified market symbol that the orders were made in
3220
3264
  :param int [since]: the earliest time in ms to fetch orders
3221
3265
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3367,7 +3411,9 @@ class coinbase(Exchange, ImplicitAPI):
3367
3411
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3368
3412
  """
3369
3413
  fetches information on all currently open orders
3370
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3414
+
3415
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3416
+
3371
3417
  :param str symbol: unified market symbol of the orders
3372
3418
  :param int [since]: timestamp in ms of the earliest order, default is None
3373
3419
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -3386,7 +3432,9 @@ class coinbase(Exchange, ImplicitAPI):
3386
3432
  async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3387
3433
  """
3388
3434
  fetches information on multiple closed orders made by the user
3389
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3435
+
3436
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3437
+
3390
3438
  :param str symbol: unified market symbol of the orders
3391
3439
  :param int [since]: timestamp in ms of the earliest order, default is None
3392
3440
  :param int [limit]: the maximum number of closed order structures to retrieve
@@ -3405,7 +3453,9 @@ class coinbase(Exchange, ImplicitAPI):
3405
3453
  async def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3406
3454
  """
3407
3455
  fetches information on multiple canceled orders made by the user
3408
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3456
+
3457
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3458
+
3409
3459
  :param str symbol: unified market symbol of the orders
3410
3460
  :param int [since]: timestamp in ms of the earliest order, default is None
3411
3461
  :param int [limit]: the maximum number of canceled order structures to retrieve
@@ -3417,7 +3467,9 @@ class coinbase(Exchange, ImplicitAPI):
3417
3467
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
3418
3468
  """
3419
3469
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3420
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3470
+
3471
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3472
+
3421
3473
  :param str symbol: unified symbol of the market to fetch OHLCV data for
3422
3474
  :param str timeframe: the length of time each candle represents
3423
3475
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -3505,7 +3557,9 @@ class coinbase(Exchange, ImplicitAPI):
3505
3557
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3506
3558
  """
3507
3559
  get the list of most recent trades for a particular symbol
3508
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3560
+
3561
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3562
+
3509
3563
  :param str symbol: unified market symbol of the trades
3510
3564
  :param int [since]: not used by coinbase fetchTrades
3511
3565
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3557,7 +3611,9 @@ class coinbase(Exchange, ImplicitAPI):
3557
3611
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3558
3612
  """
3559
3613
  fetch all trades made by the user
3560
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3614
+
3615
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3616
+
3561
3617
  :param str symbol: unified market symbol of the trades
3562
3618
  :param int [since]: timestamp in ms of the earliest order, default is None
3563
3619
  :param int [limit]: the maximum number of trade structures to fetch
@@ -3620,7 +3676,9 @@ class coinbase(Exchange, ImplicitAPI):
3620
3676
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
3621
3677
  """
3622
3678
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
3623
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3679
+
3680
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3681
+
3624
3682
  :param str symbol: unified symbol of the market to fetch the order book for
3625
3683
  :param int [limit]: the maximum amount of order book entries to return
3626
3684
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -3669,7 +3727,9 @@ class coinbase(Exchange, ImplicitAPI):
3669
3727
  async def fetch_bids_asks(self, symbols: Strings = None, params={}):
3670
3728
  """
3671
3729
  fetches the bid and ask price and volume for multiple markets
3672
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3730
+
3731
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3732
+
3673
3733
  :param str[] [symbols]: unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3674
3734
  :param dict [params]: extra parameters specific to the exchange API endpoint
3675
3735
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -3708,7 +3768,9 @@ class coinbase(Exchange, ImplicitAPI):
3708
3768
  async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
3709
3769
  """
3710
3770
  make a withdrawal
3711
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-transactions#send-money
3771
+
3772
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-transactions#send-money
3773
+
3712
3774
  :param str code: unified currency code
3713
3775
  :param float amount: the amount to withdraw
3714
3776
  :param str address: the address to withdraw to
@@ -3796,7 +3858,9 @@ class coinbase(Exchange, ImplicitAPI):
3796
3858
  async def fetch_deposit_addresses_by_network(self, code: str, params={}) -> List[DepositAddress]:
3797
3859
  """
3798
3860
  fetch the deposit address for a currency associated with self account
3799
- :see: https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postcoinbaseaccountaddresses
3861
+
3862
+ https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postcoinbaseaccountaddresses
3863
+
3800
3864
  :param str code: unified currency code
3801
3865
  :param dict [params]: extra parameters specific to the exchange API endpoint
3802
3866
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -3928,7 +3992,9 @@ class coinbase(Exchange, ImplicitAPI):
3928
3992
  async def deposit(self, code: str, amount: float, id: str, params={}):
3929
3993
  """
3930
3994
  make a deposit
3931
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-deposits#deposit-funds
3995
+
3996
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-deposits#deposit-funds
3997
+
3932
3998
  :param str code: unified currency code
3933
3999
  :param float amount: the amount to deposit
3934
4000
  :param str id: the payment method id to be used for the deposit, can be retrieved from v2PrivateGetPaymentMethods
@@ -3994,7 +4060,9 @@ class coinbase(Exchange, ImplicitAPI):
3994
4060
  async def fetch_deposit(self, id: str, code: Str = None, params={}):
3995
4061
  """
3996
4062
  fetch information on a deposit, fiat only, for crypto transactions use fetchLedger
3997
- :see: https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-deposits#show-deposit
4063
+
4064
+ https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-deposits#show-deposit
4065
+
3998
4066
  :param str id: deposit id
3999
4067
  :param str [code]: unified currency code
4000
4068
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4057,7 +4125,9 @@ class coinbase(Exchange, ImplicitAPI):
4057
4125
  async def fetch_convert_quote(self, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
4058
4126
  """
4059
4127
  fetch a quote for converting from one currency to another
4060
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
4128
+
4129
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
4130
+
4061
4131
  :param str fromCode: the currency that you want to sell and convert from
4062
4132
  :param str toCode: the currency that you want to buy and convert into
4063
4133
  :param float [amount]: how much you want to trade in units of the from currency
@@ -4080,7 +4150,9 @@ class coinbase(Exchange, ImplicitAPI):
4080
4150
  async def create_convert_trade(self, id: str, fromCode: str, toCode: str, amount: Num = None, params={}) -> Conversion:
4081
4151
  """
4082
4152
  convert from one currency to another
4083
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
4153
+
4154
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
4155
+
4084
4156
  :param str id: the id of the trade that you want to make
4085
4157
  :param str fromCode: the currency that you want to sell and convert from
4086
4158
  :param str toCode: the currency that you want to buy and convert into
@@ -4101,7 +4173,9 @@ class coinbase(Exchange, ImplicitAPI):
4101
4173
  async def fetch_convert_trade(self, id: str, code: Str = None, params={}) -> Conversion:
4102
4174
  """
4103
4175
  fetch the data for a conversion trade
4104
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4176
+
4177
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4178
+
4105
4179
  :param str id: the id of the trade that you want to commit
4106
4180
  :param str code: the unified currency code that was converted from
4107
4181
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4148,11 +4222,13 @@ class coinbase(Exchange, ImplicitAPI):
4148
4222
  async def close_position(self, symbol: str, side: OrderSide = None, params={}) -> Order:
4149
4223
  """
4150
4224
  *futures only* closes open positions for a market
4151
- :see: https://coinbase-api.github.io/docs/#/en-us/swapV2/trade-api.html#One-Click%20Close%20All%20Positions
4225
+
4226
+ https://coinbase-api.github.io/docs/#/en-us/swapV2/trade-api.html#One-Click%20Close%20All%20Positions
4227
+
4152
4228
  :param str symbol: Unified CCXT market symbol
4153
4229
  :param str [side]: not used by coinbase
4154
4230
  :param dict [params]: extra parameters specific to the coinbase api endpoint
4155
- * @param {str} params.clientOrderId *mandatory* the client order id of the position to close
4231
+ @param {str} params.clientOrderId *mandatory* the client order id of the position to close
4156
4232
  :param float [params.size]: the size of the position to close, optional
4157
4233
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
4158
4234
  """
@@ -4175,8 +4251,10 @@ class coinbase(Exchange, ImplicitAPI):
4175
4251
  async def fetch_positions(self, symbols: Strings = None, params={}):
4176
4252
  """
4177
4253
  fetch all open positions
4178
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4179
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4254
+
4255
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4256
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4257
+
4180
4258
  :param str[] [symbols]: list of unified market symbols
4181
4259
  :param dict [params]: extra parameters specific to the exchange API endpoint
4182
4260
  :param str [params.portfolio]: the portfolio UUID to fetch positions for
@@ -4207,8 +4285,10 @@ class coinbase(Exchange, ImplicitAPI):
4207
4285
  async def fetch_position(self, symbol: str, params={}):
4208
4286
  """
4209
4287
  fetch data on a single open contract trade position
4210
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4211
- :see: https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4288
+
4289
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4290
+ https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4291
+
4212
4292
  :param str symbol: unified market symbol of the market the position is held in, default is None
4213
4293
  :param dict [params]: extra parameters specific to the exchange API endpoint
4214
4294
  :param str [params.product_id]: *futures only* the product id of the position to fetch, required for futures markets only
@@ -4376,7 +4456,9 @@ class coinbase(Exchange, ImplicitAPI):
4376
4456
 
4377
4457
  async def fetch_trading_fees(self, params={}) -> TradingFees:
4378
4458
  """
4379
- :see: https://docs.cdp.coinbase.com/advanced-trade/reference/retailbrokerageapi_gettransactionsummary/
4459
+
4460
+ https://docs.cdp.coinbase.com/advanced-trade/reference/retailbrokerageapi_gettransactionsummary/
4461
+
4380
4462
  fetch the trading fees for multiple markets
4381
4463
  :param dict [params]: extra parameters specific to the exchange API endpoint
4382
4464
  :param str [params.type]: 'spot' or 'swap'