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/coinlist.py
CHANGED
@@ -326,7 +326,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
326
326
|
def fetch_time(self, params={}):
|
327
327
|
"""
|
328
328
|
fetches the current integer timestamp in milliseconds from the exchange server
|
329
|
-
|
329
|
+
|
330
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-system-time
|
331
|
+
|
330
332
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
331
333
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
332
334
|
"""
|
@@ -343,7 +345,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
343
345
|
def fetch_currencies(self, params={}) -> Currencies:
|
344
346
|
"""
|
345
347
|
fetches all available currencies on an exchange
|
346
|
-
|
348
|
+
|
349
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-supported-assets
|
350
|
+
|
347
351
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
348
352
|
:returns dict: an associative dictionary of currencies
|
349
353
|
"""
|
@@ -404,7 +408,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
404
408
|
def fetch_markets(self, params={}) -> List[Market]:
|
405
409
|
"""
|
406
410
|
retrieves data on all markets for coinlist
|
407
|
-
|
411
|
+
|
412
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-symbols
|
413
|
+
|
408
414
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
409
415
|
:returns dict[]: an array of objects representing market data
|
410
416
|
"""
|
@@ -499,7 +505,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
499
505
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
500
506
|
"""
|
501
507
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
502
|
-
|
508
|
+
|
509
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-symbol-summaries
|
510
|
+
|
503
511
|
:param str[] [symbols]: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
504
512
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
505
513
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -534,7 +542,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
534
542
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
535
543
|
"""
|
536
544
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
537
|
-
|
545
|
+
|
546
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-market-summary
|
547
|
+
|
538
548
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
539
549
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
540
550
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -623,7 +633,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
623
633
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
624
634
|
"""
|
625
635
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
626
|
-
|
636
|
+
|
637
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-order-book-level-2
|
638
|
+
|
627
639
|
:param str symbol: unified symbol of the market to fetch the order book for
|
628
640
|
:param int [limit]: the maximum amount of order book entries to return(default 100, max 200)
|
629
641
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -660,7 +672,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
660
672
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
661
673
|
"""
|
662
674
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
663
|
-
|
675
|
+
|
676
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-candles
|
677
|
+
|
664
678
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
665
679
|
:param str timeframe: the length of time each candle represents
|
666
680
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -739,7 +753,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
739
753
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
740
754
|
"""
|
741
755
|
get the list of most recent trades for a particular symbol
|
742
|
-
|
756
|
+
|
757
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-auctions
|
758
|
+
|
743
759
|
:param str symbol: unified symbol of the market to fetch trades for
|
744
760
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
745
761
|
:param int [limit]: the maximum amount of trades to fetch(default 200, max 500)
|
@@ -863,7 +879,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
863
879
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
864
880
|
"""
|
865
881
|
fetch the trading fees for multiple markets
|
866
|
-
|
882
|
+
|
883
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-fees
|
884
|
+
|
867
885
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
868
886
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
869
887
|
"""
|
@@ -1038,7 +1056,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1038
1056
|
def fetch_accounts(self, params={}) -> List[Account]:
|
1039
1057
|
"""
|
1040
1058
|
fetch all the accounts associated with a profile
|
1041
|
-
|
1059
|
+
|
1060
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-accounts
|
1061
|
+
|
1042
1062
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1043
1063
|
:returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
|
1044
1064
|
"""
|
@@ -1074,7 +1094,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1074
1094
|
def fetch_balance(self, params={}) -> Balances:
|
1075
1095
|
"""
|
1076
1096
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1077
|
-
|
1097
|
+
|
1098
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-balances
|
1099
|
+
|
1078
1100
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1079
1101
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1080
1102
|
"""
|
@@ -1116,7 +1138,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1116
1138
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1117
1139
|
"""
|
1118
1140
|
fetch all trades made by the user
|
1119
|
-
|
1141
|
+
|
1142
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-fills
|
1143
|
+
|
1120
1144
|
:param str symbol: unified market symbol
|
1121
1145
|
:param int [since]: the earliest time in ms to fetch trades for
|
1122
1146
|
:param int [limit]: the maximum number of trades structures to retrieve(default 200, max 500)
|
@@ -1173,7 +1197,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1173
1197
|
def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1174
1198
|
"""
|
1175
1199
|
fetch all the trades made from a single order
|
1176
|
-
|
1200
|
+
|
1201
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-fills
|
1202
|
+
|
1177
1203
|
:param str id: order id
|
1178
1204
|
:param str symbol: unified market symbol
|
1179
1205
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1189,7 +1215,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1189
1215
|
def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1190
1216
|
"""
|
1191
1217
|
fetches information on multiple orders made by the user
|
1192
|
-
|
1218
|
+
|
1219
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
|
1220
|
+
|
1193
1221
|
:param str symbol: unified market symbol of the market orders were made in
|
1194
1222
|
:param int [since]: the earliest time in ms to fetch orders for
|
1195
1223
|
:param int [limit]: the maximum number of order structures to retrieve(default 200, max 500)
|
@@ -1250,7 +1278,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1250
1278
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1251
1279
|
"""
|
1252
1280
|
fetches information on an order made by the user
|
1253
|
-
|
1281
|
+
|
1282
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-specific-order-by-id
|
1283
|
+
|
1254
1284
|
:param int|str id: order id
|
1255
1285
|
:param str symbol: not used by coinlist fetchOrder()
|
1256
1286
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1290,7 +1320,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1290
1320
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1291
1321
|
"""
|
1292
1322
|
fetch all unfilled currently open orders
|
1293
|
-
|
1323
|
+
|
1324
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
|
1325
|
+
|
1294
1326
|
:param str symbol: unified market symbol
|
1295
1327
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1296
1328
|
:param int [limit]: the maximum number of open order structures to retrieve(default 200, max 500)
|
@@ -1307,7 +1339,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1307
1339
|
def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1308
1340
|
"""
|
1309
1341
|
fetches information on multiple closed orders made by the user
|
1310
|
-
|
1342
|
+
|
1343
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
|
1344
|
+
|
1311
1345
|
:param str symbol: unified market symbol of the market orders were made in
|
1312
1346
|
:param int [since]: the earliest time in ms to fetch orders for
|
1313
1347
|
:param int [limit]: the maximum number of closed order structures to retrieve(default 200, max 500)
|
@@ -1324,7 +1358,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1324
1358
|
def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1325
1359
|
"""
|
1326
1360
|
fetches information on multiple canceled orders made by the user
|
1327
|
-
|
1361
|
+
|
1362
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-orders
|
1363
|
+
|
1328
1364
|
:param str symbol: unified market symbol of the market orders were made in
|
1329
1365
|
:param int [since]: the earliest time in ms to fetch orders for
|
1330
1366
|
:param int [limit]: the maximum number of canceled order structures to retrieve(default 200, max 500)
|
@@ -1341,7 +1377,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1341
1377
|
def cancel_all_orders(self, symbol: Str = None, params={}):
|
1342
1378
|
"""
|
1343
1379
|
cancel open orders of market
|
1344
|
-
|
1380
|
+
|
1381
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#cancel-all-orders
|
1382
|
+
|
1345
1383
|
:param str symbol: unified market symbol
|
1346
1384
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1347
1385
|
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1365,7 +1403,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1365
1403
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1366
1404
|
"""
|
1367
1405
|
cancels an open order
|
1368
|
-
|
1406
|
+
|
1407
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#cancel-specific-order-by-id
|
1408
|
+
|
1369
1409
|
:param str id: order id
|
1370
1410
|
:param str symbol: not used by coinlist cancelOrder()
|
1371
1411
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1388,7 +1428,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1388
1428
|
def cancel_orders(self, ids, symbol: Str = None, params={}):
|
1389
1429
|
"""
|
1390
1430
|
cancel multiple orders
|
1391
|
-
|
1431
|
+
|
1432
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#cancel-specific-orders
|
1433
|
+
|
1392
1434
|
:param str[] ids: order ids
|
1393
1435
|
:param str symbol: not used by coinlist cancelOrders()
|
1394
1436
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1420,7 +1462,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1420
1462
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1421
1463
|
"""
|
1422
1464
|
create a trade order
|
1423
|
-
|
1465
|
+
|
1466
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#create-new-order
|
1467
|
+
|
1424
1468
|
:param str symbol: unified symbol of the market to create an order in
|
1425
1469
|
:param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
|
1426
1470
|
:param str side: 'buy' or 'sell'
|
@@ -1486,7 +1530,10 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1486
1530
|
def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
|
1487
1531
|
"""
|
1488
1532
|
create a trade order
|
1489
|
-
|
1533
|
+
|
1534
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#modify-existing-order
|
1535
|
+
|
1536
|
+
:param str id: order id
|
1490
1537
|
:param str symbol: unified symbol of the market to create an order in
|
1491
1538
|
:param str type: 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
|
1492
1539
|
:param str side: 'buy' or 'sell'
|
@@ -1658,9 +1705,11 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1658
1705
|
def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
1659
1706
|
"""
|
1660
1707
|
transfer currency internally between wallets on the same account
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1708
|
+
|
1709
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#transfer-funds-between-entities
|
1710
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#transfer-funds-from-wallet-to-pro
|
1711
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#transfer-funds-from-pro-to-wallet
|
1712
|
+
|
1664
1713
|
:param str code: unified currency code
|
1665
1714
|
:param float amount: amount to transfer
|
1666
1715
|
:param str fromAccount: account to transfer from
|
@@ -1706,7 +1755,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1706
1755
|
def fetch_transfers(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[TransferEntry]:
|
1707
1756
|
"""
|
1708
1757
|
fetch a history of internal transfers between CoinList.co and CoinList Pro. It does not return external deposits or withdrawals
|
1709
|
-
|
1758
|
+
|
1759
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#list-transfers
|
1760
|
+
|
1710
1761
|
:param str code: unified currency code
|
1711
1762
|
:param int [since]: the earliest time in ms to fetch transfers for
|
1712
1763
|
:param int [limit]: the maximum number of transfer structures to retrieve(default 200, max 500)
|
@@ -1817,7 +1868,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1817
1868
|
def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1818
1869
|
"""
|
1819
1870
|
fetch history of deposits and withdrawals from external wallets and between CoinList Pro trading account and CoinList wallet
|
1820
|
-
|
1871
|
+
|
1872
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-coinlist-wallet-ledger
|
1873
|
+
|
1821
1874
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals
|
1822
1875
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal
|
1823
1876
|
:param int [limit]: max number of deposit/withdrawals to return(default 200, max 500)
|
@@ -1889,7 +1942,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1889
1942
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1890
1943
|
"""
|
1891
1944
|
request a withdrawal from CoinList wallet.(Disabled by default. Contact CoinList to apply for an exception.)
|
1892
|
-
|
1945
|
+
|
1946
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#request-withdrawal-from-wallet
|
1947
|
+
|
1893
1948
|
:param str code: unified currency code
|
1894
1949
|
:param float amount: the amount to withdraw
|
1895
1950
|
:param str address: the address to withdraw to
|
@@ -1983,7 +2038,9 @@ class coinlist(Exchange, ImplicitAPI):
|
|
1983
2038
|
def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
|
1984
2039
|
"""
|
1985
2040
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
1986
|
-
|
2041
|
+
|
2042
|
+
https://trade-docs.coinlist.co/?javascript--nodejs#get-account-history
|
2043
|
+
|
1987
2044
|
:param str [code]: unified currency code, default is None
|
1988
2045
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
1989
2046
|
:param int [limit]: max number of ledger entries to return(default 200, max 500)
|
ccxt/coinmate.py
CHANGED
@@ -236,7 +236,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
236
236
|
def fetch_markets(self, params={}) -> List[Market]:
|
237
237
|
"""
|
238
238
|
retrieves data on all markets for coinmate
|
239
|
-
|
239
|
+
|
240
|
+
https://coinmate.docs.apiary.io/#reference/trading-pairs/get-trading-pairs/get
|
241
|
+
|
240
242
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
241
243
|
:returns dict[]: an array of objects representing market data
|
242
244
|
"""
|
@@ -339,7 +341,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
339
341
|
def fetch_balance(self, params={}) -> Balances:
|
340
342
|
"""
|
341
343
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
342
|
-
|
344
|
+
|
345
|
+
https://coinmate.docs.apiary.io/#reference/balance/get-balances/post
|
346
|
+
|
343
347
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
344
348
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
345
349
|
"""
|
@@ -350,7 +354,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
350
354
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
351
355
|
"""
|
352
356
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
353
|
-
|
357
|
+
|
358
|
+
https://coinmate.docs.apiary.io/#reference/order-book/get-order-book/get
|
359
|
+
|
354
360
|
:param str symbol: unified symbol of the market to fetch the order book for
|
355
361
|
:param int [limit]: the maximum amount of order book entries to return
|
356
362
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -370,7 +376,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
370
376
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
371
377
|
"""
|
372
378
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
373
|
-
|
379
|
+
|
380
|
+
https://coinmate.docs.apiary.io/#reference/ticker/get-ticker/get
|
381
|
+
|
374
382
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
375
383
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
376
384
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -404,7 +412,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
404
412
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
405
413
|
"""
|
406
414
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
407
|
-
|
415
|
+
|
416
|
+
https://coinmate.docs.apiary.io/#reference/ticker/get-ticker-all/get
|
417
|
+
|
408
418
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
409
419
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
410
420
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -482,7 +492,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
482
492
|
def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
483
493
|
"""
|
484
494
|
fetch history of deposits and withdrawals
|
485
|
-
|
495
|
+
|
496
|
+
https://coinmate.docs.apiary.io/#reference/transfers/get-transfer-history/post
|
497
|
+
|
486
498
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
487
499
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
488
500
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -590,12 +602,14 @@ class coinmate(Exchange, ImplicitAPI):
|
|
590
602
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
591
603
|
"""
|
592
604
|
make a withdrawal
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
605
|
+
|
606
|
+
https://coinmate.docs.apiary.io/#reference/bitcoin-withdrawal-and-deposit/withdraw-bitcoins/post
|
607
|
+
https://coinmate.docs.apiary.io/#reference/litecoin-withdrawal-and-deposit/withdraw-litecoins/post
|
608
|
+
https://coinmate.docs.apiary.io/#reference/ethereum-withdrawal-and-deposit/withdraw-ethereum/post
|
609
|
+
https://coinmate.docs.apiary.io/#reference/ripple-withdrawal-and-deposit/withdraw-ripple/post
|
610
|
+
https://coinmate.docs.apiary.io/#reference/cardano-withdrawal-and-deposit/withdraw-cardano/post
|
611
|
+
https://coinmate.docs.apiary.io/#reference/solana-withdrawal-and-deposit/withdraw-solana/post
|
612
|
+
|
599
613
|
:param str code: unified currency code
|
600
614
|
:param float amount: the amount to withdraw
|
601
615
|
:param str address: the address to withdraw to
|
@@ -644,7 +658,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
644
658
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
645
659
|
"""
|
646
660
|
fetch all trades made by the user
|
647
|
-
|
661
|
+
|
662
|
+
https://coinmate.docs.apiary.io/#reference/trade-history/get-trade-history/post
|
663
|
+
|
648
664
|
:param str symbol: unified market symbol
|
649
665
|
:param int [since]: the earliest time in ms to fetch trades for
|
650
666
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -731,7 +747,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
731
747
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
732
748
|
"""
|
733
749
|
get the list of most recent trades for a particular symbol
|
734
|
-
|
750
|
+
|
751
|
+
https://coinmate.docs.apiary.io/#reference/transactions/transactions/get
|
752
|
+
|
735
753
|
:param str symbol: unified symbol of the market to fetch trades for
|
736
754
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
737
755
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -767,7 +785,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
767
785
|
def fetch_trading_fee(self, symbol: str, params={}) -> TradingFeeInterface:
|
768
786
|
"""
|
769
787
|
fetch the trading fees for a market
|
770
|
-
|
788
|
+
|
789
|
+
https://coinmate.docs.apiary.io/#reference/trader-fees/get-trading-fees/post
|
790
|
+
|
771
791
|
:param str symbol: unified market symbol
|
772
792
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
773
793
|
:returns dict: a `fee structure <https://docs.ccxt.com/#/?id=fee-structure>`
|
@@ -802,7 +822,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
802
822
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
803
823
|
"""
|
804
824
|
fetch all unfilled currently open orders
|
805
|
-
|
825
|
+
|
826
|
+
https://coinmate.docs.apiary.io/#reference/order/get-open-orders/post
|
827
|
+
|
806
828
|
:param str symbol: unified market symbol
|
807
829
|
:param int [since]: the earliest time in ms to fetch open orders for
|
808
830
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -816,7 +838,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
816
838
|
def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
817
839
|
"""
|
818
840
|
fetches information on multiple orders made by the user
|
819
|
-
|
841
|
+
|
842
|
+
https://coinmate.docs.apiary.io/#reference/order/order-history/post
|
843
|
+
|
820
844
|
:param str symbol: unified market symbol of the market orders were made in
|
821
845
|
:param int [since]: the earliest time in ms to fetch orders for
|
822
846
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -943,10 +967,12 @@ class coinmate(Exchange, ImplicitAPI):
|
|
943
967
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
944
968
|
"""
|
945
969
|
create a trade order
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
970
|
+
|
971
|
+
https://coinmate.docs.apiary.io/#reference/order/buy-limit-order/post
|
972
|
+
https://coinmate.docs.apiary.io/#reference/order/sell-limit-order/post
|
973
|
+
https://coinmate.docs.apiary.io/#reference/order/buy-instant-order/post
|
974
|
+
https://coinmate.docs.apiary.io/#reference/order/sell-instant-order/post
|
975
|
+
|
950
976
|
:param str symbol: unified symbol of the market to create an order in
|
951
977
|
:param str type: 'market' or 'limit'
|
952
978
|
:param str side: 'buy' or 'sell'
|
@@ -981,8 +1007,11 @@ class coinmate(Exchange, ImplicitAPI):
|
|
981
1007
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
982
1008
|
"""
|
983
1009
|
fetches information on an order made by the user
|
984
|
-
|
985
|
-
|
1010
|
+
|
1011
|
+
https://coinmate.docs.apiary.io/#reference/order/get-order-by-orderid/post
|
1012
|
+
https://coinmate.docs.apiary.io/#reference/order/get-order-by-clientorderid/post
|
1013
|
+
|
1014
|
+
:param str id: order id
|
986
1015
|
:param str symbol: unified symbol of the market the order was made in
|
987
1016
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
988
1017
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1001,7 +1030,9 @@ class coinmate(Exchange, ImplicitAPI):
|
|
1001
1030
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1002
1031
|
"""
|
1003
1032
|
cancels an open order
|
1004
|
-
|
1033
|
+
|
1034
|
+
https://coinmate.docs.apiary.io/#reference/order/cancel-order/post
|
1035
|
+
|
1005
1036
|
:param str id: order id
|
1006
1037
|
:param str symbol: not used by coinmate cancelOrder()
|
1007
1038
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|