ccxt 4.4.30__py2.py3-none-any.whl → 4.4.32__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. ccxt/__init__.py +1 -1
  2. ccxt/ace.py +36 -12
  3. ccxt/alpaca.py +62 -22
  4. ccxt/ascendex.py +65 -30
  5. ccxt/async_support/__init__.py +1 -1
  6. ccxt/async_support/ace.py +36 -12
  7. ccxt/async_support/alpaca.py +62 -22
  8. ccxt/async_support/ascendex.py +65 -30
  9. ccxt/async_support/base/exchange.py +3 -3
  10. ccxt/async_support/base/ws/aiohttp_client.py +25 -3
  11. ccxt/async_support/bigone.py +71 -27
  12. ccxt/async_support/binance.py +555 -323
  13. ccxt/async_support/bingx.py +208 -108
  14. ccxt/async_support/bit2c.py +34 -12
  15. ccxt/async_support/bitbank.py +42 -14
  16. ccxt/async_support/bitbns.py +17 -9
  17. ccxt/async_support/bitfinex.py +68 -24
  18. ccxt/async_support/bitfinex2.py +116 -44
  19. ccxt/async_support/bitflyer.py +54 -18
  20. ccxt/async_support/bitget.py +277 -145
  21. ccxt/async_support/bithumb.py +39 -14
  22. ccxt/async_support/bitmart.py +145 -79
  23. ccxt/async_support/bitmex.py +90 -30
  24. ccxt/async_support/bitopro.py +66 -22
  25. ccxt/async_support/bitrue.py +109 -57
  26. ccxt/async_support/bitso.py +55 -19
  27. ccxt/async_support/bitstamp.py +84 -36
  28. ccxt/async_support/bitteam.py +51 -17
  29. ccxt/async_support/bitvavo.py +57 -22
  30. ccxt/async_support/bl3p.py +26 -10
  31. ccxt/async_support/blockchaincom.py +63 -21
  32. ccxt/async_support/blofin.py +95 -38
  33. ccxt/async_support/btcalpha.py +48 -16
  34. ccxt/async_support/btcbox.py +27 -9
  35. ccxt/async_support/btcmarkets.py +57 -19
  36. ccxt/async_support/btcturk.py +36 -12
  37. ccxt/async_support/bybit.py +251 -95
  38. ccxt/async_support/cex.py +65 -22
  39. ccxt/async_support/coinbase.py +138 -56
  40. ccxt/async_support/coinbaseexchange.py +76 -28
  41. ccxt/async_support/coinbaseinternational.py +75 -27
  42. ccxt/async_support/coincatch.py +191 -97
  43. ccxt/async_support/coincheck.py +33 -11
  44. ccxt/async_support/coinex.py +212 -101
  45. ccxt/async_support/coinlist.py +87 -30
  46. ccxt/async_support/coinmate.py +55 -24
  47. ccxt/async_support/coinmetro.py +52 -18
  48. ccxt/async_support/coinone.py +27 -10
  49. ccxt/async_support/coinsph.py +73 -27
  50. ccxt/async_support/coinspot.py +25 -9
  51. ccxt/async_support/cryptocom.py +103 -38
  52. ccxt/async_support/currencycom.py +70 -23
  53. ccxt/async_support/delta.py +90 -30
  54. ccxt/async_support/deribit.py +131 -50
  55. ccxt/async_support/digifinex.py +114 -51
  56. ccxt/async_support/exmo.py +104 -45
  57. ccxt/async_support/gate.py +313 -157
  58. ccxt/async_support/gemini.py +57 -20
  59. ccxt/async_support/hashkey.py +151 -66
  60. ccxt/async_support/hitbtc.py +157 -74
  61. ccxt/async_support/hollaex.py +76 -25
  62. ccxt/async_support/htx.py +297 -240
  63. ccxt/async_support/huobijp.py +1 -0
  64. ccxt/async_support/hyperliquid.py +94 -38
  65. ccxt/async_support/idex.py +73 -24
  66. ccxt/async_support/independentreserve.py +12 -5
  67. ccxt/async_support/indodax.py +54 -17
  68. ccxt/async_support/kraken.py +108 -36
  69. ccxt/async_support/krakenfutures.py +88 -34
  70. ccxt/async_support/kucoin.py +214 -110
  71. ccxt/async_support/kucoinfutures.py +209 -64
  72. ccxt/async_support/kuna.py +80 -39
  73. ccxt/async_support/latoken.py +70 -33
  74. ccxt/async_support/lbank.py +89 -38
  75. ccxt/async_support/luno.py +54 -19
  76. ccxt/async_support/lykke.py +54 -19
  77. ccxt/async_support/mercado.py +1 -0
  78. ccxt/async_support/mexc.py +226 -108
  79. ccxt/async_support/ndax.py +58 -19
  80. ccxt/async_support/novadax.py +67 -22
  81. ccxt/async_support/oceanex.py +58 -19
  82. ccxt/async_support/okcoin.py +81 -38
  83. ccxt/async_support/okx.py +270 -109
  84. ccxt/async_support/onetrading.py +3 -1
  85. ccxt/async_support/oxfun.py +95 -36
  86. ccxt/async_support/p2b.py +49 -23
  87. ccxt/async_support/paradex.py +75 -27
  88. ccxt/async_support/paymium.py +31 -11
  89. ccxt/async_support/phemex.py +108 -56
  90. ccxt/async_support/poloniex.py +80 -30
  91. ccxt/async_support/poloniexfutures.py +72 -30
  92. ccxt/async_support/probit.py +64 -22
  93. ccxt/async_support/timex.py +58 -19
  94. ccxt/async_support/tokocrypto.py +63 -22
  95. ccxt/async_support/tradeogre.py +7 -2
  96. ccxt/async_support/upbit.py +72 -25
  97. ccxt/async_support/vertex.py +74 -28
  98. ccxt/async_support/wavesexchange.py +32 -8
  99. ccxt/async_support/wazirx.py +51 -17
  100. ccxt/async_support/whitebit.py +105 -41
  101. ccxt/async_support/woo.py +162 -65
  102. ccxt/async_support/woofipro.py +119 -50
  103. ccxt/async_support/xt.py +150 -73
  104. ccxt/async_support/yobit.py +49 -16
  105. ccxt/async_support/zaif.py +30 -10
  106. ccxt/async_support/zonda.py +46 -16
  107. ccxt/base/exchange.py +47 -35
  108. ccxt/base/types.py +1 -0
  109. ccxt/bigone.py +71 -27
  110. ccxt/binance.py +555 -323
  111. ccxt/bingx.py +208 -108
  112. ccxt/bit2c.py +34 -12
  113. ccxt/bitbank.py +42 -14
  114. ccxt/bitbns.py +17 -9
  115. ccxt/bitfinex.py +68 -24
  116. ccxt/bitfinex2.py +116 -44
  117. ccxt/bitflyer.py +54 -18
  118. ccxt/bitget.py +277 -145
  119. ccxt/bithumb.py +39 -14
  120. ccxt/bitmart.py +145 -79
  121. ccxt/bitmex.py +90 -30
  122. ccxt/bitopro.py +66 -22
  123. ccxt/bitrue.py +109 -57
  124. ccxt/bitso.py +55 -19
  125. ccxt/bitstamp.py +84 -36
  126. ccxt/bitteam.py +51 -17
  127. ccxt/bitvavo.py +57 -22
  128. ccxt/bl3p.py +26 -10
  129. ccxt/blockchaincom.py +63 -21
  130. ccxt/blofin.py +95 -38
  131. ccxt/btcalpha.py +48 -16
  132. ccxt/btcbox.py +27 -9
  133. ccxt/btcmarkets.py +57 -19
  134. ccxt/btcturk.py +36 -12
  135. ccxt/bybit.py +251 -95
  136. ccxt/cex.py +65 -22
  137. ccxt/coinbase.py +138 -56
  138. ccxt/coinbaseexchange.py +76 -28
  139. ccxt/coinbaseinternational.py +75 -27
  140. ccxt/coincatch.py +191 -97
  141. ccxt/coincheck.py +33 -11
  142. ccxt/coinex.py +212 -101
  143. ccxt/coinlist.py +87 -30
  144. ccxt/coinmate.py +55 -24
  145. ccxt/coinmetro.py +52 -18
  146. ccxt/coinone.py +27 -10
  147. ccxt/coinsph.py +73 -27
  148. ccxt/coinspot.py +25 -9
  149. ccxt/cryptocom.py +103 -38
  150. ccxt/currencycom.py +70 -23
  151. ccxt/delta.py +90 -30
  152. ccxt/deribit.py +131 -50
  153. ccxt/digifinex.py +114 -51
  154. ccxt/exmo.py +104 -45
  155. ccxt/gate.py +313 -157
  156. ccxt/gemini.py +57 -20
  157. ccxt/hashkey.py +151 -66
  158. ccxt/hitbtc.py +157 -74
  159. ccxt/hollaex.py +76 -25
  160. ccxt/htx.py +297 -240
  161. ccxt/huobijp.py +1 -0
  162. ccxt/hyperliquid.py +94 -38
  163. ccxt/idex.py +73 -24
  164. ccxt/independentreserve.py +12 -5
  165. ccxt/indodax.py +54 -17
  166. ccxt/kraken.py +108 -36
  167. ccxt/krakenfutures.py +88 -34
  168. ccxt/kucoin.py +214 -110
  169. ccxt/kucoinfutures.py +209 -64
  170. ccxt/kuna.py +80 -39
  171. ccxt/latoken.py +70 -33
  172. ccxt/lbank.py +89 -38
  173. ccxt/luno.py +54 -19
  174. ccxt/lykke.py +54 -19
  175. ccxt/mercado.py +1 -0
  176. ccxt/mexc.py +226 -108
  177. ccxt/ndax.py +58 -19
  178. ccxt/novadax.py +67 -22
  179. ccxt/oceanex.py +58 -19
  180. ccxt/okcoin.py +81 -38
  181. ccxt/okx.py +270 -109
  182. ccxt/onetrading.py +3 -1
  183. ccxt/oxfun.py +95 -36
  184. ccxt/p2b.py +49 -23
  185. ccxt/paradex.py +75 -27
  186. ccxt/paymium.py +31 -11
  187. ccxt/phemex.py +108 -56
  188. ccxt/poloniex.py +80 -30
  189. ccxt/poloniexfutures.py +72 -30
  190. ccxt/pro/__init__.py +1 -1
  191. ccxt/pro/alpaca.py +15 -5
  192. ccxt/pro/ascendex.py +18 -6
  193. ccxt/pro/binance.py +204 -123
  194. ccxt/pro/bingx.py +44 -24
  195. ccxt/pro/bitfinex.py +13 -5
  196. ccxt/pro/bitget.py +76 -37
  197. ccxt/pro/bithumb.py +12 -4
  198. ccxt/pro/bitmart.py +44 -20
  199. ccxt/pro/bitmex.py +42 -14
  200. ccxt/pro/bitopro.py +15 -5
  201. ccxt/pro/bitrue.py +7 -3
  202. ccxt/pro/bitvavo.py +97 -62
  203. ccxt/pro/blockchaincom.py +18 -6
  204. ccxt/pro/blofin.py +36 -12
  205. ccxt/pro/bybit.py +100 -42
  206. ccxt/pro/cex.py +48 -16
  207. ccxt/pro/coinbase.py +32 -12
  208. ccxt/pro/coinbaseexchange.py +1 -1
  209. ccxt/pro/coinbaseinternational.py +34 -14
  210. ccxt/pro/coincatch.py +54 -19
  211. ccxt/pro/coincheck.py +6 -2
  212. ccxt/pro/coinex.py +40 -20
  213. ccxt/pro/coinone.py +9 -3
  214. ccxt/pro/cryptocom.py +71 -27
  215. ccxt/pro/deribit.py +36 -12
  216. ccxt/pro/exmo.py +10 -4
  217. ccxt/pro/gate.py +65 -31
  218. ccxt/pro/gemini.py +21 -7
  219. ccxt/pro/hashkey.py +27 -9
  220. ccxt/pro/hitbtc.py +61 -37
  221. ccxt/pro/hollaex.py +15 -5
  222. ccxt/pro/htx.py +39 -21
  223. ccxt/pro/hyperliquid.py +41 -14
  224. ccxt/pro/kraken.py +49 -17
  225. ccxt/pro/krakenfutures.py +47 -24
  226. ccxt/pro/kucoin.py +60 -31
  227. ccxt/pro/kucoinfutures.py +41 -19
  228. ccxt/pro/lbank.py +27 -9
  229. ccxt/pro/luno.py +3 -1
  230. ccxt/pro/mexc.py +36 -19
  231. ccxt/pro/ndax.py +12 -4
  232. ccxt/pro/okcoin.py +18 -6
  233. ccxt/pro/okx.py +76 -28
  234. ccxt/pro/onetrading.py +21 -7
  235. ccxt/pro/oxfun.py +54 -20
  236. ccxt/pro/p2b.py +23 -11
  237. ccxt/pro/paradex.py +12 -4
  238. ccxt/pro/phemex.py +31 -19
  239. ccxt/pro/poloniex.py +50 -22
  240. ccxt/pro/poloniexfutures.py +17 -7
  241. ccxt/pro/probit.py +18 -6
  242. ccxt/pro/upbit.py +25 -9
  243. ccxt/pro/vertex.py +20 -6
  244. ccxt/pro/wazirx.py +21 -7
  245. ccxt/pro/whitebit.py +25 -9
  246. ccxt/pro/woo.py +32 -12
  247. ccxt/pro/woofipro.py +35 -13
  248. ccxt/pro/xt.py +46 -26
  249. ccxt/probit.py +64 -22
  250. ccxt/timex.py +58 -19
  251. ccxt/tokocrypto.py +63 -22
  252. ccxt/tradeogre.py +7 -2
  253. ccxt/upbit.py +72 -25
  254. ccxt/vertex.py +74 -28
  255. ccxt/wavesexchange.py +32 -8
  256. ccxt/wazirx.py +51 -17
  257. ccxt/whitebit.py +105 -41
  258. ccxt/woo.py +162 -65
  259. ccxt/woofipro.py +119 -50
  260. ccxt/xt.py +150 -73
  261. ccxt/yobit.py +49 -16
  262. ccxt/zaif.py +30 -10
  263. ccxt/zonda.py +46 -16
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
  268. {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
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
ccxt/poloniexfutures.py CHANGED
@@ -220,7 +220,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
220
220
  def fetch_markets(self, params={}) -> List[Market]:
221
221
  """
222
222
  retrieves data on all markets for poloniexfutures
223
- :see: https://api-docs.poloniex.com/futures/api/symbol
223
+
224
+ https://api-docs.poloniex.com/futures/api/symbol
225
+
224
226
  :param dict [params]: extra parameters specific to the exchange API endpoint
225
227
  :returns dict[]: an array of objects representing market data
226
228
  """
@@ -426,7 +428,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
426
428
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
427
429
  """
428
430
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
429
- :see: https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-20
431
+
432
+ https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-20
433
+
430
434
  :param str symbol: unified symbol of the market to fetch the ticker for
431
435
  :param dict [params]: extra parameters specific to the exchange API endpoint
432
436
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -460,7 +464,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
460
464
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
461
465
  """
462
466
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
463
- :see: https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-of-all-symbols
467
+
468
+ https://api-docs.poloniex.com/futures/api/ticker#get-real-time-ticker-of-all-symbols
469
+
464
470
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
465
471
  :param dict [params]: extra parameters specific to the exchange API endpoint
466
472
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -473,8 +479,10 @@ class poloniexfutures(Exchange, ImplicitAPI):
473
479
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
474
480
  """
475
481
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
476
- :see: https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book---level-2
477
- :see: https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
482
+
483
+ https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book---level-2
484
+ https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
485
+
478
486
  :param str symbol: unified symbol of the market to fetch the order book for
479
487
  :param int [limit]: the maximum amount of order book entries to return
480
488
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -553,7 +561,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
553
561
  def fetch_l3_order_book(self, symbol: str, limit: Int = None, params={}):
554
562
  """
555
563
  fetches level 3 information on open orders with bid(buy) and ask(sell) prices, volumes and other data
556
- :see: https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
564
+
565
+ https://api-docs.poloniex.com/futures/api/orderbook#get-full-order-book--level-3
566
+
557
567
  :param str symbol: unified market symbol
558
568
  :param int [limit]: max number of orders to return, default is None
559
569
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -652,7 +662,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
652
662
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
653
663
  """
654
664
  get the list of most recent trades for a particular symbol
655
- :see: https://api-docs.poloniex.com/futures/api/historical#transaction-history
665
+
666
+ https://api-docs.poloniex.com/futures/api/historical#transaction-history
667
+
656
668
  :param str symbol: unified symbol of the market to fetch trades for
657
669
  :param int [since]: timestamp in ms of the earliest trade to fetch
658
670
  :param int [limit]: the maximum amount of trades to fetch
@@ -687,7 +699,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
687
699
  def fetch_time(self, params={}):
688
700
  """
689
701
  fetches the current integer timestamp in milliseconds from the poloniexfutures server
690
- :see: https://api-docs.poloniex.com/futures/api/time#server-time
702
+
703
+ https://api-docs.poloniex.com/futures/api/time#server-time
704
+
691
705
  :param dict [params]: extra parameters specific to the exchange API endpoint
692
706
  :returns int: the current integer timestamp in milliseconds from the poloniexfutures server
693
707
  """
@@ -704,7 +718,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
704
718
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
705
719
  """
706
720
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
707
- :see: https://api-docs.poloniex.com/futures/api/kline#get-k-line-data-of-contract
721
+
722
+ https://api-docs.poloniex.com/futures/api/kline#get-k-line-data-of-contract
723
+
708
724
  :param str symbol: unified symbol of the market to fetch OHLCV data for
709
725
  :param str timeframe: the length of time each candle represents
710
726
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -766,7 +782,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
766
782
  def fetch_balance(self, params={}) -> Balances:
767
783
  """
768
784
  query for balance and get the amount of funds available for trading or funds locked in orders
769
- :see: https://api-docs.poloniex.com/futures/api/account#get-account-overview
785
+
786
+ https://api-docs.poloniex.com/futures/api/account#get-account-overview
787
+
770
788
  :param dict [params]: extra parameters specific to the exchange API endpoint
771
789
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
772
790
  """
@@ -799,7 +817,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
799
817
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
800
818
  """
801
819
  Create an order on the exchange
802
- :see: https://api-docs.poloniex.com/futures/api/orders#place-an-order
820
+
821
+ https://api-docs.poloniex.com/futures/api/orders#place-an-order
822
+
803
823
  :param str symbol: Unified CCXT market symbol
804
824
  :param str type: 'limit' or 'market'
805
825
  :param str side: 'buy' or 'sell'
@@ -896,7 +916,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
896
916
  def cancel_order(self, id: str, symbol: Str = None, params={}):
897
917
  """
898
918
  cancels an open order
899
- :see: https://api-docs.poloniex.com/futures/api/orders#cancel-an-order
919
+
920
+ https://api-docs.poloniex.com/futures/api/orders#cancel-an-order
921
+
900
922
  :param str id: order id
901
923
  :param str symbol: unified symbol of the market the order was made in
902
924
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -933,7 +955,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
933
955
  def fetch_positions(self, symbols: Strings = None, params={}):
934
956
  """
935
957
  fetch all open positions
936
- :see: https://api-docs.poloniex.com/futures/api/positions#get-position-list
958
+
959
+ https://api-docs.poloniex.com/futures/api/positions#get-position-list
960
+
937
961
  :param str[]|None symbols: list of unified market symbols
938
962
  :param dict [params]: extra parameters specific to the exchange API endpoint
939
963
  :returns dict[]: a list of `position structure <https://docs.ccxt.com/#/?id=position-structure>`
@@ -1083,7 +1107,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
1083
1107
  def fetch_funding_history(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1084
1108
  """
1085
1109
  fetch the history of funding payments paid and received on self account
1086
- :see: https://api-docs.poloniex.com/futures/api/funding-fees#get-funding-history
1110
+
1111
+ https://api-docs.poloniex.com/futures/api/funding-fees#get-funding-history
1112
+
1087
1113
  :param str symbol: unified market symbol
1088
1114
  :param int [since]: the earliest time in ms to fetch funding history for
1089
1115
  :param int [limit]: the maximum number of funding history structures to retrieve
@@ -1210,8 +1236,10 @@ class poloniexfutures(Exchange, ImplicitAPI):
1210
1236
  def fetch_orders_by_status(self, status, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1211
1237
  """
1212
1238
  fetches a list of orders placed on the exchange
1213
- :see: https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1214
- :see: https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1239
+
1240
+ https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1241
+ https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1242
+
1215
1243
  :param str status: 'active' or 'closed', only 'active' is valid for stop orders
1216
1244
  :param str symbol: unified symbol for the market to retrieve orders from
1217
1245
  :param int [since]: timestamp in ms of the earliest order to retrieve
@@ -1308,8 +1336,10 @@ class poloniexfutures(Exchange, ImplicitAPI):
1308
1336
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1309
1337
  """
1310
1338
  fetch all unfilled currently open orders
1311
- :see: https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1312
- :see: https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1339
+
1340
+ https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1341
+ https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1342
+
1313
1343
  :param str symbol: unified market symbol
1314
1344
  :param int [since]: the earliest time in ms to fetch open orders for
1315
1345
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -1324,8 +1354,10 @@ class poloniexfutures(Exchange, ImplicitAPI):
1324
1354
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1325
1355
  """
1326
1356
  fetches information on multiple closed orders made by the user
1327
- :see: https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1328
- :see: https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1357
+
1358
+ https://api-docs.poloniex.com/futures/api/orders#get-order-listdeprecated
1359
+ https://api-docs.poloniex.com/futures/api/orders#get-untriggered-stop-order-list
1360
+
1329
1361
  :param str symbol: unified market symbol of the market orders were made in
1330
1362
  :param int [since]: the earliest time in ms to fetch orders for
1331
1363
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1340,8 +1372,10 @@ class poloniexfutures(Exchange, ImplicitAPI):
1340
1372
  def fetch_order(self, id: Str = None, symbol: Str = None, params={}):
1341
1373
  """
1342
1374
  fetches information on an order made by the user
1343
- :see: https://api-docs.poloniex.com/futures/api/orders#get-details-of-a-single-order
1344
- :see: https://api-docs.poloniex.com/futures/api/orders#get-single-order-by-clientoid
1375
+
1376
+ https://api-docs.poloniex.com/futures/api/orders#get-details-of-a-single-order
1377
+ https://api-docs.poloniex.com/futures/api/orders#get-single-order-by-clientoid
1378
+
1345
1379
  :param str id: the order id
1346
1380
  :param str symbol: unified symbol of the market the order was made in
1347
1381
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1532,7 +1566,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
1532
1566
  def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
1533
1567
  """
1534
1568
  fetch the current funding rate
1535
- :see: https://api-docs.poloniex.com/futures/api/futures-index#get-premium-index
1569
+
1570
+ https://api-docs.poloniex.com/futures/api/futures-index#get-premium-index
1571
+
1536
1572
  :param str symbol: unified market symbol
1537
1573
  :param dict [params]: extra parameters specific to the exchange API endpoint
1538
1574
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1558,7 +1594,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
1558
1594
  def fetch_funding_interval(self, symbol: str, params={}) -> FundingRate:
1559
1595
  """
1560
1596
  fetch the current funding rate interval
1561
- :see: https://api-docs.poloniex.com/futures/api/futures-index#get-premium-index
1597
+
1598
+ https://api-docs.poloniex.com/futures/api/futures-index#get-premium-index
1599
+
1562
1600
  :param str symbol: unified market symbol
1563
1601
  :param dict [params]: extra parameters specific to the exchange API endpoint
1564
1602
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1611,15 +1649,17 @@ class poloniexfutures(Exchange, ImplicitAPI):
1611
1649
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1612
1650
  """
1613
1651
  fetch all trades made by the user
1614
- :see: https://api-docs.poloniex.com/futures/api/fills#get-fillsdeprecated
1652
+
1653
+ https://api-docs.poloniex.com/futures/api/fills#get-fillsdeprecated
1654
+
1615
1655
  :param str symbol: unified market symbol
1616
1656
  :param int [since]: the earliest time in ms to fetch trades for
1617
1657
  :param int [limit]: the maximum number of trades structures to retrieve
1618
1658
  :param dict [params]: extra parameters specific to the exchange API endpoint
1619
- :param str orderIdFills: filles for a specific order(other parameters can be ignored if specified)
1620
- :param str side: buy or sell
1621
- :param str type: limit, market, limit_stop or market_stop
1622
- :param int endAt: end time(milisecond)
1659
+ :param str [params.orderIdFills]: filles for a specific order(other parameters can be ignored if specified)
1660
+ :param str [params.side]: buy or sell
1661
+ :param str [params.type]: limit, market, limit_stop or market_stop
1662
+ :param int [params.endAt]: end time(milisecond)
1623
1663
  :returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
1624
1664
  """
1625
1665
  self.load_markets()
@@ -1672,7 +1712,9 @@ class poloniexfutures(Exchange, ImplicitAPI):
1672
1712
  def set_margin_mode(self, marginMode: str, symbol: Str = None, params={}):
1673
1713
  """
1674
1714
  set margin mode to 'cross' or 'isolated'
1675
- :see: https://api-docs.poloniex.com/futures/api/margin-mode#change-margin-mode
1715
+
1716
+ https://api-docs.poloniex.com/futures/api/margin-mode#change-margin-mode
1717
+
1676
1718
  :param str marginMode: "0"(isolated) or "1"(cross)
1677
1719
  :param str symbol: unified market symbol
1678
1720
  :param dict [params]: extra parameters specific to the exchange API endpoint
ccxt/pro/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.30'
7
+ __version__ = '4.4.32'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
ccxt/pro/alpaca.py CHANGED
@@ -56,7 +56,9 @@ class alpaca(ccxt.async_support.alpaca):
56
56
  async def watch_ticker(self, symbol: str, params={}) -> Ticker:
57
57
  """
58
58
  watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
59
- :see: https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#quotes
59
+
60
+ https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#quotes
61
+
60
62
  :param str symbol: unified symbol of the market to fetch the ticker for
61
63
  :param dict [params]: extra parameters specific to the exchange API endpoint
62
64
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -130,7 +132,9 @@ class alpaca(ccxt.async_support.alpaca):
130
132
  async def watch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
131
133
  """
132
134
  watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
133
- :see: https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#bars
135
+
136
+ https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#bars
137
+
134
138
  :param str symbol: unified symbol of the market to fetch OHLCV data for
135
139
  :param str timeframe: the length of time each candle represents
136
140
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -183,7 +187,9 @@ class alpaca(ccxt.async_support.alpaca):
183
187
  async def watch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
184
188
  """
185
189
  watches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
186
- :see: https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#orderbooks
190
+
191
+ https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#orderbooks
192
+
187
193
  :param str symbol: unified symbol of the market to fetch the order book for
188
194
  :param int [limit]: the maximum amount of order book entries to return.
189
195
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -257,7 +263,9 @@ class alpaca(ccxt.async_support.alpaca):
257
263
  async def watch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
258
264
  """
259
265
  watches information on multiple trades made in a market
260
- :see: https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#trades
266
+
267
+ https://docs.alpaca.markets/docs/real-time-crypto-pricing-data#trades
268
+
261
269
  :param str symbol: unified market symbol of the market trades were made in
262
270
  :param int [since]: the earliest time in ms to fetch orders for
263
271
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -306,7 +314,9 @@ class alpaca(ccxt.async_support.alpaca):
306
314
  async def watch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
307
315
  """
308
316
  watches information on multiple trades made by the user
309
- :see: https://docs.alpaca.markets/docs/websocket-streaming#trade-updates
317
+
318
+ https://docs.alpaca.markets/docs/websocket-streaming#trade-updates
319
+
310
320
  :param str symbol: unified market symbol of the market trades were made in
311
321
  :param int [since]: the earliest time in ms to fetch trades for
312
322
  :param int [limit]: the maximum number of trade structures to retrieve