ccxt 4.4.29__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 (273) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/alpaca.py +1 -0
  3. ccxt/abstract/binance.py +9 -0
  4. ccxt/abstract/binancecoinm.py +9 -0
  5. ccxt/abstract/binanceus.py +9 -0
  6. ccxt/abstract/binanceusdm.py +9 -0
  7. ccxt/ace.py +36 -12
  8. ccxt/alpaca.py +113 -28
  9. ccxt/ascendex.py +65 -30
  10. ccxt/async_support/__init__.py +1 -1
  11. ccxt/async_support/ace.py +36 -12
  12. ccxt/async_support/alpaca.py +113 -28
  13. ccxt/async_support/ascendex.py +65 -30
  14. ccxt/async_support/base/exchange.py +3 -3
  15. ccxt/async_support/bigone.py +71 -27
  16. ccxt/async_support/binance.py +564 -323
  17. ccxt/async_support/bingx.py +208 -108
  18. ccxt/async_support/bit2c.py +34 -12
  19. ccxt/async_support/bitbank.py +42 -14
  20. ccxt/async_support/bitbns.py +29 -21
  21. ccxt/async_support/bitfinex.py +77 -33
  22. ccxt/async_support/bitfinex2.py +116 -44
  23. ccxt/async_support/bitflyer.py +54 -18
  24. ccxt/async_support/bitget.py +277 -145
  25. ccxt/async_support/bithumb.py +39 -14
  26. ccxt/async_support/bitmart.py +198 -132
  27. ccxt/async_support/bitmex.py +90 -30
  28. ccxt/async_support/bitopro.py +66 -22
  29. ccxt/async_support/bitrue.py +109 -57
  30. ccxt/async_support/bitso.py +55 -19
  31. ccxt/async_support/bitstamp.py +84 -36
  32. ccxt/async_support/bitteam.py +51 -17
  33. ccxt/async_support/bitvavo.py +57 -19
  34. ccxt/async_support/bl3p.py +26 -10
  35. ccxt/async_support/blockchaincom.py +63 -21
  36. ccxt/async_support/blofin.py +95 -38
  37. ccxt/async_support/btcalpha.py +48 -16
  38. ccxt/async_support/btcbox.py +27 -9
  39. ccxt/async_support/btcmarkets.py +57 -19
  40. ccxt/async_support/btcturk.py +36 -12
  41. ccxt/async_support/bybit.py +251 -95
  42. ccxt/async_support/cex.py +65 -22
  43. ccxt/async_support/coinbase.py +138 -56
  44. ccxt/async_support/coinbaseexchange.py +76 -28
  45. ccxt/async_support/coinbaseinternational.py +75 -27
  46. ccxt/async_support/coincatch.py +191 -97
  47. ccxt/async_support/coincheck.py +33 -11
  48. ccxt/async_support/coinex.py +212 -101
  49. ccxt/async_support/coinlist.py +87 -30
  50. ccxt/async_support/coinmate.py +55 -24
  51. ccxt/async_support/coinmetro.py +52 -18
  52. ccxt/async_support/coinone.py +27 -10
  53. ccxt/async_support/coinsph.py +73 -27
  54. ccxt/async_support/coinspot.py +25 -9
  55. ccxt/async_support/cryptocom.py +103 -38
  56. ccxt/async_support/currencycom.py +70 -23
  57. ccxt/async_support/delta.py +90 -30
  58. ccxt/async_support/deribit.py +138 -53
  59. ccxt/async_support/digifinex.py +114 -51
  60. ccxt/async_support/exmo.py +104 -45
  61. ccxt/async_support/gate.py +298 -155
  62. ccxt/async_support/gemini.py +57 -20
  63. ccxt/async_support/hashkey.py +151 -66
  64. ccxt/async_support/hitbtc.py +156 -73
  65. ccxt/async_support/hollaex.py +76 -25
  66. ccxt/async_support/htx.py +297 -240
  67. ccxt/async_support/huobijp.py +1 -0
  68. ccxt/async_support/hyperliquid.py +203 -42
  69. ccxt/async_support/idex.py +73 -24
  70. ccxt/async_support/independentreserve.py +12 -5
  71. ccxt/async_support/indodax.py +53 -16
  72. ccxt/async_support/kraken.py +107 -35
  73. ccxt/async_support/krakenfutures.py +88 -34
  74. ccxt/async_support/kucoin.py +211 -109
  75. ccxt/async_support/kucoinfutures.py +119 -42
  76. ccxt/async_support/kuna.py +80 -39
  77. ccxt/async_support/latoken.py +70 -33
  78. ccxt/async_support/lbank.py +90 -39
  79. ccxt/async_support/luno.py +54 -19
  80. ccxt/async_support/lykke.py +54 -19
  81. ccxt/async_support/mercado.py +1 -0
  82. ccxt/async_support/mexc.py +226 -108
  83. ccxt/async_support/ndax.py +58 -19
  84. ccxt/async_support/novadax.py +67 -22
  85. ccxt/async_support/oceanex.py +58 -19
  86. ccxt/async_support/okcoin.py +81 -38
  87. ccxt/async_support/okx.py +270 -109
  88. ccxt/async_support/onetrading.py +3 -1
  89. ccxt/async_support/oxfun.py +95 -36
  90. ccxt/async_support/p2b.py +49 -23
  91. ccxt/async_support/paradex.py +75 -27
  92. ccxt/async_support/paymium.py +31 -11
  93. ccxt/async_support/phemex.py +91 -41
  94. ccxt/async_support/poloniex.py +80 -30
  95. ccxt/async_support/poloniexfutures.py +72 -30
  96. ccxt/async_support/probit.py +64 -22
  97. ccxt/async_support/timex.py +58 -19
  98. ccxt/async_support/tokocrypto.py +63 -22
  99. ccxt/async_support/tradeogre.py +7 -2
  100. ccxt/async_support/upbit.py +72 -25
  101. ccxt/async_support/vertex.py +74 -28
  102. ccxt/async_support/wavesexchange.py +29 -8
  103. ccxt/async_support/wazirx.py +51 -17
  104. ccxt/async_support/whitebit.py +105 -41
  105. ccxt/async_support/woo.py +162 -65
  106. ccxt/async_support/woofipro.py +118 -49
  107. ccxt/async_support/xt.py +150 -73
  108. ccxt/async_support/yobit.py +49 -16
  109. ccxt/async_support/zaif.py +30 -10
  110. ccxt/async_support/zonda.py +46 -16
  111. ccxt/base/exchange.py +34 -34
  112. ccxt/base/types.py +1 -0
  113. ccxt/bigone.py +71 -27
  114. ccxt/binance.py +564 -323
  115. ccxt/bingx.py +208 -108
  116. ccxt/bit2c.py +34 -12
  117. ccxt/bitbank.py +42 -14
  118. ccxt/bitbns.py +29 -21
  119. ccxt/bitfinex.py +77 -33
  120. ccxt/bitfinex2.py +116 -44
  121. ccxt/bitflyer.py +54 -18
  122. ccxt/bitget.py +277 -145
  123. ccxt/bithumb.py +39 -14
  124. ccxt/bitmart.py +198 -132
  125. ccxt/bitmex.py +90 -30
  126. ccxt/bitopro.py +66 -22
  127. ccxt/bitrue.py +109 -57
  128. ccxt/bitso.py +55 -19
  129. ccxt/bitstamp.py +84 -36
  130. ccxt/bitteam.py +51 -17
  131. ccxt/bitvavo.py +57 -19
  132. ccxt/bl3p.py +26 -10
  133. ccxt/blockchaincom.py +63 -21
  134. ccxt/blofin.py +95 -38
  135. ccxt/btcalpha.py +48 -16
  136. ccxt/btcbox.py +27 -9
  137. ccxt/btcmarkets.py +57 -19
  138. ccxt/btcturk.py +36 -12
  139. ccxt/bybit.py +251 -95
  140. ccxt/cex.py +65 -22
  141. ccxt/coinbase.py +138 -56
  142. ccxt/coinbaseexchange.py +76 -28
  143. ccxt/coinbaseinternational.py +75 -27
  144. ccxt/coincatch.py +191 -97
  145. ccxt/coincheck.py +33 -11
  146. ccxt/coinex.py +212 -101
  147. ccxt/coinlist.py +87 -30
  148. ccxt/coinmate.py +55 -24
  149. ccxt/coinmetro.py +52 -18
  150. ccxt/coinone.py +27 -10
  151. ccxt/coinsph.py +73 -27
  152. ccxt/coinspot.py +25 -9
  153. ccxt/cryptocom.py +103 -38
  154. ccxt/currencycom.py +70 -23
  155. ccxt/delta.py +90 -30
  156. ccxt/deribit.py +138 -53
  157. ccxt/digifinex.py +114 -51
  158. ccxt/exmo.py +104 -45
  159. ccxt/gate.py +298 -155
  160. ccxt/gemini.py +57 -20
  161. ccxt/hashkey.py +151 -66
  162. ccxt/hitbtc.py +156 -73
  163. ccxt/hollaex.py +76 -25
  164. ccxt/htx.py +297 -240
  165. ccxt/huobijp.py +1 -0
  166. ccxt/hyperliquid.py +203 -42
  167. ccxt/idex.py +73 -24
  168. ccxt/independentreserve.py +12 -5
  169. ccxt/indodax.py +53 -16
  170. ccxt/kraken.py +107 -35
  171. ccxt/krakenfutures.py +88 -34
  172. ccxt/kucoin.py +211 -109
  173. ccxt/kucoinfutures.py +119 -42
  174. ccxt/kuna.py +80 -39
  175. ccxt/latoken.py +70 -33
  176. ccxt/lbank.py +90 -39
  177. ccxt/luno.py +54 -19
  178. ccxt/lykke.py +54 -19
  179. ccxt/mercado.py +1 -0
  180. ccxt/mexc.py +226 -108
  181. ccxt/ndax.py +58 -19
  182. ccxt/novadax.py +67 -22
  183. ccxt/oceanex.py +58 -19
  184. ccxt/okcoin.py +81 -38
  185. ccxt/okx.py +270 -109
  186. ccxt/onetrading.py +3 -1
  187. ccxt/oxfun.py +95 -36
  188. ccxt/p2b.py +49 -23
  189. ccxt/paradex.py +75 -27
  190. ccxt/paymium.py +31 -11
  191. ccxt/phemex.py +91 -41
  192. ccxt/poloniex.py +80 -30
  193. ccxt/poloniexfutures.py +72 -30
  194. ccxt/pro/__init__.py +1 -1
  195. ccxt/pro/alpaca.py +15 -5
  196. ccxt/pro/ascendex.py +18 -6
  197. ccxt/pro/binance.py +200 -119
  198. ccxt/pro/bingx.py +44 -24
  199. ccxt/pro/bitfinex.py +13 -5
  200. ccxt/pro/bitget.py +75 -36
  201. ccxt/pro/bithumb.py +12 -4
  202. ccxt/pro/bitmart.py +44 -20
  203. ccxt/pro/bitmex.py +42 -14
  204. ccxt/pro/bitopro.py +15 -5
  205. ccxt/pro/bitrue.py +7 -3
  206. ccxt/pro/bitvavo.py +51 -17
  207. ccxt/pro/blockchaincom.py +18 -6
  208. ccxt/pro/blofin.py +38 -13
  209. ccxt/pro/bybit.py +100 -42
  210. ccxt/pro/cex.py +48 -16
  211. ccxt/pro/coinbase.py +32 -12
  212. ccxt/pro/coinbaseexchange.py +1 -1
  213. ccxt/pro/coinbaseinternational.py +34 -14
  214. ccxt/pro/coincatch.py +54 -19
  215. ccxt/pro/coincheck.py +6 -2
  216. ccxt/pro/coinex.py +40 -20
  217. ccxt/pro/coinone.py +9 -3
  218. ccxt/pro/cryptocom.py +70 -26
  219. ccxt/pro/deribit.py +36 -12
  220. ccxt/pro/exmo.py +10 -4
  221. ccxt/pro/gate.py +64 -30
  222. ccxt/pro/gemini.py +21 -7
  223. ccxt/pro/hashkey.py +26 -8
  224. ccxt/pro/hitbtc.py +61 -37
  225. ccxt/pro/hollaex.py +15 -5
  226. ccxt/pro/htx.py +39 -21
  227. ccxt/pro/hyperliquid.py +41 -14
  228. ccxt/pro/kraken.py +49 -17
  229. ccxt/pro/krakenfutures.py +47 -24
  230. ccxt/pro/kucoin.py +60 -31
  231. ccxt/pro/kucoinfutures.py +41 -19
  232. ccxt/pro/lbank.py +27 -9
  233. ccxt/pro/luno.py +3 -1
  234. ccxt/pro/mexc.py +35 -17
  235. ccxt/pro/ndax.py +12 -4
  236. ccxt/pro/okcoin.py +18 -6
  237. ccxt/pro/okx.py +76 -28
  238. ccxt/pro/onetrading.py +21 -7
  239. ccxt/pro/oxfun.py +54 -20
  240. ccxt/pro/p2b.py +23 -11
  241. ccxt/pro/paradex.py +12 -4
  242. ccxt/pro/phemex.py +31 -19
  243. ccxt/pro/poloniex.py +50 -22
  244. ccxt/pro/poloniexfutures.py +17 -7
  245. ccxt/pro/probit.py +18 -6
  246. ccxt/pro/upbit.py +25 -9
  247. ccxt/pro/vertex.py +20 -6
  248. ccxt/pro/wazirx.py +21 -7
  249. ccxt/pro/whitebit.py +25 -9
  250. ccxt/pro/woo.py +32 -12
  251. ccxt/pro/woofipro.py +35 -13
  252. ccxt/pro/xt.py +46 -26
  253. ccxt/probit.py +64 -22
  254. ccxt/test/tests_helpers.py +2 -2
  255. ccxt/timex.py +58 -19
  256. ccxt/tokocrypto.py +63 -22
  257. ccxt/tradeogre.py +7 -2
  258. ccxt/upbit.py +72 -25
  259. ccxt/vertex.py +74 -28
  260. ccxt/wavesexchange.py +29 -8
  261. ccxt/wazirx.py +51 -17
  262. ccxt/whitebit.py +105 -41
  263. ccxt/woo.py +162 -65
  264. ccxt/woofipro.py +118 -49
  265. ccxt/xt.py +150 -73
  266. ccxt/yobit.py +49 -16
  267. ccxt/zaif.py +30 -10
  268. ccxt/zonda.py +46 -16
  269. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  270. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/RECORD +273 -273
  271. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  272. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  273. {ccxt-4.4.29.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/pro/binance.py CHANGED
@@ -204,8 +204,10 @@ class binance(ccxt.async_support.binance):
204
204
  async def watch_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
205
205
  """
206
206
  watch the public liquidations of a trading pair
207
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Liquidation-Order-Streams
208
- :see: https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Liquidation-Order-Streams
207
+
208
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Liquidation-Order-Streams
209
+ https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/Liquidation-Order-Streams
210
+
209
211
  :param str symbol: unified CCXT market symbol
210
212
  :param int [since]: the earliest time in ms to fetch liquidations for
211
213
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -217,9 +219,11 @@ class binance(ccxt.async_support.binance):
217
219
  async def watch_liquidations_for_symbols(self, symbols: List[str] = None, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
218
220
  """
219
221
  watch the public liquidations of a trading pair
220
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams
221
- :see: https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams
222
- :param str symbol: unified CCXT market symbol
222
+
223
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams
224
+ https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Market-Liquidation-Order-Streams
225
+
226
+ :param str[] symbols:
223
227
  :param int [since]: the earliest time in ms to fetch liquidations for
224
228
  :param int [limit]: the maximum number of liquidation structures to retrieve
225
229
  :param dict [params]: exchange specific parameters for the bitmex api endpoint
@@ -413,8 +417,10 @@ class binance(ccxt.async_support.binance):
413
417
  async def watch_my_liquidations(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
414
418
  """
415
419
  watch the private liquidations of a trading pair
416
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
417
- :see: https://developers.binance.com/docs/derivatives/coin-margined-futures/user-data-streams/Event-Order-Update
420
+
421
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
422
+ https://developers.binance.com/docs/derivatives/coin-margined-futures/user-data-streams/Event-Order-Update
423
+
418
424
  :param str symbol: unified CCXT market symbol
419
425
  :param int [since]: the earliest time in ms to fetch liquidations for
420
426
  :param int [limit]: the maximum number of liquidation structures to retrieve
@@ -426,9 +432,11 @@ class binance(ccxt.async_support.binance):
426
432
  async def watch_my_liquidations_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Liquidation]:
427
433
  """
428
434
  watch the private liquidations of a trading pair
429
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
430
- :see: https://developers.binance.com/docs/derivatives/coin-margined-futures/user-data-streams/Event-Order-Update
431
- :param str symbol: unified CCXT market symbol
435
+
436
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
437
+ https://developers.binance.com/docs/derivatives/coin-margined-futures/user-data-streams/Event-Order-Update
438
+
439
+ @param symbols
432
440
  :param int [since]: the earliest time in ms to fetch liquidations for
433
441
  :param int [limit]: the maximum number of liquidation structures to retrieve
434
442
  :param dict [params]: exchange specific parameters for the bitmex api endpoint
@@ -521,12 +529,14 @@ class binance(ccxt.async_support.binance):
521
529
 
522
530
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
523
531
  """
524
- :see: https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
525
- :see: https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
526
- :see: https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
527
- :see: https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
528
- :see: https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
529
- :see: https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
532
+
533
+ https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
534
+ https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
535
+ https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
536
+ https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
537
+ https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
538
+ https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
539
+
530
540
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
531
541
  :param str symbol: unified symbol of the market to fetch the order book for
532
542
  :param int [limit]: the maximum amount of order book entries to return
@@ -574,12 +584,14 @@ class binance(ccxt.async_support.binance):
574
584
 
575
585
  async def watch_order_book_for_symbols(self, symbols: List[str], limit: Int = None, params={}) -> OrderBook:
576
586
  """
577
- :see: https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
578
- :see: https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
579
- :see: https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
580
- :see: https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
581
- :see: https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
582
- :see: https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
587
+
588
+ https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
589
+ https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
590
+ https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
591
+ https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
592
+ https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
593
+ https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
594
+
583
595
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
584
596
  :param str[] symbols: unified array of symbols
585
597
  :param int [limit]: the maximum amount of order book entries to return
@@ -631,12 +643,14 @@ class binance(ccxt.async_support.binance):
631
643
 
632
644
  async def un_watch_order_book_for_symbols(self, symbols: List[str], params={}) -> Any:
633
645
  """
634
- :see: https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
635
- :see: https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
636
- :see: https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
637
- :see: https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
638
- :see: https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
639
- :see: https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
646
+
647
+ https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
648
+ https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
649
+ https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
650
+ https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
651
+ https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
652
+ https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
653
+
640
654
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
641
655
  :param str[] symbols: unified array of symbols
642
656
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -684,12 +698,14 @@ class binance(ccxt.async_support.binance):
684
698
 
685
699
  async def un_watch_order_book(self, symbol: str, params={}) -> Any:
686
700
  """
687
- :see: https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
688
- :see: https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
689
- :see: https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
690
- :see: https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
691
- :see: https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
692
- :see: https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
701
+
702
+ https://binance-docs.github.io/apidocs/spot/en/#partial-book-depth-streams
703
+ https://binance-docs.github.io/apidocs/spot/en/#diff-depth-stream
704
+ https://binance-docs.github.io/apidocs/futures/en/#partial-book-depth-streams
705
+ https://binance-docs.github.io/apidocs/futures/en/#diff-book-depth-streams
706
+ https://binance-docs.github.io/apidocs/delivery/en/#partial-book-depth-streams
707
+ https://binance-docs.github.io/apidocs/delivery/en/#diff-book-depth-streams
708
+
693
709
  unWatches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
694
710
  :param str symbol: unified array of symbols
695
711
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -700,8 +716,10 @@ class binance(ccxt.async_support.binance):
700
716
  async def fetch_order_book_ws(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
701
717
  """
702
718
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
703
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#order-book
704
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book
719
+
720
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#order-book
721
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/websocket-api/Order-Book
722
+
705
723
  :param str symbol: unified symbol of the market to fetch the order book for
706
724
  :param int [limit]: the maximum amount of order book entries to return
707
725
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -964,10 +982,12 @@ class binance(ccxt.async_support.binance):
964
982
  async def watch_trades_for_symbols(self, symbols: List[str], since: Int = None, limit: Int = None, params={}) -> List[Trade]:
965
983
  """
966
984
  get the list of most recent trades for a list of symbols
967
- :see: https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
968
- :see: https://binance-docs.github.io/apidocs/spot/en/#trade-streams
969
- :see: https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
970
- :see: https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
985
+
986
+ https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
987
+ https://binance-docs.github.io/apidocs/spot/en/#trade-streams
988
+ https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
989
+ https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
990
+
971
991
  :param str[] symbols: unified symbol of the market to fetch trades for
972
992
  :param int [since]: timestamp in ms of the earliest trade to fetch
973
993
  :param int [limit]: the maximum amount of trades to fetch
@@ -1020,10 +1040,12 @@ class binance(ccxt.async_support.binance):
1020
1040
  async def un_watch_trades_for_symbols(self, symbols: List[str], params={}) -> Any:
1021
1041
  """
1022
1042
  unsubscribes from the trades channel
1023
- :see: https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1024
- :see: https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1025
- :see: https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1026
- :see: https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1043
+
1044
+ https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1045
+ https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1046
+ https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1047
+ https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1048
+
1027
1049
  :param str[] symbols: unified symbol of the market to fetch trades for
1028
1050
  :param dict [params]: extra parameters specific to the exchange API endpoint
1029
1051
  :param str [params.name]: the name of the method to call, 'trade' or 'aggTrade', default is 'trade'
@@ -1076,10 +1098,12 @@ class binance(ccxt.async_support.binance):
1076
1098
  async def un_watch_trades(self, symbol: str, params={}) -> Any:
1077
1099
  """
1078
1100
  unsubscribes from the trades channel
1079
- :see: https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1080
- :see: https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1081
- :see: https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1082
- :see: https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1101
+
1102
+ https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1103
+ https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1104
+ https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1105
+ https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1106
+
1083
1107
  :param str symbol: unified symbol of the market to fetch trades for
1084
1108
  :param dict [params]: extra parameters specific to the exchange API endpoint
1085
1109
  :param str [params.name]: the name of the method to call, 'trade' or 'aggTrade', default is 'trade'
@@ -1091,10 +1115,12 @@ class binance(ccxt.async_support.binance):
1091
1115
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1092
1116
  """
1093
1117
  get the list of most recent trades for a particular symbol
1094
- :see: https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1095
- :see: https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1096
- :see: https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1097
- :see: https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1118
+
1119
+ https://binance-docs.github.io/apidocs/spot/en/#aggregate-trade-streams
1120
+ https://binance-docs.github.io/apidocs/spot/en/#trade-streams
1121
+ https://binance-docs.github.io/apidocs/futures/en/#aggregate-trade-streams
1122
+ https://binance-docs.github.io/apidocs/delivery/en/#aggregate-trade-streams
1123
+
1098
1124
  :param str symbol: unified symbol of the market to fetch trades for
1099
1125
  :param int [since]: timestamp in ms of the earliest trade to fetch
1100
1126
  :param int [limit]: the maximum amount of trades to fetch
@@ -1281,9 +1307,11 @@ class binance(ccxt.async_support.binance):
1281
1307
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1282
1308
  """
1283
1309
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1284
- :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1285
- :see: https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1286
- :see: https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1310
+
1311
+ https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1312
+ https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1313
+ https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1314
+
1287
1315
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1288
1316
  :param str timeframe: the length of time each candle represents
1289
1317
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -1302,9 +1330,11 @@ class binance(ccxt.async_support.binance):
1302
1330
  async def watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], since: Int = None, limit: Int = None, params={}):
1303
1331
  """
1304
1332
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1305
- :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1306
- :see: https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1307
- :see: https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1333
+
1334
+ https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1335
+ https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1336
+ https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1337
+
1308
1338
  :param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
1309
1339
  :param int [since]: timestamp in ms of the earliest candle to fetch
1310
1340
  :param int [limit]: the maximum amount of candles to fetch
@@ -1362,9 +1392,11 @@ class binance(ccxt.async_support.binance):
1362
1392
  async def un_watch_ohlcv_for_symbols(self, symbolsAndTimeframes: List[List[str]], params={}) -> Any:
1363
1393
  """
1364
1394
  unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1365
- :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1366
- :see: https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1367
- :see: https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1395
+
1396
+ https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1397
+ https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1398
+ https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1399
+
1368
1400
  :param str[][] symbolsAndTimeframes: array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
1369
1401
  :param dict [params]: extra parameters specific to the exchange API endpoint
1370
1402
  :param dict [params.timezone]: if provided, kline intervals are interpreted in that timezone instead of UTC, example '+08:00'
@@ -1424,9 +1456,11 @@ class binance(ccxt.async_support.binance):
1424
1456
  async def un_watch_ohlcv(self, symbol: str, timeframe='1m', params={}) -> Any:
1425
1457
  """
1426
1458
  unWatches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1427
- :see: https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1428
- :see: https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1429
- :see: https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1459
+
1460
+ https://binance-docs.github.io/apidocs/spot/en/#kline-candlestick-data
1461
+ https://binance-docs.github.io/apidocs/futures/en/#kline-candlestick-data
1462
+ https://binance-docs.github.io/apidocs/delivery/en/#kline-candlestick-data
1463
+
1430
1464
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1431
1465
  :param str timeframe: the length of time each candle represents
1432
1466
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1542,15 +1576,17 @@ class binance(ccxt.async_support.binance):
1542
1576
  async def fetch_ohlcv_ws(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1543
1577
  """
1544
1578
  query historical candlestick data containing the open, high, low, and close price, and the volume of a market
1545
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#klines
1579
+
1580
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#klines
1581
+
1546
1582
  :param str symbol: unified symbol of the market to query OHLCV data for
1547
1583
  :param str timeframe: the length of time each candle represents
1548
1584
  :param int since: timestamp in ms of the earliest candle to fetch
1549
1585
  :param int limit: the maximum amount of candles to fetch
1550
1586
  :param dict params: extra parameters specific to the exchange API endpoint
1551
1587
  :param int params['until']: timestamp in ms of the earliest candle to fetch
1552
- *
1553
- * EXCHANGE SPECIFIC PARAMETERS
1588
+
1589
+ EXCHANGE SPECIFIC PARAMETERS
1554
1590
  :param str params['timeZone']: default=0(UTC)
1555
1591
  :returns int[][]: A list of candles ordered, open, high, low, close, volume
1556
1592
  """
@@ -1627,12 +1663,14 @@ class binance(ccxt.async_support.binance):
1627
1663
 
1628
1664
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
1629
1665
  """
1630
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1631
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1632
- :see: https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1633
- :see: https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1634
- :see: https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1635
- :see: https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1666
+
1667
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1668
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1669
+ https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1670
+ https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1671
+ https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1672
+ https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1673
+
1636
1674
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1637
1675
  :param str symbol: unified symbol of the market to fetch the ticker for
1638
1676
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1646,7 +1684,9 @@ class binance(ccxt.async_support.binance):
1646
1684
 
1647
1685
  async def watch_mark_price(self, symbol: str, params={}) -> Ticker:
1648
1686
  """
1649
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream
1687
+
1688
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream
1689
+
1650
1690
  watches a mark price for a specific market
1651
1691
  :param str symbol: unified symbol of the market to fetch the ticker for
1652
1692
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1660,7 +1700,9 @@ class binance(ccxt.async_support.binance):
1660
1700
 
1661
1701
  async def watch_mark_prices(self, symbols: Strings = None, params={}) -> Tickers:
1662
1702
  """
1663
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market
1703
+
1704
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/Mark-Price-Stream-for-All-market
1705
+
1664
1706
  watches the mark price for all markets
1665
1707
  :param str[] symbols: unified symbol of the market to fetch the ticker for
1666
1708
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1679,12 +1721,14 @@ class binance(ccxt.async_support.binance):
1679
1721
 
1680
1722
  async def watch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1681
1723
  """
1682
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1683
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1684
- :see: https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1685
- :see: https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1686
- :see: https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1687
- :see: https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1724
+
1725
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1726
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1727
+ https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1728
+ https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1729
+ https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1730
+ https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1731
+
1688
1732
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1689
1733
  :param str[] symbols: unified symbol of the market to fetch the ticker for
1690
1734
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1701,12 +1745,14 @@ class binance(ccxt.async_support.binance):
1701
1745
 
1702
1746
  async def un_watch_tickers(self, symbols: Strings = None, params={}) -> Any:
1703
1747
  """
1704
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1705
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1706
- :see: https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1707
- :see: https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1708
- :see: https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1709
- :see: https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1748
+
1749
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1750
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1751
+ https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1752
+ https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1753
+ https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1754
+ https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1755
+
1710
1756
  unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1711
1757
  :param str[] symbols: unified symbol of the market to fetch the ticker for
1712
1758
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1778,12 +1824,14 @@ class binance(ccxt.async_support.binance):
1778
1824
 
1779
1825
  async def un_watch_ticker(self, symbol: str, params={}) -> Any:
1780
1826
  """
1781
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1782
- :see: https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1783
- :see: https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1784
- :see: https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1785
- :see: https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1786
- :see: https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1827
+
1828
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-mini-ticker-stream
1829
+ https://binance-docs.github.io/apidocs/spot/en/#individual-symbol-ticker-streams
1830
+ https://binance-docs.github.io/apidocs/futures/en/#all-market-mini-tickers-stream
1831
+ https://binance-docs.github.io/apidocs/futures/en/#individual-symbol-ticker-streams
1832
+ https://binance-docs.github.io/apidocs/delivery/en/#all-market-mini-tickers-stream
1833
+ https://binance-docs.github.io/apidocs/delivery/en/#individual-symbol-ticker-streams
1834
+
1787
1835
  unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
1788
1836
  :param str symbol: unified symbol of the market to fetch the ticker for
1789
1837
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1794,9 +1842,11 @@ class binance(ccxt.async_support.binance):
1794
1842
  async def watch_bids_asks(self, symbols: Strings = None, params={}) -> Tickers:
1795
1843
  """
1796
1844
  watches best bid & ask for symbols
1797
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-order-book-ticker
1798
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1799
- :see: https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1845
+
1846
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#symbol-order-book-ticker
1847
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1848
+ https://developers.binance.com/docs/derivatives/coin-margined-futures/websocket-market-streams/All-Book-Tickers-Stream
1849
+
1800
1850
  :param str[] symbols: unified symbol of the market to fetch the ticker for
1801
1851
  :param dict [params]: extra parameters specific to the exchange API endpoint
1802
1852
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -2280,8 +2330,10 @@ class binance(ccxt.async_support.binance):
2280
2330
  async def fetch_balance_ws(self, params={}) -> Balances:
2281
2331
  """
2282
2332
  fetch balance and get the amount of funds available for trading or funds locked in orders
2283
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance
2284
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-information-user_data
2333
+
2334
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/account/websocket-api/Futures-Account-Balance
2335
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-information-user_data
2336
+
2285
2337
  :param dict [params]: extra parameters specific to the exchange API endpoint
2286
2338
  :param str|None [params.type]: 'future', 'delivery', 'savings', 'funding', or 'spot'
2287
2339
  :param str|None [params.marginMode]: 'cross' or 'isolated', for margin trading, uses self.options.defaultMarginMode if not passed, defaults to None/None/None
@@ -2382,7 +2434,9 @@ class binance(ccxt.async_support.binance):
2382
2434
 
2383
2435
  async def fetch_position_ws(self, symbol: str, params={}) -> List[Position]:
2384
2436
  """
2385
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2437
+
2438
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2439
+
2386
2440
  fetch data on an open position
2387
2441
  :param str symbol: unified market symbol of the market the position is held in
2388
2442
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2393,7 +2447,9 @@ class binance(ccxt.async_support.binance):
2393
2447
  async def fetch_positions_ws(self, symbols: Strings = None, params={}) -> List[Position]:
2394
2448
  """
2395
2449
  fetch all open positions
2396
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2450
+
2451
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Position-Information
2452
+
2397
2453
  :param str[] [symbols]: list of unified market symbols
2398
2454
  :param dict [params]: extra parameters specific to the exchange API endpoint
2399
2455
  :param boolean [params.returnRateLimits]: set to True to return rate limit informations, defaults to False.
@@ -2615,8 +2671,10 @@ class binance(ccxt.async_support.binance):
2615
2671
  async def create_order_ws(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}) -> Order:
2616
2672
  """
2617
2673
  create a trade order
2618
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#place-new-order-trade
2619
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order
2674
+
2675
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#place-new-order-trade
2676
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/New-Order
2677
+
2620
2678
  :param str symbol: unified symbol of the market to create an order in
2621
2679
  :param str type: 'market' or 'limit'
2622
2680
  :param str side: 'buy' or 'sell'
@@ -2757,8 +2815,10 @@ class binance(ccxt.async_support.binance):
2757
2815
  async def edit_order_ws(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}) -> Order:
2758
2816
  """
2759
2817
  edit a trade order
2760
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-and-replace-order-trade
2761
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order
2818
+
2819
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-and-replace-order-trade
2820
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Modify-Order
2821
+
2762
2822
  :param str id: order id
2763
2823
  :param str symbol: unified symbol of the market to create an order in
2764
2824
  :param str type: 'market' or 'limit'
@@ -2906,8 +2966,10 @@ class binance(ccxt.async_support.binance):
2906
2966
  async def cancel_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
2907
2967
  """
2908
2968
  cancel multiple orders
2909
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-order-trade
2910
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order
2969
+
2970
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-order-trade
2971
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Cancel-Order
2972
+
2911
2973
  :param str id: order id
2912
2974
  :param str symbol: unified market symbol, default is None
2913
2975
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2947,7 +3009,9 @@ class binance(ccxt.async_support.binance):
2947
3009
  async def cancel_all_orders_ws(self, symbol: Str = None, params={}):
2948
3010
  """
2949
3011
  cancel all open orders in a market
2950
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-open-orders-trade
3012
+
3013
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#cancel-open-orders-trade
3014
+
2951
3015
  :param str symbol: unified market symbol of the market to cancel orders in
2952
3016
  :param dict [params]: extra parameters specific to the exchange API endpoint
2953
3017
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2979,8 +3043,11 @@ class binance(ccxt.async_support.binance):
2979
3043
  async def fetch_order_ws(self, id: str, symbol: Str = None, params={}) -> Order:
2980
3044
  """
2981
3045
  fetches information on an order made by the user
2982
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-user_data
2983
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order
3046
+
3047
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-user_data
3048
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/trade/websocket-api/Query-Order
3049
+
3050
+ :param str id: order id
2984
3051
  :param str symbol: unified symbol of the market the order was made in
2985
3052
  :param dict params: extra parameters specific to the exchange API endpoint
2986
3053
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -3019,7 +3086,9 @@ class binance(ccxt.async_support.binance):
3019
3086
  async def fetch_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3020
3087
  """
3021
3088
  fetches information on multiple orders made by the user
3022
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3089
+
3090
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3091
+
3023
3092
  :param str symbol: unified market symbol of the market orders were made in
3024
3093
  :param int|None [since]: the earliest time in ms to fetch orders for
3025
3094
  :param int|None [limit]: the maximum number of order structures to retrieve
@@ -3060,7 +3129,9 @@ class binance(ccxt.async_support.binance):
3060
3129
  async def fetch_closed_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3061
3130
  """
3062
3131
  fetch closed orders
3063
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3132
+
3133
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#query-order-list-user_data
3134
+
3064
3135
  :param str symbol: unified market symbol
3065
3136
  :param int [since]: the earliest time in ms to fetch open orders for
3066
3137
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -3078,7 +3149,9 @@ class binance(ccxt.async_support.binance):
3078
3149
  async def fetch_open_orders_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3079
3150
  """
3080
3151
  fetch all unfilled currently open orders
3081
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-open-orders-user_data
3152
+
3153
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#current-open-orders-user_data
3154
+
3082
3155
  :param str symbol: unified market symbol
3083
3156
  :param int|None [since]: the earliest time in ms to fetch open orders for
3084
3157
  :param int|None [limit]: the maximum number of open orders structures to retrieve
@@ -3114,9 +3187,11 @@ class binance(ccxt.async_support.binance):
3114
3187
  async def watch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
3115
3188
  """
3116
3189
  watches information on multiple orders made by the user
3117
- :see: https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream#order-update
3118
- :see: https://developers.binance.com/docs/margin_trading/trade-data-stream/Event-Order-Update
3119
- :see: https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
3190
+
3191
+ https://developers.binance.com/docs/binance-spot-api-docs/user-data-stream#order-update
3192
+ https://developers.binance.com/docs/margin_trading/trade-data-stream/Event-Order-Update
3193
+ https://developers.binance.com/docs/derivatives/usds-margined-futures/user-data-streams/Event-Order-Update
3194
+
3120
3195
  :param str symbol: unified market symbol of the market the orders were made in
3121
3196
  :param int [since]: the earliest time in ms to fetch orders for
3122
3197
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3399,6 +3474,8 @@ class binance(ccxt.async_support.binance):
3399
3474
  """
3400
3475
  watch all open positions
3401
3476
  :param str[]|None symbols: list of unified market symbols
3477
+ @param since
3478
+ @param limit
3402
3479
  :param dict params: extra parameters specific to the exchange API endpoint
3403
3480
  :param boolean [params.portfolioMargin]: set to True if you would like to watch positions in a portfolio margin account
3404
3481
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/en/latest/manual.html#position-structure>`
@@ -3593,7 +3670,9 @@ class binance(ccxt.async_support.binance):
3593
3670
  async def fetch_my_trades_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3594
3671
  """
3595
3672
  fetch all trades made by the user
3596
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-trade-history-user_data
3673
+
3674
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#account-trade-history-user_data
3675
+
3597
3676
  :param str symbol: unified market symbol
3598
3677
  :param int|None [since]: the earliest time in ms to fetch trades for
3599
3678
  :param int|None [limit]: the maximum number of trades structures to retrieve
@@ -3639,13 +3718,15 @@ class binance(ccxt.async_support.binance):
3639
3718
  async def fetch_trades_ws(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
3640
3719
  """
3641
3720
  fetch all trades made by the user
3642
- :see: https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#recent-trades
3721
+
3722
+ https://developers.binance.com/docs/binance-spot-api-docs/web-socket-api#recent-trades
3723
+
3643
3724
  :param str symbol: unified market symbol
3644
3725
  :param int [since]: the earliest time in ms to fetch trades for
3645
3726
  :param int [limit]: the maximum number of trades structures to retrieve, default=500, max=1000
3646
3727
  :param dict [params]: extra parameters specific to the exchange API endpoint
3647
- *
3648
- * EXCHANGE SPECIFIC PARAMETERS
3728
+
3729
+ EXCHANGE SPECIFIC PARAMETERS
3649
3730
  :param int [params.fromId]: trade ID to begin at
3650
3731
  :returns dict[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
3651
3732
  """