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/probit.py CHANGED
@@ -245,7 +245,9 @@ class probit(Exchange, ImplicitAPI):
245
245
 
246
246
  def fetch_markets(self, params={}) -> List[Market]:
247
247
  """
248
- :see: https://docs-en.probit.com/reference/market
248
+
249
+ https://docs-en.probit.com/reference/market
250
+
249
251
  retrieves data on all markets for probit
250
252
  :param dict [params]: extra parameters specific to the exchange API endpoint
251
253
  :returns dict[]: an array of objects representing market data
@@ -344,7 +346,9 @@ class probit(Exchange, ImplicitAPI):
344
346
 
345
347
  def fetch_currencies(self, params={}) -> Currencies:
346
348
  """
347
- :see: https://docs-en.probit.com/reference/currency
349
+
350
+ https://docs-en.probit.com/reference/currency
351
+
348
352
  fetches all available currencies on an exchange
349
353
  :param dict [params]: extra parameters specific to the exchange API endpoint
350
354
  :returns dict: an associative dictionary of currencies
@@ -525,7 +529,9 @@ class probit(Exchange, ImplicitAPI):
525
529
 
526
530
  def fetch_balance(self, params={}) -> Balances:
527
531
  """
528
- :see: https://docs-en.probit.com/reference/balance
532
+
533
+ https://docs-en.probit.com/reference/balance
534
+
529
535
  query for balance and get the amount of funds available for trading or funds locked in orders
530
536
  :param dict [params]: extra parameters specific to the exchange API endpoint
531
537
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
@@ -547,7 +553,9 @@ class probit(Exchange, ImplicitAPI):
547
553
 
548
554
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
549
555
  """
550
- :see: https://docs-en.probit.com/reference/order_book
556
+
557
+ https://docs-en.probit.com/reference/order_book
558
+
551
559
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
552
560
  :param str symbol: unified symbol of the market to fetch the order book for
553
561
  :param int [limit]: the maximum amount of order book entries to return
@@ -575,7 +583,9 @@ class probit(Exchange, ImplicitAPI):
575
583
 
576
584
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
577
585
  """
578
- :see: https://docs-en.probit.com/reference/ticker
586
+
587
+ https://docs-en.probit.com/reference/ticker
588
+
579
589
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
580
590
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
581
591
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -608,7 +618,9 @@ class probit(Exchange, ImplicitAPI):
608
618
 
609
619
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
610
620
  """
611
- :see: https://docs-en.probit.com/reference/ticker
621
+
622
+ https://docs-en.probit.com/reference/ticker
623
+
612
624
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
613
625
  :param str symbol: unified symbol of the market to fetch the ticker for
614
626
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -687,7 +699,9 @@ class probit(Exchange, ImplicitAPI):
687
699
 
688
700
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
689
701
  """
690
- :see: https://docs-en.probit.com/reference/trade
702
+
703
+ https://docs-en.probit.com/reference/trade
704
+
691
705
  fetch all trades made by the user
692
706
  :param str symbol: unified market symbol
693
707
  :param int [since]: the earliest time in ms to fetch trades for
@@ -736,7 +750,9 @@ class probit(Exchange, ImplicitAPI):
736
750
 
737
751
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
738
752
  """
739
- :see: https://docs-en.probit.com/reference/trade-1
753
+
754
+ https://docs-en.probit.com/reference/trade-1
755
+
740
756
  get the list of most recent trades for a particular symbol
741
757
  :param str symbol: unified symbol of the market to fetch trades for
742
758
  :param int [since]: timestamp in ms of the earliest trade to fetch
@@ -851,7 +867,9 @@ class probit(Exchange, ImplicitAPI):
851
867
 
852
868
  def fetch_time(self, params={}):
853
869
  """
854
- :see: https://docs-en.probit.com/reference/time
870
+
871
+ https://docs-en.probit.com/reference/time
872
+
855
873
  fetches the current integer timestamp in milliseconds from the exchange server
856
874
  :param dict [params]: extra parameters specific to the exchange API endpoint
857
875
  :returns int: the current integer timestamp in milliseconds from the exchange server
@@ -894,7 +912,9 @@ class probit(Exchange, ImplicitAPI):
894
912
 
895
913
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
896
914
  """
897
- :see: https://docs-en.probit.com/reference/candle
915
+
916
+ https://docs-en.probit.com/reference/candle
917
+
898
918
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
899
919
  :param str symbol: unified symbol of the market to fetch OHLCV data for
900
920
  :param str timeframe: the length of time each candle represents
@@ -978,7 +998,9 @@ class probit(Exchange, ImplicitAPI):
978
998
 
979
999
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
980
1000
  """
981
- :see: https://docs-en.probit.com/reference/open_order-1
1001
+
1002
+ https://docs-en.probit.com/reference/open_order-1
1003
+
982
1004
  fetch all unfilled currently open orders
983
1005
  :param str symbol: unified market symbol
984
1006
  :param int [since]: the earliest time in ms to fetch open orders for
@@ -999,7 +1021,9 @@ class probit(Exchange, ImplicitAPI):
999
1021
 
1000
1022
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1001
1023
  """
1002
- :see: https://docs-en.probit.com/reference/order
1024
+
1025
+ https://docs-en.probit.com/reference/order
1026
+
1003
1027
  fetches information on multiple closed orders made by the user
1004
1028
  :param str symbol: unified market symbol of the market orders were made in
1005
1029
  :param int [since]: the earliest time in ms to fetch orders for
@@ -1027,7 +1051,9 @@ class probit(Exchange, ImplicitAPI):
1027
1051
 
1028
1052
  def fetch_order(self, id: str, symbol: Str = None, params={}):
1029
1053
  """
1030
- :see: https://docs-en.probit.com/reference/order-3
1054
+
1055
+ https://docs-en.probit.com/reference/order-3
1056
+
1031
1057
  fetches information on an order made by the user
1032
1058
  :param str id: the order id
1033
1059
  :param str symbol: unified symbol of the market the order was made in
@@ -1129,7 +1155,9 @@ class probit(Exchange, ImplicitAPI):
1129
1155
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1130
1156
  """
1131
1157
  create a trade order
1132
- :see: https://docs-en.probit.com/reference/order-1
1158
+
1159
+ https://docs-en.probit.com/reference/order-1
1160
+
1133
1161
  :param str symbol: unified symbol of the market to create an order in
1134
1162
  :param str type: 'market' or 'limit'
1135
1163
  :param str side: 'buy' or 'sell'
@@ -1214,7 +1242,9 @@ class probit(Exchange, ImplicitAPI):
1214
1242
 
1215
1243
  def cancel_order(self, id: str, symbol: Str = None, params={}):
1216
1244
  """
1217
- :see: https://docs-en.probit.com/reference/order-2
1245
+
1246
+ https://docs-en.probit.com/reference/order-2
1247
+
1218
1248
  cancels an open order
1219
1249
  :param str id: order id
1220
1250
  :param str symbol: unified symbol of the market the order was made in
@@ -1251,7 +1281,9 @@ class probit(Exchange, ImplicitAPI):
1251
1281
 
1252
1282
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1253
1283
  """
1254
- :see: https://docs-en.probit.com/reference/deposit_address
1284
+
1285
+ https://docs-en.probit.com/reference/deposit_address
1286
+
1255
1287
  fetch the deposit address for a currency associated with self account
1256
1288
  :param str code: unified currency code
1257
1289
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1301,7 +1333,9 @@ class probit(Exchange, ImplicitAPI):
1301
1333
 
1302
1334
  def fetch_deposit_addresses(self, codes: Strings = None, params={}) -> List[DepositAddress]:
1303
1335
  """
1304
- :see: https://docs-en.probit.com/reference/deposit_address
1336
+
1337
+ https://docs-en.probit.com/reference/deposit_address
1338
+
1305
1339
  fetch deposit addresses for multiple currencies and chain types
1306
1340
  :param str[]|None codes: list of unified currency codes, default is None
1307
1341
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1321,7 +1355,9 @@ class probit(Exchange, ImplicitAPI):
1321
1355
 
1322
1356
  def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
1323
1357
  """
1324
- :see: https://docs-en.probit.com/reference/withdrawal
1358
+
1359
+ https://docs-en.probit.com/reference/withdrawal
1360
+
1325
1361
  make a withdrawal
1326
1362
  :param str code: unified currency code
1327
1363
  :param float amount: the amount to withdraw
@@ -1395,12 +1431,14 @@ class probit(Exchange, ImplicitAPI):
1395
1431
  def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}):
1396
1432
  """
1397
1433
  fetch history of deposits and withdrawals
1398
- :see: https://docs-en.probit.com/reference/transferpayment
1434
+
1435
+ https://docs-en.probit.com/reference/transferpayment
1436
+
1399
1437
  :param str code: unified currency code
1400
1438
  :param int [since]: the earliest time in ms to fetch transactions for
1401
1439
  :param int [limit]: the maximum number of transaction structures to retrieve
1402
- :param int [params.until]: the latest time in ms to fetch transactions for
1403
1440
  :param dict [params]: extra parameters specific to the exchange API endpoint
1441
+ :param int [params.until]: the latest time in ms to fetch transactions for
1404
1442
  :returns dict[]: a list of `transaction structures <https://docs.ccxt.com/#/?id=transaction-structure>`
1405
1443
  """
1406
1444
  self.load_markets()
@@ -1529,7 +1567,9 @@ class probit(Exchange, ImplicitAPI):
1529
1567
 
1530
1568
  def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
1531
1569
  """
1532
- :see: https://docs-en.probit.com/reference/currency
1570
+
1571
+ https://docs-en.probit.com/reference/currency
1572
+
1533
1573
  fetch deposit and withdraw fees
1534
1574
  :param str[]|None codes: list of unified currency codes
1535
1575
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1700,7 +1740,9 @@ class probit(Exchange, ImplicitAPI):
1700
1740
 
1701
1741
  def sign_in(self, params={}):
1702
1742
  """
1703
- :see: https://docs-en.probit.com/reference/token
1743
+
1744
+ https://docs-en.probit.com/reference/token
1745
+
1704
1746
  sign in, must be called prior to using other authenticated methods
1705
1747
  :param dict [params]: extra parameters specific to the exchange API endpoint
1706
1748
  :returns: response from exchange
@@ -237,8 +237,8 @@ def get_test_files_sync(properties, ws=False):
237
237
  module_string = 'ccxt.test.exchange.' + prefix + '.test_' + name_snake_case
238
238
  if (ws):
239
239
  prefix = 'pro'
240
- dir_to_test = DIR_NAME + '/../' + prefix + '/test/Exchange/'
241
- module_string = 'ccxt.pro.test.Exchange.test_' + name_snake_case
240
+ dir_to_test = DIR_NAME + '/../' + prefix + '/test/exchange/'
241
+ module_string = 'ccxt.pro.test.exchange.test_' + name_snake_case
242
242
  filePathWithExt = dir_to_test + 'test_' + name_snake_case + '.py'
243
243
  if (io_file_exists (filePathWithExt)):
244
244
  imp = importlib.import_module(module_string)
ccxt/timex.py CHANGED
@@ -298,7 +298,9 @@ class timex(Exchange, ImplicitAPI):
298
298
  def fetch_markets(self, params={}) -> List[Market]:
299
299
  """
300
300
  retrieves data on all markets for timex
301
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listMarkets
301
+
302
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listMarkets
303
+
302
304
  :param dict [params]: extra parameters specific to the exchange API endpoint
303
305
  :returns dict[]: an array of objects representing market data
304
306
  """
@@ -329,7 +331,9 @@ class timex(Exchange, ImplicitAPI):
329
331
  def fetch_currencies(self, params={}) -> Currencies:
330
332
  """
331
333
  fetches all available currencies on an exchange
332
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listCurrencies
334
+
335
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listCurrencies
336
+
333
337
  :param dict [params]: extra parameters specific to the exchange API endpoint
334
338
  :returns dict: an associative dictionary of currencies
335
339
  """
@@ -364,7 +368,9 @@ class timex(Exchange, ImplicitAPI):
364
368
  def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
365
369
  """
366
370
  fetch all deposits made to an account
367
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Manager/getDeposits
371
+
372
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Manager/getDeposits
373
+
368
374
  :param str code: unified currency code
369
375
  :param int [since]: the earliest time in ms to fetch deposits for
370
376
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -397,7 +403,9 @@ class timex(Exchange, ImplicitAPI):
397
403
  def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
398
404
  """
399
405
  fetch all withdrawals made to an account
400
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Manager/getWithdraws
406
+
407
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Manager/getWithdraws
408
+
401
409
  :param str code: unified currency code
402
410
  :param int [since]: the earliest time in ms to fetch withdrawals for
403
411
  :param int [limit]: the maximum number of transaction structures to retrieve
@@ -477,7 +485,9 @@ class timex(Exchange, ImplicitAPI):
477
485
  def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
478
486
  """
479
487
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
480
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTickers
488
+
489
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTickers
490
+
481
491
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
482
492
  :param dict [params]: extra parameters specific to the exchange API endpoint
483
493
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -510,7 +520,9 @@ class timex(Exchange, ImplicitAPI):
510
520
  def fetch_ticker(self, symbol: str, params={}) -> Ticker:
511
521
  """
512
522
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
513
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTickers
523
+
524
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTickers
525
+
514
526
  :param str symbol: unified symbol of the market to fetch the ticker for
515
527
  :param dict [params]: extra parameters specific to the exchange API endpoint
516
528
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -546,7 +558,9 @@ class timex(Exchange, ImplicitAPI):
546
558
  def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
547
559
  """
548
560
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
549
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/orderbookV2
561
+
562
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/orderbookV2
563
+
550
564
  :param str symbol: unified symbol of the market to fetch the order book for
551
565
  :param int [limit]: the maximum amount of order book entries to return
552
566
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -590,7 +604,9 @@ class timex(Exchange, ImplicitAPI):
590
604
  def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
591
605
  """
592
606
  get the list of most recent trades for a particular symbol
593
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTrades
607
+
608
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listTrades
609
+
594
610
  :param str symbol: unified symbol of the market to fetch trades for
595
611
  :param int [since]: timestamp in ms of the earliest trade to fetch
596
612
  :param int [limit]: the maximum amount of trades to fetch
@@ -634,7 +650,9 @@ class timex(Exchange, ImplicitAPI):
634
650
  def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
635
651
  """
636
652
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
637
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listCandles
653
+
654
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Public/listCandles
655
+
638
656
  :param str symbol: unified symbol of the market to fetch OHLCV data for
639
657
  :param str timeframe: the length of time each candle represents
640
658
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -694,7 +712,9 @@ class timex(Exchange, ImplicitAPI):
694
712
  def fetch_balance(self, params={}) -> Balances:
695
713
  """
696
714
  query for balance and get the amount of funds available for trading or funds locked in orders
697
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getBalances
715
+
716
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getBalances
717
+
698
718
  :param dict [params]: extra parameters specific to the exchange API endpoint
699
719
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
700
720
  """
@@ -714,7 +734,9 @@ class timex(Exchange, ImplicitAPI):
714
734
  def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
715
735
  """
716
736
  create a trade order
717
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/createOrder
737
+
738
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/createOrder
739
+
718
740
  :param str symbol: unified symbol of the market to create an order in
719
741
  :param str type: 'market' or 'limit'
720
742
  :param str side: 'buy' or 'sell'
@@ -832,7 +854,9 @@ class timex(Exchange, ImplicitAPI):
832
854
  def cancel_order(self, id: str, symbol: Str = None, params={}):
833
855
  """
834
856
  cancels an open order
835
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/deleteOrders
857
+
858
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/deleteOrders
859
+
836
860
  :param str id: order id
837
861
  :param str symbol: not used by timex cancelOrder()
838
862
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -845,7 +869,9 @@ class timex(Exchange, ImplicitAPI):
845
869
  def cancel_orders(self, ids, symbol: Str = None, params={}):
846
870
  """
847
871
  cancel multiple orders
848
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/deleteOrders
872
+
873
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/deleteOrders
874
+
849
875
  :param str[] ids: order ids
850
876
  :param str symbol: unified market symbol, default is None
851
877
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -898,7 +924,10 @@ class timex(Exchange, ImplicitAPI):
898
924
  def fetch_order(self, id: str, symbol: Str = None, params={}):
899
925
  """
900
926
  fetches information on an order made by the user
901
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getOrderDetails
927
+
928
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getOrderDetails
929
+
930
+ :param str id: order id
902
931
  :param str symbol: not used by timex fetchOrder
903
932
  :param dict [params]: extra parameters specific to the exchange API endpoint
904
933
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -948,7 +977,9 @@ class timex(Exchange, ImplicitAPI):
948
977
  def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
949
978
  """
950
979
  fetch all unfilled currently open orders
951
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getOpenOrders
980
+
981
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getOpenOrders
982
+
952
983
  :param str symbol: unified market symbol
953
984
  :param int [since]: the earliest time in ms to fetch open orders for
954
985
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -999,7 +1030,9 @@ class timex(Exchange, ImplicitAPI):
999
1030
  def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1000
1031
  """
1001
1032
  fetches information on multiple closed orders made by the user
1002
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getOrders
1033
+
1034
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getOrders
1035
+
1003
1036
  :param str symbol: unified market symbol of the market orders were made in
1004
1037
  :param int [since]: the earliest time in ms to fetch orders for
1005
1038
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1054,7 +1087,9 @@ class timex(Exchange, ImplicitAPI):
1054
1087
  def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1055
1088
  """
1056
1089
  fetch all trades made by the user
1057
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getTrades_1
1090
+
1091
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/History/getTrades_1
1092
+
1058
1093
  :param str symbol: unified market symbol
1059
1094
  :param int [since]: the earliest time in ms to fetch trades for
1060
1095
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -1130,7 +1165,9 @@ class timex(Exchange, ImplicitAPI):
1130
1165
  def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
1131
1166
  """
1132
1167
  fetch the trading fees for a market
1133
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getFees
1168
+
1169
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Trading/getFees
1170
+
1134
1171
  :param str symbol: unified market symbol
1135
1172
  :param dict [params]: extra parameters specific to the exchange API endpoint
1136
1173
  :returns dict: a `fee structure <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -1513,7 +1550,9 @@ class timex(Exchange, ImplicitAPI):
1513
1550
  def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1514
1551
  """
1515
1552
  fetch the deposit address for a currency associated with self account, does not accept params["network"]
1516
- :see: https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Currency/selectCurrencyBySymbol
1553
+
1554
+ https://plasma-relay-backend.timex.io/swagger-ui/index.html?urls.primaryName=Relay#/Currency/selectCurrencyBySymbol
1555
+
1517
1556
  :param str code: unified currency code
1518
1557
  :param dict [params]: extra parameters specific to the exchange API endpoint
1519
1558
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`