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