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.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/base/ws/aiohttp_client.py +25 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -22
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +313 -157
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +157 -74
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +54 -17
- ccxt/async_support/kraken.py +108 -36
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +214 -110
- ccxt/async_support/kucoinfutures.py +209 -64
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +108 -56
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +32 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +119 -50
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +47 -35
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -22
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +313 -157
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +157 -74
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +54 -17
- ccxt/kraken.py +108 -36
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +214 -110
- ccxt/kucoinfutures.py +209 -64
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +108 -56
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +204 -123
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +76 -37
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +97 -62
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +71 -27
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +65 -31
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +27 -9
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +36 -19
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +32 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +119 -50
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/METADATA +11 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/RECORD +268 -268
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.32.dist-info}/top_level.txt +0 -0
ccxt/exmo.py
CHANGED
@@ -293,7 +293,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
293
293
|
def reduce_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
|
294
294
|
"""
|
295
295
|
remove margin from a position
|
296
|
-
|
296
|
+
|
297
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#eebf9f25-0289-4946-9482-89872c738449
|
298
|
+
|
297
299
|
:param str symbol: unified market symbol
|
298
300
|
:param float amount: the amount of margin to remove
|
299
301
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -304,7 +306,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
304
306
|
def add_margin(self, symbol: str, amount: float, params={}) -> MarginModification:
|
305
307
|
"""
|
306
308
|
add margin
|
307
|
-
|
309
|
+
|
310
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#143ef808-79ca-4e49-9e79-a60ea4d8c0e3
|
311
|
+
|
308
312
|
:param str symbol: unified market symbol
|
309
313
|
:param float amount: amount of margin to add
|
310
314
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -315,8 +319,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
315
319
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
316
320
|
"""
|
317
321
|
fetch the trading fees for multiple markets
|
318
|
-
|
319
|
-
|
322
|
+
|
323
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#90927062-256c-4b03-900f-2b99131f9a54
|
324
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
|
325
|
+
|
320
326
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
321
327
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
322
328
|
"""
|
@@ -433,9 +439,11 @@ class exmo(Exchange, ImplicitAPI):
|
|
433
439
|
|
434
440
|
def fetch_transaction_fees(self, codes: Strings = None, params={}):
|
435
441
|
"""
|
436
|
-
|
442
|
+
@deprecated
|
437
443
|
please use fetchDepositWithdrawFees instead
|
438
|
-
|
444
|
+
|
445
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
446
|
+
|
439
447
|
:param str[]|None codes: list of unified currency codes
|
440
448
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
441
449
|
:returns dict: a list of `transaction fees structures <https://docs.ccxt.com/#/?id=fees-structure>`
|
@@ -503,7 +511,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
503
511
|
def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
|
504
512
|
"""
|
505
513
|
fetch deposit and withdraw fees
|
506
|
-
|
514
|
+
|
515
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
516
|
+
|
507
517
|
:param str[]|None codes: list of unified currency codes
|
508
518
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
509
519
|
:returns dict: a list of `transaction fees structures <https://docs.ccxt.com/#/?id=fees-structure>`
|
@@ -585,8 +595,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
585
595
|
def fetch_currencies(self, params={}) -> Currencies:
|
586
596
|
"""
|
587
597
|
fetches all available currencies on an exchange
|
588
|
-
|
589
|
-
|
598
|
+
|
599
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#7cdf0ca8-9ff6-4cf3-aa33-bcec83155c49
|
600
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
601
|
+
|
590
602
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
591
603
|
:returns dict: an associative dictionary of currencies
|
592
604
|
"""
|
@@ -697,7 +709,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
697
709
|
def fetch_markets(self, params={}) -> List[Market]:
|
698
710
|
"""
|
699
711
|
retrieves data on all markets for exmo
|
700
|
-
|
712
|
+
|
713
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
|
714
|
+
|
701
715
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
702
716
|
:returns dict[]: an array of objects representing market data
|
703
717
|
"""
|
@@ -821,7 +835,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
821
835
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
822
836
|
"""
|
823
837
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
824
|
-
|
838
|
+
|
839
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#65eeb949-74e5-4631-9184-c38387fe53e8
|
840
|
+
|
825
841
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
826
842
|
:param str timeframe: the length of time each candle represents
|
827
843
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -918,8 +934,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
918
934
|
def fetch_balance(self, params={}) -> Balances:
|
919
935
|
"""
|
920
936
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
921
|
-
|
922
|
-
|
937
|
+
|
938
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#59c5160f-27a1-4d9a-8cfb-7979c7ffaac6
|
939
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8388df7-1f9f-4d41-81c4-5a387d171dc6
|
940
|
+
|
923
941
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
924
942
|
:param str [params.marginMode]: *isolated* fetches the isolated margin balance
|
925
943
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -962,7 +980,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
962
980
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
963
981
|
"""
|
964
982
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
965
|
-
|
983
|
+
|
984
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
|
985
|
+
|
966
986
|
:param str symbol: unified symbol of the market to fetch the order book for
|
967
987
|
:param int [limit]: the maximum amount of order book entries to return
|
968
988
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -982,7 +1002,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
982
1002
|
def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
|
983
1003
|
"""
|
984
1004
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
985
|
-
|
1005
|
+
|
1006
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
|
1007
|
+
|
986
1008
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
987
1009
|
:param int [limit]: max number of entries per orderbook to return, default is None
|
988
1010
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1056,7 +1078,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1056
1078
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
1057
1079
|
"""
|
1058
1080
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
1059
|
-
|
1081
|
+
|
1082
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
|
1083
|
+
|
1060
1084
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1061
1085
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1062
1086
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1092,7 +1116,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1092
1116
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
1093
1117
|
"""
|
1094
1118
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
1095
|
-
|
1119
|
+
|
1120
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
|
1121
|
+
|
1096
1122
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1097
1123
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1098
1124
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -1192,7 +1218,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1192
1218
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1193
1219
|
"""
|
1194
1220
|
get the list of most recent trades for a particular symbol
|
1195
|
-
|
1221
|
+
|
1222
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#5a5a9c0d-cf17-47f6-9d62-6d4404ebd5ac
|
1223
|
+
|
1196
1224
|
:param str symbol: unified symbol of the market to fetch trades for
|
1197
1225
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1198
1226
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1233,14 +1261,16 @@ class exmo(Exchange, ImplicitAPI):
|
|
1233
1261
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1234
1262
|
"""
|
1235
1263
|
fetch all trades made by the user
|
1236
|
-
|
1237
|
-
|
1264
|
+
|
1265
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#b8d8d9af-4f46-46a1-939b-ad261d79f452 # spot
|
1266
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#f4b1aaf8-399f-403b-ab5e-4926d967a106 # margin
|
1267
|
+
|
1238
1268
|
:param str symbol: a symbol is required but it can be a single string, or a non-empty array
|
1239
1269
|
:param int [since]: the earliest time in ms to fetch trades for
|
1240
1270
|
:param int [limit]: *required for margin orders* the maximum number of trades structures to retrieve
|
1241
1271
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1242
|
-
|
1243
|
-
|
1272
|
+
|
1273
|
+
EXCHANGE SPECIFIC PARAMETERS
|
1244
1274
|
:param int [params.offset]: last deal offset, default = 0
|
1245
1275
|
:returns Trade[]: a list of `trade structures <https://docs.ccxt.com/#/?id=trade-structure>`
|
1246
1276
|
"""
|
@@ -1325,9 +1355,11 @@ class exmo(Exchange, ImplicitAPI):
|
|
1325
1355
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1326
1356
|
"""
|
1327
1357
|
create a trade order
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1358
|
+
|
1359
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#80daa469-ec59-4d0a-b229-6a311d8dd1cd
|
1360
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#de6f4321-eeac-468c-87f7-c4ad7062e265 # stop market
|
1361
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#3561b86c-9ff1-436e-8e68-ac926b7eb523 # margin
|
1362
|
+
|
1331
1363
|
:param str symbol: unified symbol of the market to create an order in
|
1332
1364
|
:param str type: 'market' or 'limit'
|
1333
1365
|
:param str side: 'buy' or 'sell'
|
@@ -1417,9 +1449,11 @@ class exmo(Exchange, ImplicitAPI):
|
|
1417
1449
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1418
1450
|
"""
|
1419
1451
|
cancels an open order
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1452
|
+
|
1453
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#1f710d4b-75bc-4b65-ad68-006f863a3f26
|
1454
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#a4d0aae8-28f7-41ac-94fd-c4030130453d # stop market
|
1455
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#705dfec5-2b35-4667-862b-faf54eca6209 # margin
|
1456
|
+
|
1423
1457
|
:param str id: order id
|
1424
1458
|
:param str symbol: not used by exmo cancelOrder()
|
1425
1459
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1463,7 +1497,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
1463
1497
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1464
1498
|
"""
|
1465
1499
|
*spot only* fetches information on an order made by the user
|
1466
|
-
|
1500
|
+
|
1501
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1502
|
+
|
1503
|
+
:param str id: order id
|
1467
1504
|
:param str symbol: not used by exmo fetchOrder
|
1468
1505
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1469
1506
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1501,8 +1538,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
1501
1538
|
def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1502
1539
|
"""
|
1503
1540
|
fetch all the trades made from a single order
|
1504
|
-
|
1505
|
-
|
1541
|
+
|
1542
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1543
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#00810661-9119-46c5-aec5-55abe9cb42c7 # margin
|
1544
|
+
|
1506
1545
|
:param str id: order id
|
1507
1546
|
:param str symbol: unified market symbol
|
1508
1547
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1573,8 +1612,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
1573
1612
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1574
1613
|
"""
|
1575
1614
|
fetch all unfilled currently open orders
|
1576
|
-
|
1577
|
-
|
1615
|
+
|
1616
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#0e135370-daa4-4689-8acd-b6876dee9ba1 # spot open orders
|
1617
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#a7cfd4f0-476e-4675-b33f-22a46902f245 # margin
|
1618
|
+
|
1578
1619
|
:param str symbol: unified market symbol
|
1579
1620
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1580
1621
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1822,8 +1863,10 @@ class exmo(Exchange, ImplicitAPI):
|
|
1822
1863
|
def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1823
1864
|
"""
|
1824
1865
|
fetches information on multiple canceled orders made by the user
|
1825
|
-
|
1826
|
-
|
1866
|
+
|
1867
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#1d2524dd-ae6d-403a-a067-77b50d13fbe5 # margin
|
1868
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#a51be1d0-af5f-44e4-99d7-f7b04c6067d0 # spot canceled orders
|
1869
|
+
|
1827
1870
|
:param str symbol: unified market symbol of the market orders were made in
|
1828
1871
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
1829
1872
|
:param int [limit]: max number of orders to return, default is None
|
@@ -1909,7 +1952,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1909
1952
|
def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
|
1910
1953
|
"""
|
1911
1954
|
*margin only* edit a trade order
|
1912
|
-
|
1955
|
+
|
1956
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#f27ee040-c75f-4b59-b608-d05bd45b7899 # margin
|
1957
|
+
|
1913
1958
|
:param str id: order id
|
1914
1959
|
:param str symbol: unified CCXT market symbol
|
1915
1960
|
:param str type: not used by exmo editOrder
|
@@ -1919,8 +1964,8 @@ class exmo(Exchange, ImplicitAPI):
|
|
1919
1964
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1920
1965
|
:param float [params.triggerPrice]: stop price for stop-market and stop-limit orders
|
1921
1966
|
:param str params['marginMode']: must be set to isolated
|
1922
|
-
|
1923
|
-
|
1967
|
+
|
1968
|
+
EXCHANGE SPECIFIC PARAMETERS
|
1924
1969
|
:param int [params.distance]: distance for trailing stop orders
|
1925
1970
|
:param int [params.expire]: expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0
|
1926
1971
|
:param str [params.comment]: optional comment for order. up to 50 latin symbols, whitespaces, underscores
|
@@ -1949,7 +1994,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1949
1994
|
def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
1950
1995
|
"""
|
1951
1996
|
fetch the deposit address for a currency associated with self account
|
1952
|
-
|
1997
|
+
|
1998
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8f9ced9-7ab6-4383-a6a4-bc54469ba60e
|
1999
|
+
|
1953
2000
|
:param str code: unified currency code
|
1954
2001
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1955
2002
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -1991,7 +2038,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1991
2038
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1992
2039
|
"""
|
1993
2040
|
make a withdrawal
|
1994
|
-
|
2041
|
+
|
2042
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#3ab9c34d-ad58-4f87-9c57-2e2ea88a8325
|
2043
|
+
|
1995
2044
|
:param str code: unified currency code
|
1996
2045
|
:param float amount: the amount to withdraw
|
1997
2046
|
:param str address: the address to withdraw to
|
@@ -2155,7 +2204,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
2155
2204
|
def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2156
2205
|
"""
|
2157
2206
|
fetch history of deposits and withdrawals
|
2158
|
-
|
2207
|
+
|
2208
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#31e69a33-4849-4e6a-b4b4-6d574238f6a7
|
2209
|
+
|
2159
2210
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
2160
2211
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
2161
2212
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -2205,7 +2256,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
2205
2256
|
def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2206
2257
|
"""
|
2207
2258
|
fetch all withdrawals made from an account
|
2208
|
-
|
2259
|
+
|
2260
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
|
2261
|
+
|
2209
2262
|
:param str code: unified currency code
|
2210
2263
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
2211
2264
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -2255,7 +2308,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
2255
2308
|
def fetch_withdrawal(self, id: str, code: Str = None, params={}):
|
2256
2309
|
"""
|
2257
2310
|
fetch data on a currency withdrawal via the withdrawal id
|
2258
|
-
|
2311
|
+
|
2312
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
|
2313
|
+
|
2259
2314
|
:param str id: withdrawal id
|
2260
2315
|
:param str code: unified currency code of the currency withdrawn, default is None
|
2261
2316
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2304,7 +2359,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
2304
2359
|
def fetch_deposit(self, id=None, code: Str = None, params={}):
|
2305
2360
|
"""
|
2306
2361
|
fetch information on a deposit
|
2307
|
-
|
2362
|
+
|
2363
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
|
2364
|
+
|
2308
2365
|
:param str id: deposit id
|
2309
2366
|
:param str code: unified currency code, default is None
|
2310
2367
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -2353,7 +2410,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
2353
2410
|
def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2354
2411
|
"""
|
2355
2412
|
fetch all deposits made to an account
|
2356
|
-
|
2413
|
+
|
2414
|
+
https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
|
2415
|
+
|
2357
2416
|
:param str code: unified currency code
|
2358
2417
|
:param int [since]: the earliest time in ms to fetch deposits for
|
2359
2418
|
:param int [limit]: the maximum number of deposits structures to retrieve
|