ccxt 4.4.30__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 (267) 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/bigone.py +71 -27
  11. ccxt/async_support/binance.py +555 -323
  12. ccxt/async_support/bingx.py +208 -108
  13. ccxt/async_support/bit2c.py +34 -12
  14. ccxt/async_support/bitbank.py +42 -14
  15. ccxt/async_support/bitbns.py +17 -9
  16. ccxt/async_support/bitfinex.py +68 -24
  17. ccxt/async_support/bitfinex2.py +116 -44
  18. ccxt/async_support/bitflyer.py +54 -18
  19. ccxt/async_support/bitget.py +277 -145
  20. ccxt/async_support/bithumb.py +39 -14
  21. ccxt/async_support/bitmart.py +145 -79
  22. ccxt/async_support/bitmex.py +90 -30
  23. ccxt/async_support/bitopro.py +66 -22
  24. ccxt/async_support/bitrue.py +109 -57
  25. ccxt/async_support/bitso.py +55 -19
  26. ccxt/async_support/bitstamp.py +84 -36
  27. ccxt/async_support/bitteam.py +51 -17
  28. ccxt/async_support/bitvavo.py +57 -19
  29. ccxt/async_support/bl3p.py +26 -10
  30. ccxt/async_support/blockchaincom.py +63 -21
  31. ccxt/async_support/blofin.py +95 -38
  32. ccxt/async_support/btcalpha.py +48 -16
  33. ccxt/async_support/btcbox.py +27 -9
  34. ccxt/async_support/btcmarkets.py +57 -19
  35. ccxt/async_support/btcturk.py +36 -12
  36. ccxt/async_support/bybit.py +251 -95
  37. ccxt/async_support/cex.py +65 -22
  38. ccxt/async_support/coinbase.py +138 -56
  39. ccxt/async_support/coinbaseexchange.py +76 -28
  40. ccxt/async_support/coinbaseinternational.py +75 -27
  41. ccxt/async_support/coincatch.py +191 -97
  42. ccxt/async_support/coincheck.py +33 -11
  43. ccxt/async_support/coinex.py +212 -101
  44. ccxt/async_support/coinlist.py +87 -30
  45. ccxt/async_support/coinmate.py +55 -24
  46. ccxt/async_support/coinmetro.py +52 -18
  47. ccxt/async_support/coinone.py +27 -10
  48. ccxt/async_support/coinsph.py +73 -27
  49. ccxt/async_support/coinspot.py +25 -9
  50. ccxt/async_support/cryptocom.py +103 -38
  51. ccxt/async_support/currencycom.py +70 -23
  52. ccxt/async_support/delta.py +90 -30
  53. ccxt/async_support/deribit.py +131 -50
  54. ccxt/async_support/digifinex.py +114 -51
  55. ccxt/async_support/exmo.py +104 -45
  56. ccxt/async_support/gate.py +298 -155
  57. ccxt/async_support/gemini.py +57 -20
  58. ccxt/async_support/hashkey.py +151 -66
  59. ccxt/async_support/hitbtc.py +156 -73
  60. ccxt/async_support/hollaex.py +76 -25
  61. ccxt/async_support/htx.py +297 -240
  62. ccxt/async_support/huobijp.py +1 -0
  63. ccxt/async_support/hyperliquid.py +94 -38
  64. ccxt/async_support/idex.py +73 -24
  65. ccxt/async_support/independentreserve.py +12 -5
  66. ccxt/async_support/indodax.py +53 -16
  67. ccxt/async_support/kraken.py +107 -35
  68. ccxt/async_support/krakenfutures.py +88 -34
  69. ccxt/async_support/kucoin.py +211 -109
  70. ccxt/async_support/kucoinfutures.py +119 -42
  71. ccxt/async_support/kuna.py +80 -39
  72. ccxt/async_support/latoken.py +70 -33
  73. ccxt/async_support/lbank.py +89 -38
  74. ccxt/async_support/luno.py +54 -19
  75. ccxt/async_support/lykke.py +54 -19
  76. ccxt/async_support/mercado.py +1 -0
  77. ccxt/async_support/mexc.py +226 -108
  78. ccxt/async_support/ndax.py +58 -19
  79. ccxt/async_support/novadax.py +67 -22
  80. ccxt/async_support/oceanex.py +58 -19
  81. ccxt/async_support/okcoin.py +81 -38
  82. ccxt/async_support/okx.py +270 -109
  83. ccxt/async_support/onetrading.py +3 -1
  84. ccxt/async_support/oxfun.py +95 -36
  85. ccxt/async_support/p2b.py +49 -23
  86. ccxt/async_support/paradex.py +75 -27
  87. ccxt/async_support/paymium.py +31 -11
  88. ccxt/async_support/phemex.py +91 -41
  89. ccxt/async_support/poloniex.py +80 -30
  90. ccxt/async_support/poloniexfutures.py +72 -30
  91. ccxt/async_support/probit.py +64 -22
  92. ccxt/async_support/timex.py +58 -19
  93. ccxt/async_support/tokocrypto.py +63 -22
  94. ccxt/async_support/tradeogre.py +7 -2
  95. ccxt/async_support/upbit.py +72 -25
  96. ccxt/async_support/vertex.py +74 -28
  97. ccxt/async_support/wavesexchange.py +29 -8
  98. ccxt/async_support/wazirx.py +51 -17
  99. ccxt/async_support/whitebit.py +105 -41
  100. ccxt/async_support/woo.py +162 -65
  101. ccxt/async_support/woofipro.py +118 -49
  102. ccxt/async_support/xt.py +150 -73
  103. ccxt/async_support/yobit.py +49 -16
  104. ccxt/async_support/zaif.py +30 -10
  105. ccxt/async_support/zonda.py +46 -16
  106. ccxt/base/exchange.py +34 -34
  107. ccxt/base/types.py +1 -0
  108. ccxt/bigone.py +71 -27
  109. ccxt/binance.py +555 -323
  110. ccxt/bingx.py +208 -108
  111. ccxt/bit2c.py +34 -12
  112. ccxt/bitbank.py +42 -14
  113. ccxt/bitbns.py +17 -9
  114. ccxt/bitfinex.py +68 -24
  115. ccxt/bitfinex2.py +116 -44
  116. ccxt/bitflyer.py +54 -18
  117. ccxt/bitget.py +277 -145
  118. ccxt/bithumb.py +39 -14
  119. ccxt/bitmart.py +145 -79
  120. ccxt/bitmex.py +90 -30
  121. ccxt/bitopro.py +66 -22
  122. ccxt/bitrue.py +109 -57
  123. ccxt/bitso.py +55 -19
  124. ccxt/bitstamp.py +84 -36
  125. ccxt/bitteam.py +51 -17
  126. ccxt/bitvavo.py +57 -19
  127. ccxt/bl3p.py +26 -10
  128. ccxt/blockchaincom.py +63 -21
  129. ccxt/blofin.py +95 -38
  130. ccxt/btcalpha.py +48 -16
  131. ccxt/btcbox.py +27 -9
  132. ccxt/btcmarkets.py +57 -19
  133. ccxt/btcturk.py +36 -12
  134. ccxt/bybit.py +251 -95
  135. ccxt/cex.py +65 -22
  136. ccxt/coinbase.py +138 -56
  137. ccxt/coinbaseexchange.py +76 -28
  138. ccxt/coinbaseinternational.py +75 -27
  139. ccxt/coincatch.py +191 -97
  140. ccxt/coincheck.py +33 -11
  141. ccxt/coinex.py +212 -101
  142. ccxt/coinlist.py +87 -30
  143. ccxt/coinmate.py +55 -24
  144. ccxt/coinmetro.py +52 -18
  145. ccxt/coinone.py +27 -10
  146. ccxt/coinsph.py +73 -27
  147. ccxt/coinspot.py +25 -9
  148. ccxt/cryptocom.py +103 -38
  149. ccxt/currencycom.py +70 -23
  150. ccxt/delta.py +90 -30
  151. ccxt/deribit.py +131 -50
  152. ccxt/digifinex.py +114 -51
  153. ccxt/exmo.py +104 -45
  154. ccxt/gate.py +298 -155
  155. ccxt/gemini.py +57 -20
  156. ccxt/hashkey.py +151 -66
  157. ccxt/hitbtc.py +156 -73
  158. ccxt/hollaex.py +76 -25
  159. ccxt/htx.py +297 -240
  160. ccxt/huobijp.py +1 -0
  161. ccxt/hyperliquid.py +94 -38
  162. ccxt/idex.py +73 -24
  163. ccxt/independentreserve.py +12 -5
  164. ccxt/indodax.py +53 -16
  165. ccxt/kraken.py +107 -35
  166. ccxt/krakenfutures.py +88 -34
  167. ccxt/kucoin.py +211 -109
  168. ccxt/kucoinfutures.py +119 -42
  169. ccxt/kuna.py +80 -39
  170. ccxt/latoken.py +70 -33
  171. ccxt/lbank.py +89 -38
  172. ccxt/luno.py +54 -19
  173. ccxt/lykke.py +54 -19
  174. ccxt/mercado.py +1 -0
  175. ccxt/mexc.py +226 -108
  176. ccxt/ndax.py +58 -19
  177. ccxt/novadax.py +67 -22
  178. ccxt/oceanex.py +58 -19
  179. ccxt/okcoin.py +81 -38
  180. ccxt/okx.py +270 -109
  181. ccxt/onetrading.py +3 -1
  182. ccxt/oxfun.py +95 -36
  183. ccxt/p2b.py +49 -23
  184. ccxt/paradex.py +75 -27
  185. ccxt/paymium.py +31 -11
  186. ccxt/phemex.py +91 -41
  187. ccxt/poloniex.py +80 -30
  188. ccxt/poloniexfutures.py +72 -30
  189. ccxt/pro/__init__.py +1 -1
  190. ccxt/pro/alpaca.py +15 -5
  191. ccxt/pro/ascendex.py +18 -6
  192. ccxt/pro/binance.py +200 -119
  193. ccxt/pro/bingx.py +44 -24
  194. ccxt/pro/bitfinex.py +13 -5
  195. ccxt/pro/bitget.py +75 -36
  196. ccxt/pro/bithumb.py +12 -4
  197. ccxt/pro/bitmart.py +44 -20
  198. ccxt/pro/bitmex.py +42 -14
  199. ccxt/pro/bitopro.py +15 -5
  200. ccxt/pro/bitrue.py +7 -3
  201. ccxt/pro/bitvavo.py +51 -17
  202. ccxt/pro/blockchaincom.py +18 -6
  203. ccxt/pro/blofin.py +36 -12
  204. ccxt/pro/bybit.py +100 -42
  205. ccxt/pro/cex.py +48 -16
  206. ccxt/pro/coinbase.py +32 -12
  207. ccxt/pro/coinbaseexchange.py +1 -1
  208. ccxt/pro/coinbaseinternational.py +34 -14
  209. ccxt/pro/coincatch.py +54 -19
  210. ccxt/pro/coincheck.py +6 -2
  211. ccxt/pro/coinex.py +40 -20
  212. ccxt/pro/coinone.py +9 -3
  213. ccxt/pro/cryptocom.py +70 -26
  214. ccxt/pro/deribit.py +36 -12
  215. ccxt/pro/exmo.py +10 -4
  216. ccxt/pro/gate.py +64 -30
  217. ccxt/pro/gemini.py +21 -7
  218. ccxt/pro/hashkey.py +26 -8
  219. ccxt/pro/hitbtc.py +61 -37
  220. ccxt/pro/hollaex.py +15 -5
  221. ccxt/pro/htx.py +39 -21
  222. ccxt/pro/hyperliquid.py +41 -14
  223. ccxt/pro/kraken.py +49 -17
  224. ccxt/pro/krakenfutures.py +47 -24
  225. ccxt/pro/kucoin.py +60 -31
  226. ccxt/pro/kucoinfutures.py +41 -19
  227. ccxt/pro/lbank.py +27 -9
  228. ccxt/pro/luno.py +3 -1
  229. ccxt/pro/mexc.py +35 -17
  230. ccxt/pro/ndax.py +12 -4
  231. ccxt/pro/okcoin.py +18 -6
  232. ccxt/pro/okx.py +76 -28
  233. ccxt/pro/onetrading.py +21 -7
  234. ccxt/pro/oxfun.py +54 -20
  235. ccxt/pro/p2b.py +23 -11
  236. ccxt/pro/paradex.py +12 -4
  237. ccxt/pro/phemex.py +31 -19
  238. ccxt/pro/poloniex.py +50 -22
  239. ccxt/pro/poloniexfutures.py +17 -7
  240. ccxt/pro/probit.py +18 -6
  241. ccxt/pro/upbit.py +25 -9
  242. ccxt/pro/vertex.py +20 -6
  243. ccxt/pro/wazirx.py +21 -7
  244. ccxt/pro/whitebit.py +25 -9
  245. ccxt/pro/woo.py +32 -12
  246. ccxt/pro/woofipro.py +35 -13
  247. ccxt/pro/xt.py +46 -26
  248. ccxt/probit.py +64 -22
  249. ccxt/timex.py +58 -19
  250. ccxt/tokocrypto.py +63 -22
  251. ccxt/tradeogre.py +7 -2
  252. ccxt/upbit.py +72 -25
  253. ccxt/vertex.py +74 -28
  254. ccxt/wavesexchange.py +29 -8
  255. ccxt/wazirx.py +51 -17
  256. ccxt/whitebit.py +105 -41
  257. ccxt/woo.py +162 -65
  258. ccxt/woofipro.py +118 -49
  259. ccxt/xt.py +150 -73
  260. ccxt/yobit.py +49 -16
  261. ccxt/zaif.py +30 -10
  262. ccxt/zonda.py +46 -16
  263. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
  264. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
  265. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
  266. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
  267. {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
@@ -313,8 +313,10 @@ class lbank(Exchange, ImplicitAPI):
313
313
  async def fetch_time(self, params={}):
314
314
  """
315
315
  fetches the current integer timestamp in milliseconds from the exchange server
316
- :see: https://www.lbank.com/en-US/docs/index.html#get-timestamp
317
- :see: https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
316
+
317
+ https://www.lbank.com/en-US/docs/index.html#get-timestamp
318
+ https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
319
+
318
320
  :param dict [params]: extra parameters specific to the exchange API endpoint
319
321
  :returns int: the current integer timestamp in milliseconds from the exchange server
320
322
  """
@@ -350,8 +352,10 @@ class lbank(Exchange, ImplicitAPI):
350
352
  async def fetch_markets(self, params={}) -> List[Market]:
351
353
  """
352
354
  retrieves data on all markets for lbank
353
- :see: https://www.lbank.com/en-US/docs/index.html#trading-pairs
354
- :see: https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
355
+
356
+ https://www.lbank.com/en-US/docs/index.html#trading-pairs
357
+ https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
358
+
355
359
  :param dict [params]: extra parameters specific to the exchange API endpoint
356
360
  :returns dict[]: an array of objects representing market data
357
361
  """
@@ -600,7 +604,9 @@ class lbank(Exchange, ImplicitAPI):
600
604
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
601
605
  """
602
606
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
603
- :see: https://www.lbank.com/en-US/docs/index.html#query-current-market-data-new
607
+
608
+ https://www.lbank.com/en-US/docs/index.html#query-current-market-data-new
609
+
604
610
  :param str symbol: unified symbol of the market to fetch the ticker for
605
611
  :param dict [params]: extra parameters specific to the exchange API endpoint
606
612
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -642,8 +648,10 @@ class lbank(Exchange, ImplicitAPI):
642
648
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
643
649
  """
644
650
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
645
- :see: https://www.lbank.com/en-US/docs/index.html#query-current-market-data-new
646
- :see: https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
651
+
652
+ https://www.lbank.com/en-US/docs/index.html#query-current-market-data-new
653
+ https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
654
+
647
655
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
648
656
  :param dict [params]: extra parameters specific to the exchange API endpoint
649
657
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -716,8 +724,10 @@ class lbank(Exchange, ImplicitAPI):
716
724
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
717
725
  """
718
726
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
719
- :see: https://www.lbank.com/en-US/docs/index.html#query-market-depth
720
- :see: https://www.lbank.com/en-US/docs/contract.html#get-handicap
727
+
728
+ https://www.lbank.com/en-US/docs/index.html#query-market-depth
729
+ https://www.lbank.com/en-US/docs/contract.html#get-handicap
730
+
721
731
  :param str symbol: unified symbol of the market to fetch the order book for
722
732
  :param int [limit]: the maximum amount of order book entries to return
723
733
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -889,8 +899,10 @@ class lbank(Exchange, ImplicitAPI):
889
899
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
890
900
  """
891
901
  get the list of most recent trades for a particular symbol
892
- :see: https://www.lbank.com/en-US/docs/index.html#query-historical-transactions
893
- :see: https://www.lbank.com/en-US/docs/index.html#recent-transactions-list
902
+
903
+ https://www.lbank.com/en-US/docs/index.html#query-historical-transactions
904
+ https://www.lbank.com/en-US/docs/index.html#recent-transactions-list
905
+
894
906
  :param str symbol: unified symbol of the market to fetch trades for
895
907
  :param int [since]: timestamp in ms of the earliest trade to fetch
896
908
  :param int [limit]: the maximum amount of trades to fetch
@@ -959,7 +971,9 @@ class lbank(Exchange, ImplicitAPI):
959
971
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
960
972
  """
961
973
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
962
- :see: https://www.lbank.com/en-US/docs/index.html#query-k-bar-data
974
+
975
+ https://www.lbank.com/en-US/docs/index.html#query-k-bar-data
976
+
963
977
  :param str symbol: unified symbol of the market to fetch OHLCV data for
964
978
  :param str timeframe: the length of time each candle represents
965
979
  :param int [since]: timestamp in ms of the earliest candle to fetch
@@ -1182,7 +1196,9 @@ class lbank(Exchange, ImplicitAPI):
1182
1196
  async def fetch_funding_rate(self, symbol: str, params={}) -> FundingRate:
1183
1197
  """
1184
1198
  fetch the current funding rate
1185
- :see: https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
1199
+
1200
+ https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
1201
+
1186
1202
  :param str symbol: unified market symbol
1187
1203
  :param dict [params]: extra parameters specific to the exchange API endpoint
1188
1204
  :returns dict: a `funding rate structure <https://docs.ccxt.com/#/?id=funding-rate-structure>`
@@ -1195,7 +1211,9 @@ class lbank(Exchange, ImplicitAPI):
1195
1211
  async def fetch_funding_rates(self, symbols: Strings = None, params={}) -> FundingRates:
1196
1212
  """
1197
1213
  fetch the funding rate for multiple markets
1198
- :see: https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
1214
+
1215
+ https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
1216
+
1199
1217
  :param str[]|None symbols: list of unified market symbols
1200
1218
  :param dict [params]: extra parameters specific to the exchange API endpoint
1201
1219
  :returns dict: a dictionary of `funding rate structures <https://docs.ccxt.com/#/?id=funding-rates-structure>`, indexed by market symbols
@@ -1236,9 +1254,11 @@ class lbank(Exchange, ImplicitAPI):
1236
1254
  async def fetch_balance(self, params={}) -> Balances:
1237
1255
  """
1238
1256
  query for balance and get the amount of funds available for trading or funds locked in orders
1239
- :see: https://www.lbank.com/en-US/docs/index.html#asset-information
1240
- :see: https://www.lbank.com/en-US/docs/index.html#account-information
1241
- :see: https://www.lbank.com/en-US/docs/index.html#get-all-coins-information
1257
+
1258
+ https://www.lbank.com/en-US/docs/index.html#asset-information
1259
+ https://www.lbank.com/en-US/docs/index.html#account-information
1260
+ https://www.lbank.com/en-US/docs/index.html#get-all-coins-information
1261
+
1242
1262
  :param dict [params]: extra parameters specific to the exchange API endpoint
1243
1263
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
1244
1264
  """
@@ -1307,7 +1327,9 @@ class lbank(Exchange, ImplicitAPI):
1307
1327
  async def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
1308
1328
  """
1309
1329
  fetch the trading fees for a market
1310
- :see: https://www.lbank.com/en-US/docs/index.html#transaction-fee-rate-query
1330
+
1331
+ https://www.lbank.com/en-US/docs/index.html#transaction-fee-rate-query
1332
+
1311
1333
  :param str symbol: unified market symbol
1312
1334
  :param dict [params]: extra parameters specific to the exchange API endpoint
1313
1335
  :returns dict: a `fee structure <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -1319,7 +1341,9 @@ class lbank(Exchange, ImplicitAPI):
1319
1341
  async def fetch_trading_fees(self, params={}) -> TradingFees:
1320
1342
  """
1321
1343
  fetch the trading fees for multiple markets
1322
- :see: https://www.lbank.com/en-US/docs/index.html#transaction-fee-rate-query
1344
+
1345
+ https://www.lbank.com/en-US/docs/index.html#transaction-fee-rate-query
1346
+
1323
1347
  :param dict [params]: extra parameters specific to the exchange API endpoint
1324
1348
  :returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
1325
1349
  """
@@ -1337,8 +1361,10 @@ class lbank(Exchange, ImplicitAPI):
1337
1361
  async def create_market_buy_order_with_cost(self, symbol: str, cost: float, params={}):
1338
1362
  """
1339
1363
  create a market buy order by providing the symbol and cost
1340
- :see: https://www.lbank.com/en-US/docs/index.html#place-order
1341
- :see: https://www.lbank.com/en-US/docs/index.html#place-an-order
1364
+
1365
+ https://www.lbank.com/en-US/docs/index.html#place-order
1366
+ https://www.lbank.com/en-US/docs/index.html#place-an-order
1367
+
1342
1368
  :param str symbol: unified symbol of the market to create an order in
1343
1369
  :param float cost: how much you want to trade in units of the quote currency
1344
1370
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1354,8 +1380,10 @@ class lbank(Exchange, ImplicitAPI):
1354
1380
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
1355
1381
  """
1356
1382
  create a trade order
1357
- :see: https://www.lbank.com/en-US/docs/index.html#place-order
1358
- :see: https://www.lbank.com/en-US/docs/index.html#place-an-order
1383
+
1384
+ https://www.lbank.com/en-US/docs/index.html#place-order
1385
+ https://www.lbank.com/en-US/docs/index.html#place-an-order
1386
+
1359
1387
  :param str symbol: unified symbol of the market to create an order in
1360
1388
  :param str type: 'market' or 'limit'
1361
1389
  :param str side: 'buy' or 'sell'
@@ -1596,8 +1624,11 @@ class lbank(Exchange, ImplicitAPI):
1596
1624
  async def fetch_order(self, id: str, symbol: Str = None, params={}):
1597
1625
  """
1598
1626
  fetches information on an order made by the user
1599
- :see: https://www.lbank.com/en-US/docs/index.html#query-order
1600
- :see: https://www.lbank.com/en-US/docs/index.html#query-order-new
1627
+
1628
+ https://www.lbank.com/en-US/docs/index.html#query-order
1629
+ https://www.lbank.com/en-US/docs/index.html#query-order-new
1630
+
1631
+ :param str id: order id
1601
1632
  :param str symbol: unified symbol of the market the order was made in
1602
1633
  :param dict [params]: extra parameters specific to the exchange API endpoint
1603
1634
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1692,7 +1723,9 @@ class lbank(Exchange, ImplicitAPI):
1692
1723
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
1693
1724
  """
1694
1725
  fetch all trades made by the user
1695
- :see: https://www.lbank.com/en-US/docs/index.html#past-transaction-details
1726
+
1727
+ https://www.lbank.com/en-US/docs/index.html#past-transaction-details
1728
+
1696
1729
  :param str symbol: unified market symbol
1697
1730
  :param int [since]: the earliest time in ms to fetch trades for
1698
1731
  :param int [limit]: the maximum number of trade structures to retrieve
@@ -1746,7 +1779,9 @@ class lbank(Exchange, ImplicitAPI):
1746
1779
  async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1747
1780
  """
1748
1781
  fetches information on multiple orders made by the user
1749
- :see: https://www.lbank.com/en-US/docs/index.html#query-all-orders
1782
+
1783
+ https://www.lbank.com/en-US/docs/index.html#query-all-orders
1784
+
1750
1785
  :param str symbol: unified market symbol of the market orders were made in
1751
1786
  :param int [since]: the earliest time in ms to fetch orders for
1752
1787
  :param int [limit]: the maximum number of order structures to retrieve
@@ -1802,7 +1837,9 @@ class lbank(Exchange, ImplicitAPI):
1802
1837
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
1803
1838
  """
1804
1839
  fetch all unfilled currently open orders
1805
- :see: https://www.lbank.com/en-US/docs/index.html#current-pending-order
1840
+
1841
+ https://www.lbank.com/en-US/docs/index.html#current-pending-order
1842
+
1806
1843
  :param str symbol: unified market symbol
1807
1844
  :param int [since]: the earliest time in ms to fetch open orders for
1808
1845
  :param int [limit]: the maximum number of open order structures to retrieve
@@ -1855,7 +1892,9 @@ class lbank(Exchange, ImplicitAPI):
1855
1892
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
1856
1893
  """
1857
1894
  cancels an open order
1858
- :see: https://www.lbank.com/en-US/docs/index.html#cancel-order-new
1895
+
1896
+ https://www.lbank.com/en-US/docs/index.html#cancel-order-new
1897
+
1859
1898
  :param str id: order id
1860
1899
  :param str symbol: unified symbol of the market the order was made in
1861
1900
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -1893,7 +1932,9 @@ class lbank(Exchange, ImplicitAPI):
1893
1932
  async def cancel_all_orders(self, symbol: Str = None, params={}):
1894
1933
  """
1895
1934
  cancel all open orders in a market
1896
- :see: https://www.lbank.com/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
1935
+
1936
+ https://www.lbank.com/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
1937
+
1897
1938
  :param str symbol: unified market symbol of the market to cancel orders in
1898
1939
  :param dict [params]: extra parameters specific to the exchange API endpoint
1899
1940
  :returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
@@ -1937,8 +1978,10 @@ class lbank(Exchange, ImplicitAPI):
1937
1978
  async def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
1938
1979
  """
1939
1980
  fetch the deposit address for a currency associated with self account
1940
- :see: https://www.lbank.com/en-US/docs/index.html#get-deposit-address
1941
- :see: https://www.lbank.com/en-US/docs/index.html#the-user-obtains-the-deposit-address
1981
+
1982
+ https://www.lbank.com/en-US/docs/index.html#get-deposit-address
1983
+ https://www.lbank.com/en-US/docs/index.html#the-user-obtains-the-deposit-address
1984
+
1942
1985
  :param str code: unified currency code
1943
1986
  :param dict [params]: extra parameters specific to the exchange API endpoint
1944
1987
  :returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
@@ -2035,7 +2078,9 @@ class lbank(Exchange, ImplicitAPI):
2035
2078
  async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
2036
2079
  """
2037
2080
  make a withdrawal
2038
- :see: https://www.lbank.com/en-US/docs/index.html#withdrawal
2081
+
2082
+ https://www.lbank.com/en-US/docs/index.html#withdrawal
2083
+
2039
2084
  :param str code: unified currency code
2040
2085
  :param float amount: the amount to withdraw
2041
2086
  :param str address: the address to withdraw to
@@ -2192,7 +2237,9 @@ class lbank(Exchange, ImplicitAPI):
2192
2237
  async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2193
2238
  """
2194
2239
  fetch all deposits made to an account
2195
- :see: https://www.lbank.com/en-US/docs/index.html#get-recharge-history
2240
+
2241
+ https://www.lbank.com/en-US/docs/index.html#get-recharge-history
2242
+
2196
2243
  :param str code: unified currency code
2197
2244
  :param int [since]: the earliest time in ms to fetch deposits for
2198
2245
  :param int [limit]: the maximum number of deposits structures to retrieve
@@ -2241,7 +2288,9 @@ class lbank(Exchange, ImplicitAPI):
2241
2288
  async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
2242
2289
  """
2243
2290
  fetch all withdrawals made from an account
2244
- :see: https://www.lbank.com/en-US/docs/index.html#get-withdrawal-history
2291
+
2292
+ https://www.lbank.com/en-US/docs/index.html#get-withdrawal-history
2293
+
2245
2294
  :param str code: unified currency code
2246
2295
  :param int [since]: the earliest time in ms to fetch withdrawals for
2247
2296
  :param int [limit]: the maximum number of withdrawals structures to retrieve
@@ -2293,7 +2342,7 @@ class lbank(Exchange, ImplicitAPI):
2293
2342
 
2294
2343
  async def fetch_transaction_fees(self, codes: Strings = None, params={}):
2295
2344
  """
2296
- * @deprecated
2345
+ @deprecated
2297
2346
  please use fetchDepositWithdrawFees instead
2298
2347
  :param str[]|None codes: not used by lbank fetchTransactionFees()
2299
2348
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -2429,8 +2478,10 @@ class lbank(Exchange, ImplicitAPI):
2429
2478
  async def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
2430
2479
  """
2431
2480
  when using private endpoint, only returns information for currencies with non-zero balance, use public method by specifying self.options['fetchDepositWithdrawFees']['method'] = 'fetchPublicDepositWithdrawFees'
2432
- :see: https://www.lbank.com/en-US/docs/index.html#get-all-coins-information
2433
- :see: https://www.lbank.com/en-US/docs/index.html#withdrawal-configurations
2481
+
2482
+ https://www.lbank.com/en-US/docs/index.html#get-all-coins-information
2483
+ https://www.lbank.com/en-US/docs/index.html#withdrawal-configurations
2484
+
2434
2485
  :param str[] [codes]: array of unified currency codes
2435
2486
  :param dict [params]: extra parameters specific to the exchange API endpoint
2436
2487
  :returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -188,7 +188,9 @@ class luno(Exchange, ImplicitAPI):
188
188
  async def fetch_markets(self, params={}) -> List[Market]:
189
189
  """
190
190
  retrieves data on all markets for luno
191
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/Markets
191
+
192
+ https://www.luno.com/en/developers/api#tag/Market/operation/Markets
193
+
192
194
  :param dict [params]: extra parameters specific to the exchange API endpoint
193
195
  :returns dict[]: an array of objects representing market data
194
196
  """
@@ -276,7 +278,9 @@ class luno(Exchange, ImplicitAPI):
276
278
  async def fetch_accounts(self, params={}) -> List[Account]:
277
279
  """
278
280
  fetch all the accounts associated with a profile
279
- :see: https://www.luno.com/en/developers/api#tag/Accounts/operation/getBalances
281
+
282
+ https://www.luno.com/en/developers/api#tag/Accounts/operation/getBalances
283
+
280
284
  :param dict [params]: extra parameters specific to the exchange API endpoint
281
285
  :returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
282
286
  """
@@ -325,7 +329,9 @@ class luno(Exchange, ImplicitAPI):
325
329
  async def fetch_balance(self, params={}) -> Balances:
326
330
  """
327
331
  query for balance and get the amount of funds available for trading or funds locked in orders
328
- :see: https://www.luno.com/en/developers/api#tag/Accounts/operation/getBalances
332
+
333
+ https://www.luno.com/en/developers/api#tag/Accounts/operation/getBalances
334
+
329
335
  :param dict [params]: extra parameters specific to the exchange API endpoint
330
336
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
331
337
  """
@@ -346,8 +352,10 @@ class luno(Exchange, ImplicitAPI):
346
352
  async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
347
353
  """
348
354
  fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
349
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/GetOrderBookFull
350
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/GetOrderBook
355
+
356
+ https://www.luno.com/en/developers/api#tag/Market/operation/GetOrderBookFull
357
+ https://www.luno.com/en/developers/api#tag/Market/operation/GetOrderBook
358
+
351
359
  :param str symbol: unified symbol of the market to fetch the order book for
352
360
  :param int [limit]: the maximum amount of order book entries to return
353
361
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -448,7 +456,10 @@ class luno(Exchange, ImplicitAPI):
448
456
  async def fetch_order(self, id: str, symbol: Str = None, params={}):
449
457
  """
450
458
  fetches information on an order made by the user
451
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/GetOrder
459
+
460
+ https://www.luno.com/en/developers/api#tag/Orders/operation/GetOrder
461
+
462
+ :param str id: order id
452
463
  :param str symbol: not used by luno fetchOrder
453
464
  :param dict [params]: extra parameters specific to the exchange API endpoint
454
465
  :returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
@@ -476,7 +487,9 @@ class luno(Exchange, ImplicitAPI):
476
487
  async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
477
488
  """
478
489
  fetches information on multiple orders made by the user
479
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
490
+
491
+ https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
492
+
480
493
  :param str symbol: unified market symbol of the market orders were made in
481
494
  :param int [since]: the earliest time in ms to fetch orders for
482
495
  :param int [limit]: the maximum number of order structures to retrieve
@@ -488,7 +501,9 @@ class luno(Exchange, ImplicitAPI):
488
501
  async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
489
502
  """
490
503
  fetch all unfilled currently open orders
491
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
504
+
505
+ https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
506
+
492
507
  :param str symbol: unified market symbol
493
508
  :param int [since]: the earliest time in ms to fetch open orders for
494
509
  :param int [limit]: the maximum number of open orders structures to retrieve
@@ -500,7 +515,9 @@ class luno(Exchange, ImplicitAPI):
500
515
  async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
501
516
  """
502
517
  fetches information on multiple closed orders made by the user
503
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
518
+
519
+ https://www.luno.com/en/developers/api#tag/Orders/operation/ListOrders
520
+
504
521
  :param str symbol: unified market symbol of the market orders were made in
505
522
  :param int [since]: the earliest time in ms to fetch orders for
506
523
  :param int [limit]: the maximum number of order structures to retrieve
@@ -549,7 +566,9 @@ class luno(Exchange, ImplicitAPI):
549
566
  async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
550
567
  """
551
568
  fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
552
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/GetTickers
569
+
570
+ https://www.luno.com/en/developers/api#tag/Market/operation/GetTickers
571
+
553
572
  :param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
554
573
  :param dict [params]: extra parameters specific to the exchange API endpoint
555
574
  :returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -571,7 +590,9 @@ class luno(Exchange, ImplicitAPI):
571
590
  async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
572
591
  """
573
592
  fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
574
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/GetTicker
593
+
594
+ https://www.luno.com/en/developers/api#tag/Market/operation/GetTicker
595
+
575
596
  :param str symbol: unified symbol of the market to fetch the ticker for
576
597
  :param dict [params]: extra parameters specific to the exchange API endpoint
577
598
  :returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
@@ -680,7 +701,9 @@ class luno(Exchange, ImplicitAPI):
680
701
  async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
681
702
  """
682
703
  get the list of most recent trades for a particular symbol
683
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/ListTrades
704
+
705
+ https://www.luno.com/en/developers/api#tag/Market/operation/ListTrades
706
+
684
707
  :param str symbol: unified symbol of the market to fetch trades for
685
708
  :param int [since]: timestamp in ms of the earliest trade to fetch
686
709
  :param int [limit]: the maximum amount of trades to fetch
@@ -713,7 +736,9 @@ class luno(Exchange, ImplicitAPI):
713
736
 
714
737
  async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}):
715
738
  """
716
- :see: https://www.luno.com/en/developers/api#tag/Market/operation/GetCandles
739
+
740
+ https://www.luno.com/en/developers/api#tag/Market/operation/GetCandles
741
+
717
742
  fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
718
743
  :param str symbol: unified symbol of the market to fetch OHLCV data for
719
744
  :param str timeframe: the length of time each candle represents
@@ -774,7 +799,9 @@ class luno(Exchange, ImplicitAPI):
774
799
  async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
775
800
  """
776
801
  fetch all trades made by the user
777
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/ListUserTrades
802
+
803
+ https://www.luno.com/en/developers/api#tag/Orders/operation/ListUserTrades
804
+
778
805
  :param str symbol: unified market symbol
779
806
  :param int [since]: the earliest time in ms to fetch trades for
780
807
  :param int [limit]: the maximum number of trades structures to retrieve
@@ -820,7 +847,9 @@ class luno(Exchange, ImplicitAPI):
820
847
  async def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
821
848
  """
822
849
  fetch the trading fees for a market
823
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/getFeeInfo
850
+
851
+ https://www.luno.com/en/developers/api#tag/Orders/operation/getFeeInfo
852
+
824
853
  :param str symbol: unified market symbol
825
854
  :param dict [params]: extra parameters specific to the exchange API endpoint
826
855
  :returns dict: a `fee structure <https://docs.ccxt.com/#/?id=fee-structure>`
@@ -850,8 +879,10 @@ class luno(Exchange, ImplicitAPI):
850
879
  async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
851
880
  """
852
881
  create a trade order
853
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/PostMarketOrder
854
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/PostLimitOrder
882
+
883
+ https://www.luno.com/en/developers/api#tag/Orders/operation/PostMarketOrder
884
+ https://www.luno.com/en/developers/api#tag/Orders/operation/PostLimitOrder
885
+
855
886
  :param str symbol: unified symbol of the market to create an order in
856
887
  :param str type: 'market' or 'limit'
857
888
  :param str side: 'buy' or 'sell'
@@ -887,7 +918,9 @@ class luno(Exchange, ImplicitAPI):
887
918
  async def cancel_order(self, id: str, symbol: Str = None, params={}):
888
919
  """
889
920
  cancels an open order
890
- :see: https://www.luno.com/en/developers/api#tag/Orders/operation/StopOrder
921
+
922
+ https://www.luno.com/en/developers/api#tag/Orders/operation/StopOrder
923
+
891
924
  :param str id: order id
892
925
  :param str symbol: unified symbol of the market the order was made in
893
926
  :param dict [params]: extra parameters specific to the exchange API endpoint
@@ -923,7 +956,9 @@ class luno(Exchange, ImplicitAPI):
923
956
  async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
924
957
  """
925
958
  fetch the history of changes, actions done by the user or operations that altered the balance of the user
926
- :see: https://www.luno.com/en/developers/api#tag/Accounts/operation/ListTransactions
959
+
960
+ https://www.luno.com/en/developers/api#tag/Accounts/operation/ListTransactions
961
+
927
962
  :param str [code]: unified currency code, default is None
928
963
  :param int [since]: timestamp in ms of the earliest ledger entry, default is None
929
964
  :param int [limit]: max number of ledger entries to return, default is None