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/phemex.py CHANGED
@@ -754,7 +754,9 @@ class phemex(Exchange, ImplicitAPI):
754
754
  def fetch_markets(self, params={}) -> List[Market]:
755
755
  """
756
756
  retrieves data on all markets for phemex
757
- :see: https://phemex-docs.github.io/#query-product-information-3
757
+
758
+ https://phemex-docs.github.io/#query-product-information-3
759
+
758
760
  :param dict [params]: extra parameters specific to the exchange API endpoint
759
761
  :returns dict[]: an array of objects representing market data
760
762
  """
@@ -1076,7 +1078,9 @@ class phemex(Exchange, ImplicitAPI):
1076
1078
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1077
1079
  """
1078
1080
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1079
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorderbook
1081
+
1082
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorderbook
1083
+
1080
1084
  :param str symbol: unified symbol of the market to fetch the order book for
1081
1085
  :param int [limit]: the maximum amount of order book entries to return
1082
1086
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1200,8 +1204,10 @@ class phemex(Exchange, ImplicitAPI):
1200
1204
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
1201
1205
  """
1202
1206
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1203
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querykline
1204
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-kline
1207
+
1208
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querykline
1209
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-kline
1210
+
1205
1211
  :param str symbol: unified symbol of the market to fetch OHLCV data for
1206
1212
  :param str timeframe: the length of time each candle represents
1207
1213
  :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
@@ -1364,7 +1370,9 @@ class phemex(Exchange, ImplicitAPI):
1364
1370
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
1365
1371
  """
1366
1372
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1367
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1373
+
1374
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query24hrsticker
1375
+
1368
1376
  :param str symbol: unified symbol of the market to fetch the ticker for
1369
1377
  :param dict [params]: extra parameters specific to the exchange API endpoint
1370
1378
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1433,9 +1441,11 @@ class phemex(Exchange, ImplicitAPI):
1433
1441
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
1434
1442
  """
1435
1443
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1436
- :see: https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols-2 # spot
1437
- :see: https://phemex-docs.github.io/#query-24-ticker-for-all-symbols # linear
1438
- :see: https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols # inverse
1444
+
1445
+ https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols-2 # spot
1446
+ https://phemex-docs.github.io/#query-24-ticker-for-all-symbols # linear
1447
+ https://phemex-docs.github.io/#query-24-hours-ticker-for-all-symbols # inverse
1448
+
1439
1449
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1440
1450
  :param dict [params]: extra parameters specific to the exchange API endpoint
1441
1451
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -1463,7 +1473,9 @@ class phemex(Exchange, ImplicitAPI):
1463
1473
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
1464
1474
  """
1465
1475
  get the list of most recent trades for a particular symbol
1466
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querytrades
1476
+
1477
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#querytrades
1478
+
1467
1479
  :param str symbol: unified symbol of the market to fetch trades for
1468
1480
  :param int [since]: timestamp in ms of the earliest trade to fetch
1469
1481
  :param int [limit]: the maximum amount of trades to fetch
@@ -1886,9 +1898,11 @@ class phemex(Exchange, ImplicitAPI):
1886
1898
  def fetch_balance(self, params={}) -> Balances:
1887
1899
  """
1888
1900
  query for balance and get the amount of funds available for trading or funds locked in orders
1889
- :see: https://phemex-docs.github.io/#query-wallets
1890
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
1891
- :see: https://phemex-docs.github.io/#query-trading-account-and-positions
1901
+
1902
+ https://phemex-docs.github.io/#query-wallets
1903
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
1904
+ https://phemex-docs.github.io/#query-trading-account-and-positions
1905
+
1892
1906
  :param dict [params]: extra parameters specific to the exchange API endpoint
1893
1907
  :param str [params.type]: spot or swap
1894
1908
  :param str [params.code]: *swap only* currency code of the balance to query(USD, USDT, etc), default is USDT
@@ -2394,8 +2408,10 @@ class phemex(Exchange, ImplicitAPI):
2394
2408
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
2395
2409
  """
2396
2410
  create a trade order
2397
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#place-order
2398
- :see: https://phemex-docs.github.io/#place-order-http-put-prefered-3
2411
+
2412
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#place-order
2413
+ https://phemex-docs.github.io/#place-order-http-put-prefered-3
2414
+
2399
2415
  :param str symbol: unified symbol of the market to create an order in
2400
2416
  :param str type: 'market' or 'limit'
2401
2417
  :param str side: 'buy' or 'sell'
@@ -2657,7 +2673,9 @@ class phemex(Exchange, ImplicitAPI):
2657
2673
  def edit_order(self, id: str, symbol: str, type: OrderType = None, side: OrderSide = None, amount: Num = None, price: Num = None, params={}):
2658
2674
  """
2659
2675
  edit a trade order
2660
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#amend-order-by-orderid
2676
+
2677
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#amend-order-by-orderid
2678
+
2661
2679
  :param str id: cancel order id
2662
2680
  :param str symbol: unified symbol of the market to create an order in
2663
2681
  :param str type: 'market' or 'limit'
@@ -2718,7 +2736,9 @@ class phemex(Exchange, ImplicitAPI):
2718
2736
  def cancel_order(self, id: str, symbol: Str = None, params={}):
2719
2737
  """
2720
2738
  cancels an open order
2721
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancel-single-order-by-orderid
2739
+
2740
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancel-single-order-by-orderid
2741
+
2722
2742
  :param str id: order id
2723
2743
  :param str symbol: unified symbol of the market the order was made in
2724
2744
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2754,7 +2774,9 @@ class phemex(Exchange, ImplicitAPI):
2754
2774
  def cancel_all_orders(self, symbol: Str = None, params={}):
2755
2775
  """
2756
2776
  cancel all open orders in a market
2757
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2777
+
2778
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#cancelall
2779
+
2758
2780
  :param str symbol: unified market symbol of the market to cancel orders in
2759
2781
  :param dict [params]: extra parameters specific to the exchange API endpoint
2760
2782
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -2810,7 +2832,9 @@ class phemex(Exchange, ImplicitAPI):
2810
2832
 
2811
2833
  def fetch_order(self, id: str, symbol: Str = None, params={}):
2812
2834
  """
2813
- :see: https://phemex-docs.github.io/#query-orders-by-ids
2835
+
2836
+ https://phemex-docs.github.io/#query-orders-by-ids
2837
+
2814
2838
  fetches information on an order made by the user
2815
2839
  :param str id: the order id
2816
2840
  :param str symbol: unified symbol of the market the order was made in
@@ -2855,7 +2879,9 @@ class phemex(Exchange, ImplicitAPI):
2855
2879
  def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2856
2880
  """
2857
2881
  fetches information on multiple orders made by the user
2858
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2882
+
2883
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2884
+
2859
2885
  :param str symbol: unified market symbol of the market orders were made in
2860
2886
  :param int [since]: the earliest time in ms to fetch orders for
2861
2887
  :param int [limit]: the maximum number of order structures to retrieve
@@ -2888,9 +2914,11 @@ class phemex(Exchange, ImplicitAPI):
2888
2914
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2889
2915
  """
2890
2916
  fetch all unfilled currently open orders
2891
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
2892
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
2893
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotListAllOpenOrder
2917
+
2918
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryopenorder
2919
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md
2920
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotListAllOpenOrder
2921
+
2894
2922
  :param str symbol: unified market symbol
2895
2923
  :param int [since]: the earliest time in ms to fetch open orders for
2896
2924
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -2927,10 +2955,12 @@ class phemex(Exchange, ImplicitAPI):
2927
2955
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
2928
2956
  """
2929
2957
  fetches information on multiple closed orders made by the user
2930
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2931
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#queryorder
2932
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedgedd-Perpetual-API.md#query-closed-orders-by-symbol
2933
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataOrdersByIds
2958
+
2959
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#queryorder
2960
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#queryorder
2961
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedgedd-Perpetual-API.md#query-closed-orders-by-symbol
2962
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataOrdersByIds
2963
+
2934
2964
  :param str symbol: unified market symbol of the market orders were made in
2935
2965
  :param int [since]: the earliest time in ms to fetch orders for
2936
2966
  :param int [limit]: the maximum number of order structures to retrieve
@@ -3004,9 +3034,11 @@ class phemex(Exchange, ImplicitAPI):
3004
3034
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3005
3035
  """
3006
3036
  fetch all trades made by the user
3007
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
3008
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
3009
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataTradesHist
3037
+
3038
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-user-trade
3039
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-user-trade
3040
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Spot-API-en.md#spotDataTradesHist
3041
+
3010
3042
  :param str symbol: unified market symbol
3011
3043
  :param int [since]: the earliest time in ms to fetch trades for
3012
3044
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -3406,12 +3438,14 @@ class phemex(Exchange, ImplicitAPI):
3406
3438
  def fetch_positions(self, symbols: Strings = None, params={}):
3407
3439
  """
3408
3440
  fetch all open positions
3409
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-trading-account-and-positions
3410
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3411
- :see: https://phemex-docs.github.io/#query-account-positions-with-unrealized-pnl
3441
+
3442
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#query-trading-account-and-positions
3443
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#query-account-positions
3444
+ https://phemex-docs.github.io/#query-account-positions-with-unrealized-pnl
3445
+
3412
3446
  :param str[] [symbols]: list of unified market symbols
3413
3447
  :param dict [params]: extra parameters specific to the exchange API endpoint
3414
- :param str [param.method]: *USDT contracts only* 'privateGetGAccountsAccountPositions' or 'privateGetAccountsPositions' default is 'privateGetGAccountsAccountPositions'
3448
+ :param str [params.method]: *USDT contracts only* 'privateGetGAccountsAccountPositions' or 'privateGetAccountsPositions' default is 'privateGetGAccountsAccountPositions'
3415
3449
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
3416
3450
  """
3417
3451
  self.load_markets()
@@ -3674,7 +3708,9 @@ class phemex(Exchange, ImplicitAPI):
3674
3708
  def fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3675
3709
  """
3676
3710
  fetch the history of funding payments paid and received on self account
3677
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#futureDataFundingFeesHist
3711
+
3712
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#futureDataFundingFeesHist
3713
+
3678
3714
  :param str symbol: unified market symbol
3679
3715
  :param int [since]: the earliest time in ms to fetch funding history for
3680
3716
  :param int [limit]: the maximum number of funding history structures to retrieve
@@ -3863,7 +3899,9 @@ class phemex(Exchange, ImplicitAPI):
3863
3899
  def set_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
3864
3900
  """
3865
3901
  Either adds or reduces margin in an isolated position in order to set the margin to a specific value
3866
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#assign-position-balance-in-isolated-marign-mode
3902
+
3903
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Contract-API-en.md#assign-position-balance-in-isolated-marign-mode
3904
+
3867
3905
  :param str symbol: unified market symbol of the market to set margin in
3868
3906
  :param float amount: the amount to set the margin to
3869
3907
  :param dict [params]: parameters specific to the exchange API endpoint
@@ -3948,7 +3986,9 @@ class phemex(Exchange, ImplicitAPI):
3948
3986
  def set_position_mode(self, hedged: bool, symbol: Str = None, params={}):
3949
3987
  """
3950
3988
  set hedged to True or False for a market
3951
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#switch-position-mode-synchronously
3989
+
3990
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#switch-position-mode-synchronously
3991
+
3952
3992
  :param bool hedged: set to True to use dualSidePosition
3953
3993
  :param str symbol: not used by binance setPositionMode()
3954
3994
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4080,7 +4120,8 @@ class phemex(Exchange, ImplicitAPI):
4080
4120
  # ]
4081
4121
  # },
4082
4122
  #
4083
- market = self.safe_market(None, market)
4123
+ marketId = self.safe_string(info, 'symbol')
4124
+ market = self.safe_market(marketId, market)
4084
4125
  riskLimits = (market['info']['riskLimits'])
4085
4126
  tiers = []
4086
4127
  minNotional = 0
@@ -4089,6 +4130,7 @@ class phemex(Exchange, ImplicitAPI):
4089
4130
  maxNotional = self.safe_integer(tier, 'limit')
4090
4131
  tiers.append({
4091
4132
  'tier': self.sum(i, 1),
4133
+ 'symbol': self.safe_symbol(marketId, market),
4092
4134
  'currency': market['settle'],
4093
4135
  'minNotional': minNotional,
4094
4136
  'maxNotional': maxNotional,
@@ -4136,7 +4178,9 @@ class phemex(Exchange, ImplicitAPI):
4136
4178
  def set_leverage(self, leverage: Int, symbol: Str = None, params={}):
4137
4179
  """
4138
4180
  set the level of leverage for a market
4139
- :see: https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
4181
+
4182
+ https://github.com/phemex/phemex-api-docs/blob/master/Public-Hedged-Perpetual-API.md#set-leverage
4183
+
4140
4184
  :param float leverage: the rate of leverage, 100 > leverage > -100 excluding numbers between -1 to 1
4141
4185
  :param str symbol: unified market symbol
4142
4186
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -4361,7 +4405,9 @@ class phemex(Exchange, ImplicitAPI):
4361
4405
  def fetch_funding_rate_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
4362
4406
  """
4363
4407
  fetches historical funding rate prices
4364
- :see: https://phemex-docs.github.io/#query-funding-rate-history-2
4408
+
4409
+ https://phemex-docs.github.io/#query-funding-rate-history-2
4410
+
4365
4411
  :param str symbol: unified symbol of the market to fetch the funding rate history for
4366
4412
  :param int [since]: timestamp in ms of the earliest funding rate to fetch
4367
4413
  :param int [limit]: the maximum amount of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rate-history-structure>` to fetch
@@ -4434,7 +4480,9 @@ class phemex(Exchange, ImplicitAPI):
4434
4480
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
4435
4481
  """
4436
4482
  make a withdrawal
4437
- :see: https://phemex-docs.github.io/#create-withdraw-request
4483
+
4484
+ https://phemex-docs.github.io/#create-withdraw-request
4485
+
4438
4486
  :param str code: unified currency code
4439
4487
  :param float amount: the amount to withdraw
4440
4488
  :param str address: the address to withdraw to
@@ -4500,7 +4548,9 @@ class phemex(Exchange, ImplicitAPI):
4500
4548
  def fetch_open_interest(self, symbol: str, params={}):
4501
4549
  """
4502
4550
  retrieves the open interest of a trading pair
4503
- :see: https://phemex-docs.github.io/#query-24-hours-ticker
4551
+
4552
+ https://phemex-docs.github.io/#query-24-hours-ticker
4553
+
4504
4554
  :param str symbol: unified CCXT market symbol
4505
4555
  :param dict [params]: exchange specific parameters
4506
4556
  :returns dict} an open interest structure{@link https://docs.ccxt.com/#/?id=open-interest-structure:
ccxt/poloniex.py CHANGED
@@ -433,7 +433,9 @@ class poloniex(Exchange, ImplicitAPI):
433
433
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
434
434
  """
435
435
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
436
- :see: https://api-docs.poloniex.com/spot/api/public/market-data#candles
436
+
437
+ https://api-docs.poloniex.com/spot/api/public/market-data#candles
438
+
437
439
  :param str symbol: unified symbol of the market to fetch OHLCV data for
438
440
  :param str timeframe: the length of time each candle represents
439
441
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -492,7 +494,9 @@ class poloniex(Exchange, ImplicitAPI):
492
494
  def fetch_markets(self, params={}) -> List[Market]:
493
495
  """
494
496
  retrieves data on all markets for poloniex
495
- :see: https://api-docs.poloniex.com/spot/api/public/reference-data#symbol-information
497
+
498
+ https://api-docs.poloniex.com/spot/api/public/reference-data#symbol-information
499
+
496
500
  :param dict [params]: extra parameters specific to the exchange API endpoint
497
501
  :returns dict[]: an array of objects representing market data
498
502
  """
@@ -581,7 +585,9 @@ class poloniex(Exchange, ImplicitAPI):
581
585
  def fetch_time(self, params={}):
582
586
  """
583
587
  fetches the current integer timestamp in milliseconds from the exchange server
584
- :see: https://api-docs.poloniex.com/spot/api/public/reference-data#system-timestamp
588
+
589
+ https://api-docs.poloniex.com/spot/api/public/reference-data#system-timestamp
590
+
585
591
  :param dict [params]: extra parameters specific to the exchange API endpoint
586
592
  :returns int: the current integer timestamp in milliseconds from the exchange server
587
593
  """
@@ -647,7 +653,9 @@ class poloniex(Exchange, ImplicitAPI):
647
653
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
648
654
  """
649
655
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
650
- :see: https://api-docs.poloniex.com/spot/api/public/market-data#ticker
656
+
657
+ https://api-docs.poloniex.com/spot/api/public/market-data#ticker
658
+
651
659
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
652
660
  :param dict [params]: extra parameters specific to the exchange API endpoint
653
661
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -684,7 +692,9 @@ class poloniex(Exchange, ImplicitAPI):
684
692
  def fetch_currencies(self, params={}) -> Currencies:
685
693
  """
686
694
  fetches all available currencies on an exchange
687
- :see: https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
695
+
696
+ https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
697
+
688
698
  :param dict [params]: extra parameters specific to the exchange API endpoint
689
699
  :returns dict: an associative dictionary of currencies
690
700
  """
@@ -814,7 +824,9 @@ class poloniex(Exchange, ImplicitAPI):
814
824
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
815
825
  """
816
826
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
817
- :see: https://api-docs.poloniex.com/spot/api/public/market-data#ticker
827
+
828
+ https://api-docs.poloniex.com/spot/api/public/market-data#ticker
829
+
818
830
  :param str symbol: unified symbol of the market to fetch the ticker for
819
831
  :param dict [params]: extra parameters specific to the exchange API endpoint
820
832
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -942,7 +954,9 @@ class poloniex(Exchange, ImplicitAPI):
942
954
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
943
955
  """
944
956
  get the list of most recent trades for a particular symbol
945
- :see: https://api-docs.poloniex.com/spot/api/public/market-data#trades
957
+
958
+ https://api-docs.poloniex.com/spot/api/public/market-data#trades
959
+
946
960
  :param str symbol: unified symbol of the market to fetch trades for
947
961
  :param int [since]: timestamp in ms of the earliest trade to fetch
948
962
  :param int [limit]: the maximum amount of trades to fetch
@@ -975,7 +989,9 @@ class poloniex(Exchange, ImplicitAPI):
975
989
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
976
990
  """
977
991
  fetch all trades made by the user
978
- :see: https://api-docs.poloniex.com/spot/api/private/trade#trade-history
992
+
993
+ https://api-docs.poloniex.com/spot/api/private/trade#trade-history
994
+
979
995
  :param str symbol: unified market symbol
980
996
  :param int [since]: the earliest time in ms to fetch trades for
981
997
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1175,8 +1191,10 @@ class poloniex(Exchange, ImplicitAPI):
1175
1191
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1176
1192
  """
1177
1193
  fetch all unfilled currently open orders
1178
- :see: https://api-docs.poloniex.com/spot/api/private/order#open-orders
1179
- :see: https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders # trigger orders
1194
+
1195
+ https://api-docs.poloniex.com/spot/api/private/order#open-orders
1196
+ https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders # trigger orders
1197
+
1180
1198
  :param str symbol: unified market symbol
1181
1199
  :param int [since]: the earliest time in ms to fetch open orders for
1182
1200
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -1228,8 +1246,10 @@ class poloniex(Exchange, ImplicitAPI):
1228
1246
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1229
1247
  """
1230
1248
  create a trade order
1231
- :see: https://api-docs.poloniex.com/spot/api/private/order#create-order
1232
- :see: https://api-docs.poloniex.com/spot/api/private/smart-order#create-order # trigger orders
1249
+
1250
+ https://api-docs.poloniex.com/spot/api/private/order#create-order
1251
+ https://api-docs.poloniex.com/spot/api/private/smart-order#create-order # trigger orders
1252
+
1233
1253
  :param str symbol: unified symbol of the market to create an order in
1234
1254
  :param str type: 'market' or 'limit'
1235
1255
  :param str side: 'buy' or 'sell'
@@ -1317,8 +1337,10 @@ class poloniex(Exchange, ImplicitAPI):
1317
1337
  def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
1318
1338
  """
1319
1339
  edit a trade order
1320
- :see: https://api-docs.poloniex.com/spot/api/private/order#cancel-replace-order
1321
- :see: https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-replace-order
1340
+
1341
+ https://api-docs.poloniex.com/spot/api/private/order#cancel-replace-order
1342
+ https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-replace-order
1343
+
1322
1344
  :param str id: order id
1323
1345
  :param str symbol: unified symbol of the market to create an order in
1324
1346
  :param str type: 'market' or 'limit'
@@ -1396,8 +1418,10 @@ class poloniex(Exchange, ImplicitAPI):
1396
1418
  def cancel_all_orders(self, symbol: Str = None, params={}):
1397
1419
  """
1398
1420
  cancel all open orders
1399
- :see: https://api-docs.poloniex.com/spot/api/private/order#cancel-all-orders
1400
- :see: https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-all-orders # trigger orders
1421
+
1422
+ https://api-docs.poloniex.com/spot/api/private/order#cancel-all-orders
1423
+ https://api-docs.poloniex.com/spot/api/private/smart-order#cancel-all-orders # trigger orders
1424
+
1401
1425
  :param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
1402
1426
  :param dict [params]: extra parameters specific to the exchange API endpoint
1403
1427
  :param boolean [params.trigger]: True if canceling trigger orders
@@ -1443,8 +1467,10 @@ class poloniex(Exchange, ImplicitAPI):
1443
1467
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1444
1468
  """
1445
1469
  fetch an order by it's id
1446
- :see: https://api-docs.poloniex.com/spot/api/private/order#order-details
1447
- :see: https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders # trigger orders
1470
+
1471
+ https://api-docs.poloniex.com/spot/api/private/order#order-details
1472
+ https://api-docs.poloniex.com/spot/api/private/smart-order#open-orders # trigger orders
1473
+
1448
1474
  :param str id: order id
1449
1475
  :param str symbol: unified market symbol, default is None
1450
1476
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1498,7 +1524,9 @@ class poloniex(Exchange, ImplicitAPI):
1498
1524
  def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1499
1525
  """
1500
1526
  fetch all the trades made from a single order
1501
- :see: https://api-docs.poloniex.com/spot/api/private/trade#trades-by-order-id
1527
+
1528
+ https://api-docs.poloniex.com/spot/api/private/trade#trades-by-order-id
1529
+
1502
1530
  :param str id: order id
1503
1531
  :param str symbol: unified market symbol
1504
1532
  :param int [since]: the earliest time in ms to fetch trades for
@@ -1556,7 +1584,9 @@ class poloniex(Exchange, ImplicitAPI):
1556
1584
  def fetch_balance(self, params={}) -> Balances:
1557
1585
  """
1558
1586
  query for balance and get the amount of funds available for trading or funds locked in orders
1559
- :see: https://api-docs.poloniex.com/spot/api/private/account#all-account-balances
1587
+
1588
+ https://api-docs.poloniex.com/spot/api/private/account#all-account-balances
1589
+
1560
1590
  :param dict [params]: extra parameters specific to the exchange API endpoint
1561
1591
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1562
1592
  """
@@ -1586,7 +1616,9 @@ class poloniex(Exchange, ImplicitAPI):
1586
1616
  def fetch_trading_fees(self, params={}) -> TradingFees:
1587
1617
  """
1588
1618
  fetch the trading fees for multiple markets
1589
- :see: https://api-docs.poloniex.com/spot/api/private/account#fee-info
1619
+
1620
+ https://api-docs.poloniex.com/spot/api/private/account#fee-info
1621
+
1590
1622
  :param dict [params]: extra parameters specific to the exchange API endpoint
1591
1623
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
1592
1624
  """
@@ -1616,7 +1648,9 @@ class poloniex(Exchange, ImplicitAPI):
1616
1648
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
1617
1649
  """
1618
1650
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
1619
- :see: https://api-docs.poloniex.com/spot/api/public/market-data#order-book
1651
+
1652
+ https://api-docs.poloniex.com/spot/api/public/market-data#order-book
1653
+
1620
1654
  :param str symbol: unified symbol of the market to fetch the order book for
1621
1655
  :param int [limit]: the maximum amount of order book entries to return
1622
1656
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1666,7 +1700,9 @@ class poloniex(Exchange, ImplicitAPI):
1666
1700
  def create_deposit_address(self, code: str, params={}):
1667
1701
  """
1668
1702
  create a currency deposit address
1669
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
1703
+
1704
+ https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
1705
+
1670
1706
  :param str code: unified currency code of the currency for the deposit address
1671
1707
  :param dict [params]: extra parameters specific to the exchange API endpoint
1672
1708
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -1710,7 +1746,9 @@ class poloniex(Exchange, ImplicitAPI):
1710
1746
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1711
1747
  """
1712
1748
  fetch the deposit address for a currency associated with self account
1713
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
1749
+
1750
+ https://api-docs.poloniex.com/spot/api/private/wallet#deposit-addresses
1751
+
1714
1752
  :param str code: unified currency code
1715
1753
  :param dict [params]: extra parameters specific to the exchange API endpoint
1716
1754
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -1754,7 +1792,9 @@ class poloniex(Exchange, ImplicitAPI):
1754
1792
  def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
1755
1793
  """
1756
1794
  transfer currency internally between wallets on the same account
1757
- :see: https://api-docs.poloniex.com/spot/api/private/account#accounts-transfer
1795
+
1796
+ https://api-docs.poloniex.com/spot/api/private/account#accounts-transfer
1797
+
1758
1798
  :param str code: unified currency code
1759
1799
  :param float amount: amount to transfer
1760
1800
  :param str fromAccount: account to transfer from
@@ -1802,7 +1842,9 @@ class poloniex(Exchange, ImplicitAPI):
1802
1842
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1803
1843
  """
1804
1844
  make a withdrawal
1805
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#withdraw-currency
1845
+
1846
+ https://api-docs.poloniex.com/spot/api/private/wallet#withdraw-currency
1847
+
1806
1848
  :param str code: unified currency code
1807
1849
  :param float amount: the amount to withdraw
1808
1850
  :param str address: the address to withdraw to
@@ -1923,7 +1965,9 @@ class poloniex(Exchange, ImplicitAPI):
1923
1965
  def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1924
1966
  """
1925
1967
  fetch history of deposits and withdrawals
1926
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
1968
+
1969
+ https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
1970
+
1927
1971
  :param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
1928
1972
  :param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
1929
1973
  :param int [limit]: max number of deposit/withdrawals to return, default is None
@@ -1945,7 +1989,9 @@ class poloniex(Exchange, ImplicitAPI):
1945
1989
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
1946
1990
  """
1947
1991
  fetch all withdrawals made from an account
1948
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
1992
+
1993
+ https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
1994
+
1949
1995
  :param str code: unified currency code
1950
1996
  :param int [since]: the earliest time in ms to fetch withdrawals for
1951
1997
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -1963,7 +2009,9 @@ class poloniex(Exchange, ImplicitAPI):
1963
2009
  def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
1964
2010
  """
1965
2011
  fetch deposit and withdraw fees
1966
- :see: https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
2012
+
2013
+ https://api-docs.poloniex.com/spot/api/public/reference-data#currency-information
2014
+
1967
2015
  :param str[]|None codes: list of unified currency codes
1968
2016
  :param dict [params]: extra parameters specific to the exchange API endpoint
1969
2017
  :returns dict[]: a list of `fees structures <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -2081,7 +2129,9 @@ class poloniex(Exchange, ImplicitAPI):
2081
2129
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2082
2130
  """
2083
2131
  fetch all deposits made to an account
2084
- :see: https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
2132
+
2133
+ https://api-docs.poloniex.com/spot/api/private/wallet#wallets-activity-records
2134
+
2085
2135
  :param str code: unified currency code
2086
2136
  :param int [since]: the earliest time in ms to fetch deposits for
2087
2137
  :param int [limit]: the maximum number of deposits structures to retrieve