ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__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 (179) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/abstract/okcoin.py +70 -206
  3. ccxt/ace.py +12 -12
  4. ccxt/ascendex.py +5 -5
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +12 -12
  7. ccxt/async_support/ascendex.py +5 -5
  8. ccxt/async_support/base/exchange.py +1 -1
  9. ccxt/async_support/bigone.py +2 -2
  10. ccxt/async_support/binance.py +184 -184
  11. ccxt/async_support/bingx.py +48 -48
  12. ccxt/async_support/bitbank.py +14 -14
  13. ccxt/async_support/bitbns.py +7 -7
  14. ccxt/async_support/bitfinex.py +2 -2
  15. ccxt/async_support/bitfinex2.py +35 -35
  16. ccxt/async_support/bitflyer.py +17 -17
  17. ccxt/async_support/bitforex.py +9 -9
  18. ccxt/async_support/bitget.py +433 -215
  19. ccxt/async_support/bitmart.py +39 -39
  20. ccxt/async_support/bitmex.py +7 -7
  21. ccxt/async_support/bitopro.py +1 -1
  22. ccxt/async_support/bitpanda.py +1 -1
  23. ccxt/async_support/bitrue.py +2 -2
  24. ccxt/async_support/bitso.py +2 -2
  25. ccxt/async_support/bitstamp.py +3 -3
  26. ccxt/async_support/bitvavo.py +2 -2
  27. ccxt/async_support/bl3p.py +1 -1
  28. ccxt/async_support/btcalpha.py +7 -7
  29. ccxt/async_support/btcturk.py +1 -1
  30. ccxt/async_support/bybit.py +58 -58
  31. ccxt/async_support/cex.py +1 -1
  32. ccxt/async_support/coinbase.py +13 -13
  33. ccxt/async_support/coinbasepro.py +15 -15
  34. ccxt/async_support/coinex.py +19 -19
  35. ccxt/async_support/coinone.py +2 -2
  36. ccxt/async_support/coinsph.py +4 -4
  37. ccxt/async_support/coinspot.py +2 -2
  38. ccxt/async_support/cryptocom.py +28 -28
  39. ccxt/async_support/currencycom.py +1 -1
  40. ccxt/async_support/delta.py +26 -26
  41. ccxt/async_support/deribit.py +9 -9
  42. ccxt/async_support/digifinex.py +38 -38
  43. ccxt/async_support/exmo.py +18 -18
  44. ccxt/async_support/gate.py +59 -59
  45. ccxt/async_support/gemini.py +4 -4
  46. ccxt/async_support/hitbtc.py +6 -6
  47. ccxt/async_support/hollaex.py +2 -2
  48. ccxt/async_support/huobi.py +70 -70
  49. ccxt/async_support/indodax.py +1 -1
  50. ccxt/async_support/kraken.py +33 -33
  51. ccxt/async_support/krakenfutures.py +6 -5
  52. ccxt/async_support/kucoin.py +74 -74
  53. ccxt/async_support/kucoinfutures.py +8 -8
  54. ccxt/async_support/latoken.py +14 -14
  55. ccxt/async_support/lbank2.py +33 -33
  56. ccxt/async_support/mexc.py +22 -22
  57. ccxt/async_support/ndax.py +1 -1
  58. ccxt/async_support/novadax.py +22 -22
  59. ccxt/async_support/oceanex.py +18 -18
  60. ccxt/async_support/okcoin.py +1950 -2758
  61. ccxt/async_support/okx.py +73 -73
  62. ccxt/async_support/paymium.py +11 -11
  63. ccxt/async_support/phemex.py +26 -26
  64. ccxt/async_support/poloniex.py +30 -30
  65. ccxt/async_support/poloniexfutures.py +25 -25
  66. ccxt/async_support/probit.py +21 -21
  67. ccxt/async_support/tokocrypto.py +22 -22
  68. ccxt/async_support/upbit.py +21 -21
  69. ccxt/async_support/wavesexchange.py +2 -2
  70. ccxt/async_support/wazirx.py +14 -14
  71. ccxt/async_support/whitebit.py +6 -6
  72. ccxt/async_support/woo.py +21 -21
  73. ccxt/async_support/yobit.py +16 -16
  74. ccxt/async_support/zaif.py +10 -10
  75. ccxt/async_support/zonda.py +15 -15
  76. ccxt/base/exchange.py +2 -1
  77. ccxt/bigone.py +2 -2
  78. ccxt/binance.py +184 -184
  79. ccxt/bingx.py +48 -48
  80. ccxt/bitbank.py +14 -14
  81. ccxt/bitbns.py +7 -7
  82. ccxt/bitfinex.py +2 -2
  83. ccxt/bitfinex2.py +35 -35
  84. ccxt/bitflyer.py +17 -17
  85. ccxt/bitforex.py +9 -9
  86. ccxt/bitget.py +433 -215
  87. ccxt/bitmart.py +39 -39
  88. ccxt/bitmex.py +7 -7
  89. ccxt/bitopro.py +1 -1
  90. ccxt/bitpanda.py +1 -1
  91. ccxt/bitrue.py +2 -2
  92. ccxt/bitso.py +2 -2
  93. ccxt/bitstamp.py +3 -3
  94. ccxt/bitvavo.py +2 -2
  95. ccxt/bl3p.py +1 -1
  96. ccxt/btcalpha.py +7 -7
  97. ccxt/btcturk.py +1 -1
  98. ccxt/bybit.py +58 -58
  99. ccxt/cex.py +1 -1
  100. ccxt/coinbase.py +13 -13
  101. ccxt/coinbasepro.py +15 -15
  102. ccxt/coinex.py +19 -19
  103. ccxt/coinone.py +2 -2
  104. ccxt/coinsph.py +4 -4
  105. ccxt/coinspot.py +2 -2
  106. ccxt/cryptocom.py +28 -28
  107. ccxt/currencycom.py +1 -1
  108. ccxt/delta.py +26 -26
  109. ccxt/deribit.py +9 -9
  110. ccxt/digifinex.py +38 -38
  111. ccxt/exmo.py +18 -18
  112. ccxt/gate.py +59 -59
  113. ccxt/gemini.py +4 -4
  114. ccxt/hitbtc.py +6 -6
  115. ccxt/hollaex.py +2 -2
  116. ccxt/huobi.py +70 -70
  117. ccxt/indodax.py +1 -1
  118. ccxt/kraken.py +33 -33
  119. ccxt/krakenfutures.py +6 -5
  120. ccxt/kucoin.py +74 -74
  121. ccxt/kucoinfutures.py +8 -8
  122. ccxt/latoken.py +14 -14
  123. ccxt/lbank2.py +33 -33
  124. ccxt/mexc.py +22 -22
  125. ccxt/ndax.py +1 -1
  126. ccxt/novadax.py +22 -22
  127. ccxt/oceanex.py +18 -18
  128. ccxt/okcoin.py +1950 -2758
  129. ccxt/okx.py +73 -73
  130. ccxt/paymium.py +11 -11
  131. ccxt/phemex.py +26 -26
  132. ccxt/poloniex.py +30 -30
  133. ccxt/poloniexfutures.py +25 -25
  134. ccxt/pro/__init__.py +1 -1
  135. ccxt/pro/ascendex.py +1 -1
  136. ccxt/pro/binance.py +9 -9
  137. ccxt/pro/bingx.py +12 -12
  138. ccxt/pro/bitget.py +2 -2
  139. ccxt/pro/bitpanda.py +7 -7
  140. ccxt/pro/bitrue.py +2 -2
  141. ccxt/pro/blockchaincom.py +6 -6
  142. ccxt/pro/bybit.py +15 -15
  143. ccxt/pro/cex.py +8 -8
  144. ccxt/pro/coinbase.py +6 -6
  145. ccxt/pro/coinbasepro.py +1 -1
  146. ccxt/pro/coinex.py +8 -8
  147. ccxt/pro/cryptocom.py +12 -12
  148. ccxt/pro/deribit.py +7 -7
  149. ccxt/pro/gemini.py +4 -4
  150. ccxt/pro/hitbtc.py +17 -17
  151. ccxt/pro/huobi.py +3 -3
  152. ccxt/pro/kraken.py +6 -6
  153. ccxt/pro/krakenfutures.py +10 -10
  154. ccxt/pro/kucoin.py +85 -42
  155. ccxt/pro/kucoinfutures.py +5 -5
  156. ccxt/pro/luno.py +1 -1
  157. ccxt/pro/mexc.py +7 -7
  158. ccxt/pro/okx.py +16 -15
  159. ccxt/pro/phemex.py +15 -15
  160. ccxt/pro/poloniex.py +9 -9
  161. ccxt/pro/poloniexfutures.py +5 -5
  162. ccxt/pro/probit.py +5 -5
  163. ccxt/pro/wazirx.py +5 -5
  164. ccxt/pro/woo.py +1 -1
  165. ccxt/probit.py +21 -21
  166. ccxt/test/base/test_shared_methods.py +1 -1
  167. ccxt/tokocrypto.py +22 -22
  168. ccxt/upbit.py +21 -21
  169. ccxt/wavesexchange.py +2 -2
  170. ccxt/wazirx.py +14 -14
  171. ccxt/whitebit.py +6 -6
  172. ccxt/woo.py +21 -21
  173. ccxt/yobit.py +16 -16
  174. ccxt/zaif.py +10 -10
  175. ccxt/zonda.py +15 -15
  176. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
  177. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
  178. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
  179. {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/phemex.py CHANGED
@@ -971,7 +971,7 @@ class phemex(Exchange, ImplicitAPI):
971
971
  def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
972
972
  """
973
973
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
974
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorderbook
974
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorderbook
975
975
  :param str symbol: unified symbol of the market to fetch the order book for
976
976
  :param int [limit]: the maximum amount of order book entries to return
977
977
  :param dict [params]: extra parameters specific to the phemex api endpoint
@@ -1091,8 +1091,8 @@ class phemex(Exchange, ImplicitAPI):
1091
1091
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
1092
1092
  """
1093
1093
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1094
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querykline
1095
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-kline
1094
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querykline
1095
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-kline
1096
1096
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1097
1097
  :param str timeframe: the length of time each candle represents
1098
1098
  :param int [since]: *only used for USDT settled contracts, otherwise is emulated and not supported by the exchange* timestamp in ms of the earliest candle to fetch
@@ -1255,7 +1255,7 @@ class phemex(Exchange, ImplicitAPI):
1255
1255
  def fetch_ticker(self, symbol: str, params={}):
1256
1256
  """
1257
1257
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1258
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1258
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1259
1259
  :param str symbol: unified symbol of the market to fetch the ticker for
1260
1260
  :param dict [params]: extra parameters specific to the phemex api endpoint
1261
1261
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -1323,9 +1323,9 @@ class phemex(Exchange, ImplicitAPI):
1323
1323
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
1324
1324
  """
1325
1325
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1326
- see https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols-2 # spot
1327
- see https://phemex-docs.github.io/#query-24-ticker-for-all-symbols # linear
1328
- see https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols # inverse
1326
+ :see: https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols-2 # spot
1327
+ :see: https://phemex-docs.github.io/#query-24-ticker-for-all-symbols # linear
1328
+ :see: https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols # inverse
1329
1329
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1330
1330
  :param dict [params]: extra parameters specific to the phemex api endpoint
1331
1331
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -1355,7 +1355,7 @@ class phemex(Exchange, ImplicitAPI):
1355
1355
  def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1356
1356
  """
1357
1357
  get the list of most recent trades for a particular symbol
1358
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querytrades
1358
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querytrades
1359
1359
  :param str symbol: unified symbol of the market to fetch trades for
1360
1360
  :param int [since]: timestamp in ms of the earliest trade to fetch
1361
1361
  :param int [limit]: the maximum amount of trades to fetch
@@ -1747,7 +1747,7 @@ class phemex(Exchange, ImplicitAPI):
1747
1747
  def fetch_balance(self, params={}):
1748
1748
  """
1749
1749
  query for balance and get the amount of funds available for trading or funds locked in orders
1750
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
1750
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
1751
1751
  :param dict [params]: extra parameters specific to the phemex api endpoint
1752
1752
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1753
1753
  """
@@ -2230,7 +2230,7 @@ class phemex(Exchange, ImplicitAPI):
2230
2230
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
2231
2231
  """
2232
2232
  create a trade order
2233
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#place-order
2233
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#place-order
2234
2234
  :param str symbol: unified symbol of the market to create an order in
2235
2235
  :param str type: 'market' or 'limit'
2236
2236
  :param str side: 'buy' or 'sell'
@@ -2477,7 +2477,7 @@ class phemex(Exchange, ImplicitAPI):
2477
2477
  def edit_order(self, id: str, symbol, type=None, side=None, amount=None, price=None, params={}):
2478
2478
  """
2479
2479
  edit a trade order
2480
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#amend-order-by-orderid
2480
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#amend-order-by-orderid
2481
2481
  :param str id: cancel order id
2482
2482
  :param str symbol: unified symbol of the market to create an order in
2483
2483
  :param str type: 'market' or 'limit'
@@ -2539,7 +2539,7 @@ class phemex(Exchange, ImplicitAPI):
2539
2539
  def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
2540
2540
  """
2541
2541
  cancels an open order
2542
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancel-single-order-by-orderid
2542
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancel-single-order-by-orderid
2543
2543
  :param str id: order id
2544
2544
  :param str symbol: unified symbol of the market the order was made in
2545
2545
  :param dict [params]: extra parameters specific to the phemex api endpoint
@@ -2574,7 +2574,7 @@ class phemex(Exchange, ImplicitAPI):
2574
2574
  def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
2575
2575
  """
2576
2576
  cancel all open orders in a market
2577
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2577
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2578
2578
  :param str symbol: unified market symbol of the market to cancel orders in
2579
2579
  :param dict [params]: extra parameters specific to the phemex api endpoint
2580
2580
  :returns dict[]: a list of `order structures <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -2635,7 +2635,7 @@ class phemex(Exchange, ImplicitAPI):
2635
2635
  def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
2636
2636
  """
2637
2637
  fetches information on multiple orders made by the user
2638
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2638
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2639
2639
  :param str symbol: unified market symbol of the market orders were made in
2640
2640
  :param int [since]: the earliest time in ms to fetch orders for
2641
2641
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -2667,8 +2667,8 @@ class phemex(Exchange, ImplicitAPI):
2667
2667
  def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
2668
2668
  """
2669
2669
  fetch all unfilled currently open orders
2670
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
2671
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
2670
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
2671
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
2672
2672
  :param str symbol: unified market symbol
2673
2673
  :param int [since]: the earliest time in ms to fetch open orders for
2674
2674
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -2704,7 +2704,7 @@ class phemex(Exchange, ImplicitAPI):
2704
2704
  def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
2705
2705
  """
2706
2706
  fetches information on multiple closed orders made by the user
2707
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2707
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2708
2708
  :param str symbol: unified market symbol of the market orders were made in
2709
2709
  :param int [since]: the earliest time in ms to fetch orders for
2710
2710
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -2775,8 +2775,8 @@ class phemex(Exchange, ImplicitAPI):
2775
2775
  def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
2776
2776
  """
2777
2777
  fetch all trades made by the user
2778
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
2779
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
2778
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
2779
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
2780
2780
  :param str symbol: unified market symbol
2781
2781
  :param int [since]: the earliest time in ms to fetch trades for
2782
2782
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -3122,8 +3122,8 @@ class phemex(Exchange, ImplicitAPI):
3122
3122
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
3123
3123
  """
3124
3124
  fetch all open positions
3125
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-trading-account-and-positions
3126
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3125
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-trading-account-and-positions
3126
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3127
3127
  :param str[]|None symbols: list of unified market symbols
3128
3128
  :param dict [params]: extra parameters specific to the phemex api endpoint
3129
3129
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -3380,7 +3380,7 @@ class phemex(Exchange, ImplicitAPI):
3380
3380
  def fetch_funding_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
3381
3381
  """
3382
3382
  fetch the history of funding payments paid and received on self account
3383
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#futureDataFundingFeesHist
3383
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#futureDataFundingFeesHist
3384
3384
  :param str symbol: unified market symbol
3385
3385
  :param int [since]: the earliest time in ms to fetch funding history for
3386
3386
  :param int [limit]: the maximum number of funding history structures to retrieve
@@ -3552,7 +3552,7 @@ class phemex(Exchange, ImplicitAPI):
3552
3552
  def set_margin(self, symbol: str, amount, params={}):
3553
3553
  """
3554
3554
  Either adds or reduces margin in an isolated position in order to set the margin to a specific value
3555
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#assign-position-balance-in-isolated-marign-mode
3555
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#assign-position-balance-in-isolated-marign-mode
3556
3556
  :param str symbol: unified market symbol of the market to set margin in
3557
3557
  :param float amount: the amount to set the margin to
3558
3558
  :param dict [params]: parameters specific to the phemex api endpoint
@@ -3633,7 +3633,7 @@ class phemex(Exchange, ImplicitAPI):
3633
3633
  def set_position_mode(self, hedged, symbol: Optional[str] = None, params={}):
3634
3634
  """
3635
3635
  set hedged to True or False for a market
3636
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#switch-position-mode-synchronously
3636
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#switch-position-mode-synchronously
3637
3637
  :param bool hedged: set to True to use dualSidePosition
3638
3638
  :param str symbol: not used by binance setPositionMode()
3639
3639
  :param dict [params]: extra parameters specific to the binance api endpoint
@@ -3816,7 +3816,7 @@ class phemex(Exchange, ImplicitAPI):
3816
3816
  def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
3817
3817
  """
3818
3818
  set the level of leverage for a market
3819
- see https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
3819
+ :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
3820
3820
  :param float leverage: the rate of leverage
3821
3821
  :param str symbol: unified market symbol
3822
3822
  :param dict [params]: extra parameters specific to the phemex api endpoint
@@ -4041,7 +4041,7 @@ class phemex(Exchange, ImplicitAPI):
4041
4041
  def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
4042
4042
  """
4043
4043
  fetches historical funding rate prices
4044
- see https://phemex-docs.github.io/#query-funding-rate-history-2
4044
+ :see: https://phemex-docs.github.io/#query-funding-rate-history-2
4045
4045
  :param str symbol: unified symbol of the market to fetch the funding rate history for
4046
4046
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
4047
4047
  :param int [limit]: the maximum amount of `funding rate structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-history-structure>` to fetch
ccxt/poloniex.py CHANGED
@@ -421,7 +421,7 @@ class poloniex(Exchange, ImplicitAPI):
421
421
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
422
422
  """
423
423
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
424
- see https://docs.poloniex.com/#public-endpoints-market-data-candles
424
+ :see: https://docs.poloniex.com/#public-endpoints-market-data-candles
425
425
  :param str symbol: unified symbol of the market to fetch OHLCV data for
426
426
  :param str timeframe: the length of time each candle represents
427
427
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -480,7 +480,7 @@ class poloniex(Exchange, ImplicitAPI):
480
480
  def fetch_markets(self, params={}):
481
481
  """
482
482
  retrieves data on all markets for poloniex
483
- see https://docs.poloniex.com/#public-endpoints-reference-data-symbol-information
483
+ :see: https://docs.poloniex.com/#public-endpoints-reference-data-symbol-information
484
484
  :param dict [params]: extra parameters specific to the exchange api endpoint
485
485
  :returns dict[]: an array of objects representing market data
486
486
  """
@@ -570,7 +570,7 @@ class poloniex(Exchange, ImplicitAPI):
570
570
  def fetch_time(self, params={}):
571
571
  """
572
572
  fetches the current integer timestamp in milliseconds from the exchange server
573
- see https://docs.poloniex.com/#public-endpoints-reference-data-system-timestamp
573
+ :see: https://docs.poloniex.com/#public-endpoints-reference-data-system-timestamp
574
574
  :param dict [params]: extra parameters specific to the poloniex api endpoint
575
575
  :returns int: the current integer timestamp in milliseconds from the exchange server
576
576
  """
@@ -635,7 +635,7 @@ class poloniex(Exchange, ImplicitAPI):
635
635
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
636
636
  """
637
637
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
638
- see https://docs.poloniex.com/#public-endpoints-market-data-ticker
638
+ :see: https://docs.poloniex.com/#public-endpoints-market-data-ticker
639
639
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
640
640
  :param dict [params]: extra parameters specific to the poloniex api endpoint
641
641
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -672,7 +672,7 @@ class poloniex(Exchange, ImplicitAPI):
672
672
  def fetch_currencies(self, params={}):
673
673
  """
674
674
  fetches all available currencies on an exchange
675
- see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
675
+ :see: https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
676
676
  :param dict [params]: extra parameters specific to the poloniex api endpoint
677
677
  :returns dict: an associative dictionary of currencies
678
678
  """
@@ -799,7 +799,7 @@ class poloniex(Exchange, ImplicitAPI):
799
799
  def fetch_ticker(self, symbol: str, params={}):
800
800
  """
801
801
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
802
- see https://docs.poloniex.com/#public-endpoints-market-data-ticker
802
+ :see: https://docs.poloniex.com/#public-endpoints-market-data-ticker
803
803
  :param str symbol: unified symbol of the market to fetch the ticker for
804
804
  :param dict [params]: extra parameters specific to the poloniex api endpoint
805
805
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -927,7 +927,7 @@ class poloniex(Exchange, ImplicitAPI):
927
927
  def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
928
928
  """
929
929
  get the list of most recent trades for a particular symbol
930
- see https://docs.poloniex.com/#public-endpoints-market-data-trades
930
+ :see: https://docs.poloniex.com/#public-endpoints-market-data-trades
931
931
  :param str symbol: unified symbol of the market to fetch trades for
932
932
  :param int [since]: timestamp in ms of the earliest trade to fetch
933
933
  :param int [limit]: the maximum amount of trades to fetch
@@ -960,7 +960,7 @@ class poloniex(Exchange, ImplicitAPI):
960
960
  def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
961
961
  """
962
962
  fetch all trades made by the user
963
- see https://docs.poloniex.com/#authenticated-endpoints-trades-trade-history
963
+ :see: https://docs.poloniex.com/#authenticated-endpoints-trades-trade-history
964
964
  :param str symbol: unified market symbol
965
965
  :param int [since]: the earliest time in ms to fetch trades for
966
966
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1159,8 +1159,8 @@ class poloniex(Exchange, ImplicitAPI):
1159
1159
  def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1160
1160
  """
1161
1161
  fetch all unfilled currently open orders
1162
- see https://docs.poloniex.com/#authenticated-endpoints-orders-open-orders
1163
- see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders # trigger orders
1162
+ :see: https://docs.poloniex.com/#authenticated-endpoints-orders-open-orders
1163
+ :see: https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders # trigger orders
1164
1164
  :param str symbol: unified market symbol
1165
1165
  :param int [since]: the earliest time in ms to fetch open orders for
1166
1166
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -1212,8 +1212,8 @@ class poloniex(Exchange, ImplicitAPI):
1212
1212
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
1213
1213
  """
1214
1214
  create a trade order
1215
- see https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
1216
- see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order # trigger orders
1215
+ :see: https://docs.poloniex.com/#authenticated-endpoints-orders-create-order
1216
+ :see: https://docs.poloniex.com/#authenticated-endpoints-smart-orders-create-order # trigger orders
1217
1217
  :param str symbol: unified symbol of the market to create an order in
1218
1218
  :param str type: 'market' or 'limit'
1219
1219
  :param str side: 'buy' or 'sell'
@@ -1283,8 +1283,8 @@ class poloniex(Exchange, ImplicitAPI):
1283
1283
  def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
1284
1284
  """
1285
1285
  edit a trade order
1286
- see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
1287
- see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
1286
+ :see: https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-replace-order
1287
+ :see: https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-replace-order
1288
1288
  :param str id: order id
1289
1289
  :param str symbol: unified symbol of the market to create an order in
1290
1290
  :param str type: 'market' or 'limit'
@@ -1361,8 +1361,8 @@ class poloniex(Exchange, ImplicitAPI):
1361
1361
  def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
1362
1362
  """
1363
1363
  cancel all open orders
1364
- see https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1365
- see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders # trigger orders
1364
+ :see: https://docs.poloniex.com/#authenticated-endpoints-orders-cancel-all-orders
1365
+ :see: https://docs.poloniex.com/#authenticated-endpoints-smart-orders-cancel-all-orders # trigger orders
1366
1366
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1367
1367
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1368
1368
  :param boolean [params.trigger]: True if canceling trigger orders
@@ -1408,8 +1408,8 @@ class poloniex(Exchange, ImplicitAPI):
1408
1408
  def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
1409
1409
  """
1410
1410
  fetch an order by it's id
1411
- see https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
1412
- see https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders # trigger orders
1411
+ :see: https://docs.poloniex.com/#authenticated-endpoints-orders-order-details
1412
+ :see: https://docs.poloniex.com/#authenticated-endpoints-smart-orders-open-orders # trigger orders
1413
1413
  :param str id: order id
1414
1414
  :param str symbol: unified market symbol, default is None
1415
1415
  :param dict [params]: extra parameters specific to the poloniex api endpoint
@@ -1463,7 +1463,7 @@ class poloniex(Exchange, ImplicitAPI):
1463
1463
  def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1464
1464
  """
1465
1465
  fetch all the trades made from a single order
1466
- see https://docs.poloniex.com/#authenticated-endpoints-trades-trades-by-order-id
1466
+ :see: https://docs.poloniex.com/#authenticated-endpoints-trades-trades-by-order-id
1467
1467
  :param str id: order id
1468
1468
  :param str symbol: unified market symbol
1469
1469
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1521,7 +1521,7 @@ class poloniex(Exchange, ImplicitAPI):
1521
1521
  def fetch_balance(self, params={}):
1522
1522
  """
1523
1523
  query for balance and get the amount of funds available for trading or funds locked in orders
1524
- see https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
1524
+ :see: https://docs.poloniex.com/#authenticated-endpoints-accounts-all-account-balances
1525
1525
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1526
1526
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
1527
1527
  """
@@ -1551,7 +1551,7 @@ class poloniex(Exchange, ImplicitAPI):
1551
1551
  def fetch_trading_fees(self, params={}):
1552
1552
  """
1553
1553
  fetch the trading fees for multiple markets
1554
- see https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1554
+ :see: https://docs.poloniex.com/#authenticated-endpoints-accounts-fee-info
1555
1555
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1556
1556
  :returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
1557
1557
  """
@@ -1581,7 +1581,7 @@ class poloniex(Exchange, ImplicitAPI):
1581
1581
  def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
1582
1582
  """
1583
1583
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1584
- see https://docs.poloniex.com/#public-endpoints-market-data-order-book
1584
+ :see: https://docs.poloniex.com/#public-endpoints-market-data-order-book
1585
1585
  :param str symbol: unified symbol of the market to fetch the order book for
1586
1586
  :param int [limit]: the maximum amount of order book entries to return
1587
1587
  :param dict [params]: extra parameters specific to the poloniex api endpoint
@@ -1631,7 +1631,7 @@ class poloniex(Exchange, ImplicitAPI):
1631
1631
  def create_deposit_address(self, code: str, params={}):
1632
1632
  """
1633
1633
  create a currency deposit address
1634
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1634
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1635
1635
  :param str code: unified currency code of the currency for the deposit address
1636
1636
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1637
1637
  :returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
@@ -1675,7 +1675,7 @@ class poloniex(Exchange, ImplicitAPI):
1675
1675
  def fetch_deposit_address(self, code: str, params={}):
1676
1676
  """
1677
1677
  fetch the deposit address for a currency associated with self account
1678
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1678
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-deposit-addresses
1679
1679
  :param str code: unified currency code
1680
1680
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1681
1681
  :returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
@@ -1719,7 +1719,7 @@ class poloniex(Exchange, ImplicitAPI):
1719
1719
  def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
1720
1720
  """
1721
1721
  transfer currency internally between wallets on the same account
1722
- see https://docs.poloniex.com/#authenticated-endpoints-accounts-accounts-transfer
1722
+ :see: https://docs.poloniex.com/#authenticated-endpoints-accounts-accounts-transfer
1723
1723
  :param str code: unified currency code
1724
1724
  :param float amount: amount to transfer
1725
1725
  :param str fromAccount: account to transfer from
@@ -1768,7 +1768,7 @@ class poloniex(Exchange, ImplicitAPI):
1768
1768
  def withdraw(self, code: str, amount, address, tag=None, params={}):
1769
1769
  """
1770
1770
  make a withdrawal
1771
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-withdraw-currency
1771
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-withdraw-currency
1772
1772
  :param str code: unified currency code
1773
1773
  :param float amount: the amount to withdraw
1774
1774
  :param str address: the address to withdraw to
@@ -1889,7 +1889,7 @@ class poloniex(Exchange, ImplicitAPI):
1889
1889
  def fetch_deposits_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1890
1890
  """
1891
1891
  fetch history of deposits and withdrawals
1892
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
1892
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
1893
1893
  :param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
1894
1894
  :param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
1895
1895
  :param int [limit]: max number of deposit/withdrawals to return, default is None
@@ -1911,7 +1911,7 @@ class poloniex(Exchange, ImplicitAPI):
1911
1911
  def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1912
1912
  """
1913
1913
  fetch all withdrawals made from an account
1914
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
1914
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
1915
1915
  :param str code: unified currency code
1916
1916
  :param int [since]: the earliest time in ms to fetch withdrawals for
1917
1917
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -1929,7 +1929,7 @@ class poloniex(Exchange, ImplicitAPI):
1929
1929
  def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
1930
1930
  """
1931
1931
  fetch deposit and withdraw fees
1932
- see https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
1932
+ :see: https://docs.poloniex.com/#public-endpoints-reference-data-currency-information
1933
1933
  :param str[]|None codes: list of unified currency codes
1934
1934
  :param dict [params]: extra parameters specific to the poloniex api endpoint
1935
1935
  :returns dict[]: a list of `fees structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
@@ -2046,7 +2046,7 @@ class poloniex(Exchange, ImplicitAPI):
2046
2046
  def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
2047
2047
  """
2048
2048
  fetch all deposits made to an account
2049
- see https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
2049
+ :see: https://docs.poloniex.com/#authenticated-endpoints-wallets-wallets-activity-records
2050
2050
  :param str code: unified currency code
2051
2051
  :param int [since]: the earliest time in ms to fetch deposits for
2052
2052
  :param int [limit]: the maximum number of deposits structures to retrieve
ccxt/poloniexfutures.py CHANGED
@@ -216,7 +216,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
216
216
  def fetch_markets(self, params={}):
217
217
  """
218
218
  retrieves data on all markets for poloniexfutures
219
- see https://futures-docs.poloniex.com/#symbol-2
219
+ :see: https://futures-docs.poloniex.com/#symbol-2
220
220
  :param dict [params]: extra parameters specific to the exchange api endpoint
221
221
  :returns dict[]: an array of objects representing market data
222
222
  """
@@ -411,7 +411,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
411
411
  def fetch_ticker(self, symbol: str, params={}):
412
412
  """
413
413
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
414
- see https://futures-docs.poloniex.com/#get-real-time-ticker-2-0
414
+ :see: https://futures-docs.poloniex.com/#get-real-time-ticker-2-0
415
415
  :param str symbol: unified symbol of the market to fetch the ticker for
416
416
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
417
417
  :returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -445,7 +445,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
445
445
  def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
446
446
  """
447
447
  fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
448
- see https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
448
+ :see: https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
449
449
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
450
450
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
451
451
  :returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
@@ -457,8 +457,8 @@ class poloniexfutures(Exchange, ImplicitAPI):
457
457
  def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
458
458
  """
459
459
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
460
- see https://futures-docs.poloniex.com/#get-full-order-book-level-2
461
- see https://futures-docs.poloniex.com/#get-full-order-book-level-3
460
+ :see: https://futures-docs.poloniex.com/#get-full-order-book-level-2
461
+ :see: https://futures-docs.poloniex.com/#get-full-order-book-level-3
462
462
  :param str symbol: unified symbol of the market to fetch the order book for
463
463
  :param int [limit]: the maximum amount of order book entries to return
464
464
  :param dict [params]: extra parameters specific to the poloniexfuturesfutures api endpoint
@@ -537,7 +537,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
537
537
  def fetch_l3_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
538
538
  """
539
539
  fetches level 3 information on open orders with bid(buy) and ask(sell) prices, volumes and other data
540
- see https://futures-docs.poloniex.com/#get-full-order-book-level-3
540
+ :see: https://futures-docs.poloniex.com/#get-full-order-book-level-3
541
541
  :param str symbol: unified market symbol
542
542
  :param int [limit]: max number of orders to return, default is None
543
543
  :param dict [params]: extra parameters specific to the blockchaincom api endpoint
@@ -636,7 +636,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
636
636
  def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
637
637
  """
638
638
  get the list of most recent trades for a particular symbol
639
- see https://futures-docs.poloniex.com/#historical-data
639
+ :see: https://futures-docs.poloniex.com/#historical-data
640
640
  :param str symbol: unified symbol of the market to fetch trades for
641
641
  :param int [since]: timestamp in ms of the earliest trade to fetch
642
642
  :param int [limit]: the maximum amount of trades to fetch
@@ -671,7 +671,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
671
671
  def fetch_time(self, params={}):
672
672
  """
673
673
  fetches the current integer timestamp in milliseconds from the poloniexfutures server
674
- see https://futures-docs.poloniex.com/#time
674
+ :see: https://futures-docs.poloniex.com/#time
675
675
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
676
676
  :returns int: the current integer timestamp in milliseconds from the poloniexfutures server
677
677
  """
@@ -688,7 +688,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
688
688
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
689
689
  """
690
690
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
691
- see https://futures-docs.poloniex.com/#k-chart
691
+ :see: https://futures-docs.poloniex.com/#k-chart
692
692
  :param str symbol: unified symbol of the market to fetch OHLCV data for
693
693
  :param str timeframe: the length of time each candle represents
694
694
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -750,7 +750,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
750
750
  def fetch_balance(self, params={}):
751
751
  """
752
752
  query for balance and get the amount of funds available for trading or funds locked in orders
753
- see https://futures-docs.poloniex.com/#get-account-overview
753
+ :see: https://futures-docs.poloniex.com/#get-account-overview
754
754
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
755
755
  :returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
756
756
  """
@@ -783,7 +783,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
783
783
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
784
784
  """
785
785
  Create an order on the exchange
786
- see https://futures-docs.poloniex.com/#place-an-order
786
+ :see: https://futures-docs.poloniex.com/#place-an-order
787
787
  :param str symbol: Unified CCXT market symbol
788
788
  :param str type: 'limit' or 'market'
789
789
  :param str side: 'buy' or 'sell'
@@ -880,7 +880,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
880
880
  def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
881
881
  """
882
882
  cancels an open order
883
- see https://futures-docs.poloniex.com/#cancel-an-order
883
+ :see: https://futures-docs.poloniex.com/#cancel-an-order
884
884
  :param str id: order id
885
885
  :param str symbol: unified symbol of the market the order was made in
886
886
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
@@ -917,7 +917,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
917
917
  def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
918
918
  """
919
919
  fetch all open positions
920
- see https://futures-docs.poloniex.com/#get-position-list
920
+ :see: https://futures-docs.poloniex.com/#get-position-list
921
921
  :param str[]|None symbols: list of unified market symbols
922
922
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
923
923
  :returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
@@ -1067,7 +1067,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1067
1067
  def fetch_funding_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1068
1068
  """
1069
1069
  fetch the history of funding payments paid and received on self account
1070
- see https://futures-docs.poloniex.com/#get-funding-history
1070
+ :see: https://futures-docs.poloniex.com/#get-funding-history
1071
1071
  :param str symbol: unified market symbol
1072
1072
  :param int [since]: the earliest time in ms to fetch funding history for
1073
1073
  :param int [limit]: the maximum number of funding history structures to retrieve
@@ -1190,8 +1190,8 @@ class poloniexfutures(Exchange, ImplicitAPI):
1190
1190
  def fetch_orders_by_status(self, status, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1191
1191
  """
1192
1192
  fetches a list of orders placed on the exchange
1193
- see https://futures-docs.poloniex.com/#get-order-list
1194
- see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1193
+ :see: https://futures-docs.poloniex.com/#get-order-list
1194
+ :see: https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1195
1195
  :param str status: 'active' or 'closed', only 'active' is valid for stop orders
1196
1196
  :param str symbol: unified symbol for the market to retrieve orders from
1197
1197
  :param int [since]: timestamp in ms of the earliest order to retrieve
@@ -1285,8 +1285,8 @@ class poloniexfutures(Exchange, ImplicitAPI):
1285
1285
  def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1286
1286
  """
1287
1287
  fetch all unfilled currently open orders
1288
- see https://futures-docs.poloniex.com/#get-order-list
1289
- see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1288
+ :see: https://futures-docs.poloniex.com/#get-order-list
1289
+ :see: https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1290
1290
  :param str symbol: unified market symbol
1291
1291
  :param int [since]: the earliest time in ms to fetch open orders for
1292
1292
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -1301,8 +1301,8 @@ class poloniexfutures(Exchange, ImplicitAPI):
1301
1301
  def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1302
1302
  """
1303
1303
  fetches information on multiple closed orders made by the user
1304
- see https://futures-docs.poloniex.com/#get-order-list
1305
- see https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1304
+ :see: https://futures-docs.poloniex.com/#get-order-list
1305
+ :see: https://futures-docs.poloniex.com/#get-untriggered-stop-order-list
1306
1306
  :param str symbol: unified market symbol of the market orders were made in
1307
1307
  :param int [since]: the earliest time in ms to fetch orders for
1308
1308
  :param int [limit]: the maximum number of orde structures to retrieve
@@ -1317,8 +1317,8 @@ class poloniexfutures(Exchange, ImplicitAPI):
1317
1317
  def fetch_order(self, id=None, symbol: Optional[str] = None, params={}):
1318
1318
  """
1319
1319
  fetches information on an order made by the user
1320
- see https://futures-docs.poloniex.com/#get-details-of-a-single-order
1321
- see https://futures-docs.poloniex.com/#get-single-order-by-clientoid
1320
+ :see: https://futures-docs.poloniex.com/#get-details-of-a-single-order
1321
+ :see: https://futures-docs.poloniex.com/#get-single-order-by-clientoid
1322
1322
  :param str symbol: unified symbol of the market the order was made in
1323
1323
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
1324
1324
  :returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
@@ -1508,7 +1508,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1508
1508
  def fetch_funding_rate(self, symbol: str, params={}):
1509
1509
  """
1510
1510
  fetch the current funding rate
1511
- see https://futures-docs.poloniex.com/#get-premium-index
1511
+ :see: https://futures-docs.poloniex.com/#get-premium-index
1512
1512
  :param str symbol: unified market symbol
1513
1513
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
1514
1514
  :returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
@@ -1554,7 +1554,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1554
1554
  def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
1555
1555
  """
1556
1556
  fetch all trades made by the user
1557
- see https://futures-docs.poloniex.com/#get-fills
1557
+ :see: https://futures-docs.poloniex.com/#get-fills
1558
1558
  :param str symbol: unified market symbol
1559
1559
  :param int [since]: the earliest time in ms to fetch trades for
1560
1560
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1615,7 +1615,7 @@ class poloniexfutures(Exchange, ImplicitAPI):
1615
1615
  def set_margin_mode(self, marginMode, symbol, params={}):
1616
1616
  """
1617
1617
  set margin mode to 'cross' or 'isolated'
1618
- see https://futures-docs.poloniex.com/#change-margin-mode
1618
+ :see: https://futures-docs.poloniex.com/#change-margin-mode
1619
1619
  :param int marginMode: 0(isolated) or 1(cross)
1620
1620
  :param str symbol: unified market symbol
1621
1621
  :param dict [params]: extra parameters specific to the poloniexfutures api endpoint
ccxt/pro/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.1.19'
7
+ __version__ = '4.1.22'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
ccxt/pro/ascendex.py CHANGED
@@ -445,7 +445,7 @@ class ascendex(ccxt.async_support.ascendex):
445
445
 
446
446
  async def watch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
447
447
  """
448
- see https://ascendex.github.io/ascendex-pro-api/#channel-order-and-balance
448
+ :see: https://ascendex.github.io/ascendex-pro-api/#channel-order-and-balance
449
449
  watches information on multiple orders made by the user
450
450
  :param str symbol: unified market symbol of the market orders were made in
451
451
  :param int [since]: the earliest time in ms to fetch orders for