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.
- 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/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 -19
- 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 +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- 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 +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- 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 +91 -41
- 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 +29 -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 +118 -49
- 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 +34 -34
- 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 -19
- 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 +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- 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 +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- 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 +91 -41
- 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 +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- 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 +51 -17
- 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 +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- 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 +35 -17
- 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 +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- 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.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/bitvavo.py
CHANGED
@@ -327,7 +327,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
327
327
|
|
328
328
|
def fetch_markets(self, params={}) -> List[Market]:
|
329
329
|
"""
|
330
|
-
|
330
|
+
|
331
|
+
https://docs.bitvavo.com/#tag/General/paths/~1markets/get
|
332
|
+
|
331
333
|
retrieves data on all markets for bitvavo
|
332
334
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
333
335
|
:returns dict[]: an array of objects representing market data
|
@@ -419,7 +421,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
419
421
|
|
420
422
|
def fetch_currencies(self, params={}) -> Currencies:
|
421
423
|
"""
|
422
|
-
|
424
|
+
|
425
|
+
https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
426
|
+
|
423
427
|
fetches all available currencies on an exchange
|
424
428
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
425
429
|
:returns dict: an associative dictionary of currencies
|
@@ -561,7 +565,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
561
565
|
|
562
566
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
563
567
|
"""
|
564
|
-
|
568
|
+
|
569
|
+
https://docs.bitvavo.com/#tag/Market-Data/paths/~1ticker~124h/get
|
570
|
+
|
565
571
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
566
572
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
567
573
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -671,7 +677,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
671
677
|
|
672
678
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
673
679
|
"""
|
674
|
-
|
680
|
+
|
681
|
+
https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1trades/get
|
682
|
+
|
675
683
|
get the list of most recent trades for a particular symbol
|
676
684
|
:param str symbol: unified symbol of the market to fetch trades for
|
677
685
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -810,7 +818,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
810
818
|
|
811
819
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
812
820
|
"""
|
813
|
-
|
821
|
+
|
822
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1account/get
|
823
|
+
|
814
824
|
fetch the trading fees for multiple markets
|
815
825
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
816
826
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
@@ -856,7 +866,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
856
866
|
|
857
867
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
858
868
|
"""
|
859
|
-
|
869
|
+
|
870
|
+
https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1book/get
|
871
|
+
|
860
872
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
861
873
|
:param str symbol: unified symbol of the market to fetch the order book for
|
862
874
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -936,7 +948,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
936
948
|
|
937
949
|
def fetch_ohlcv(self, symbol: Str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
938
950
|
"""
|
939
|
-
|
951
|
+
|
952
|
+
https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get
|
953
|
+
|
940
954
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
941
955
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
942
956
|
:param str timeframe: the length of time each candle represents
|
@@ -982,7 +996,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
982
996
|
|
983
997
|
def fetch_balance(self, params={}) -> Balances:
|
984
998
|
"""
|
985
|
-
|
999
|
+
|
1000
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
|
1001
|
+
|
986
1002
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
987
1003
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
988
1004
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
@@ -1089,7 +1105,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1089
1105
|
def create_order(self, symbol: Str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1090
1106
|
"""
|
1091
1107
|
create a trade order
|
1092
|
-
|
1108
|
+
|
1109
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
|
1110
|
+
|
1093
1111
|
:param str symbol: unified symbol of the market to create an order in
|
1094
1112
|
:param str type: 'market' or 'limit'
|
1095
1113
|
:param str side: 'buy' or 'sell'
|
@@ -1181,7 +1199,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1181
1199
|
def edit_order(self, id: str, symbol: str, type: OrderType, side: OrderSide, amount: Num = None, price: Num = None, params={}):
|
1182
1200
|
"""
|
1183
1201
|
edit a trade order
|
1184
|
-
|
1202
|
+
|
1203
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/put
|
1204
|
+
|
1185
1205
|
:param str id: cancel order id
|
1186
1206
|
:param str symbol: unified symbol of the market to create an order in
|
1187
1207
|
:param str type: 'market' or 'limit'
|
@@ -1211,9 +1231,13 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1211
1231
|
|
1212
1232
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1213
1233
|
"""
|
1214
|
-
|
1234
|
+
|
1235
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete
|
1236
|
+
|
1215
1237
|
cancels an open order
|
1216
|
-
|
1238
|
+
|
1239
|
+
https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1order/delete
|
1240
|
+
|
1217
1241
|
:param str id: order id
|
1218
1242
|
:param str symbol: unified symbol of the market the order was made in
|
1219
1243
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1232,7 +1256,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1232
1256
|
|
1233
1257
|
def cancel_all_orders(self, symbol: Str = None, params={}):
|
1234
1258
|
"""
|
1235
|
-
|
1259
|
+
|
1260
|
+
https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete
|
1261
|
+
|
1236
1262
|
cancel all open orders
|
1237
1263
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1238
1264
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1257,7 +1283,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1257
1283
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1258
1284
|
"""
|
1259
1285
|
fetches information on an order made by the user
|
1260
|
-
|
1286
|
+
|
1287
|
+
https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1order/get
|
1288
|
+
|
1261
1289
|
:param str id: the order id
|
1262
1290
|
:param str symbol: unified symbol of the market the order was made in
|
1263
1291
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1329,7 +1357,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1329
1357
|
|
1330
1358
|
def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1331
1359
|
"""
|
1332
|
-
|
1360
|
+
|
1361
|
+
https://docs.bitvavo.com/#tag/Trading-endpoints/paths/~1orders/get
|
1362
|
+
|
1333
1363
|
fetches information on multiple orders made by the user
|
1334
1364
|
:param str symbol: unified market symbol of the market orders were made in
|
1335
1365
|
:param int [since]: the earliest time in ms to fetch orders for
|
@@ -1582,7 +1612,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1582
1612
|
|
1583
1613
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
1584
1614
|
"""
|
1585
|
-
|
1615
|
+
|
1616
|
+
https://docs.bitvavo.com/#tag/Trades/paths/~1trades/get
|
1617
|
+
|
1586
1618
|
fetch all trades made by the user
|
1587
1619
|
:param str symbol: unified market symbol
|
1588
1620
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1678,7 +1710,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1678
1710
|
|
1679
1711
|
def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1680
1712
|
"""
|
1681
|
-
|
1713
|
+
|
1714
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get
|
1715
|
+
|
1682
1716
|
fetch all withdrawals made from an account
|
1683
1717
|
:param str code: unified currency code
|
1684
1718
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
@@ -1727,7 +1761,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1727
1761
|
|
1728
1762
|
def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1729
1763
|
"""
|
1730
|
-
|
1764
|
+
|
1765
|
+
https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get
|
1766
|
+
|
1731
1767
|
fetch all deposits made to an account
|
1732
1768
|
:param str code: unified currency code
|
1733
1769
|
:param int [since]: the earliest time in ms to fetch deposits for
|
@@ -1892,7 +1928,9 @@ class bitvavo(Exchange, ImplicitAPI):
|
|
1892
1928
|
def fetch_deposit_withdraw_fees(self, codes: Strings = None, params={}):
|
1893
1929
|
"""
|
1894
1930
|
fetch deposit and withdraw fees
|
1895
|
-
|
1931
|
+
|
1932
|
+
https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
1933
|
+
|
1896
1934
|
:param str[]|None codes: list of unified currency codes
|
1897
1935
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1898
1936
|
:returns dict: a list of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>`
|
ccxt/bl3p.py
CHANGED
@@ -145,7 +145,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
145
145
|
def fetch_balance(self, params={}) -> Balances:
|
146
146
|
"""
|
147
147
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
148
|
-
|
148
|
+
|
149
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
|
150
|
+
|
149
151
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
150
152
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
151
153
|
"""
|
@@ -164,7 +166,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
164
166
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
165
167
|
"""
|
166
168
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
167
|
-
|
169
|
+
|
170
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#22---orderbook
|
171
|
+
|
168
172
|
:param str symbol: unified symbol of the market to fetch the order book for
|
169
173
|
:param int [limit]: the maximum amount of order book entries to return
|
170
174
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -224,7 +228,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
224
228
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
225
229
|
"""
|
226
230
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
227
|
-
|
231
|
+
|
232
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#21---ticker
|
233
|
+
|
228
234
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
229
235
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
230
236
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -286,7 +292,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
286
292
|
def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
287
293
|
"""
|
288
294
|
get the list of most recent trades for a particular symbol
|
289
|
-
|
295
|
+
|
296
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#23---last-1000-trades
|
297
|
+
|
290
298
|
:param str symbol: unified symbol of the market to fetch trades for
|
291
299
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
292
300
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -317,7 +325,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
317
325
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
318
326
|
"""
|
319
327
|
fetch the trading fees for multiple markets
|
320
|
-
|
328
|
+
|
329
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
|
330
|
+
|
321
331
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
322
332
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
323
333
|
"""
|
@@ -370,15 +380,17 @@ class bl3p(Exchange, ImplicitAPI):
|
|
370
380
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
371
381
|
"""
|
372
382
|
create a trade order
|
373
|
-
|
383
|
+
|
384
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/examples/nodejs/example.md#21---create-an-order
|
385
|
+
|
374
386
|
:param str symbol: unified symbol of the market to create an order in
|
375
387
|
:param str type: 'market' or 'limit'
|
376
388
|
:param str side: 'buy' or 'sell'
|
377
389
|
:param float amount: how much of currency you want to trade in units of base currency
|
378
390
|
:param float [price]: the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
379
391
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
380
|
-
|
381
|
-
|
392
|
+
|
393
|
+
EXCHANGE SPECIFIC PARAMETERS
|
382
394
|
:param int [params.amount_funds]: maximal EUR amount to spend(*1e5)
|
383
395
|
:param str [params.fee_currency]: 'EUR' or 'BTC'
|
384
396
|
:returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -404,7 +416,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
404
416
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
405
417
|
"""
|
406
418
|
cancels an open order
|
407
|
-
|
419
|
+
|
420
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#22---cancel-an-order
|
421
|
+
|
408
422
|
:param str id: order id
|
409
423
|
:param str symbol: unified symbol of the market the order was made in
|
410
424
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -424,7 +438,9 @@ class bl3p(Exchange, ImplicitAPI):
|
|
424
438
|
def create_deposit_address(self, code: str, params={}):
|
425
439
|
"""
|
426
440
|
create a currency deposit address
|
427
|
-
|
441
|
+
|
442
|
+
https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#32---create-a-new-deposit-address
|
443
|
+
|
428
444
|
:param str code: unified currency code of the currency for the deposit address
|
429
445
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
430
446
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
ccxt/blockchaincom.py
CHANGED
@@ -232,7 +232,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
232
232
|
def fetch_markets(self, params={}) -> List[Market]:
|
233
233
|
"""
|
234
234
|
retrieves data on all markets for blockchaincom
|
235
|
-
|
235
|
+
|
236
|
+
https://api.blockchain.com/v3/#getsymbols
|
237
|
+
|
236
238
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
237
239
|
:returns dict[]: an array of objects representing market data
|
238
240
|
"""
|
@@ -356,7 +358,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
356
358
|
def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
357
359
|
"""
|
358
360
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
359
|
-
|
361
|
+
|
362
|
+
https://api.blockchain.com/v3/#getl3orderbook
|
363
|
+
|
360
364
|
:param str symbol: unified symbol of the market to fetch the order book for
|
361
365
|
:param int [limit]: the maximum amount of order book entries to return
|
362
366
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -367,7 +371,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
367
371
|
def fetch_l3_order_book(self, symbol: str, limit: Int = None, params={}):
|
368
372
|
"""
|
369
373
|
fetches level 3 information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
370
|
-
|
374
|
+
|
375
|
+
https://api.blockchain.com/v3/#getl3orderbook
|
376
|
+
|
371
377
|
:param str symbol: unified market symbol
|
372
378
|
:param int [limit]: max number of orders to return, default is None
|
373
379
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -434,7 +440,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
434
440
|
def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
435
441
|
"""
|
436
442
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
437
|
-
|
443
|
+
|
444
|
+
https://api.blockchain.com/v3/#gettickerbysymbol
|
445
|
+
|
438
446
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
439
447
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
440
448
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -450,7 +458,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
450
458
|
def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
451
459
|
"""
|
452
460
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
453
|
-
|
461
|
+
|
462
|
+
https://api.blockchain.com/v3/#gettickers
|
463
|
+
|
454
464
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
455
465
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
456
466
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -529,7 +539,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
529
539
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
530
540
|
"""
|
531
541
|
create a trade order
|
532
|
-
|
542
|
+
|
543
|
+
https://api.blockchain.com/v3/#createorder
|
544
|
+
|
533
545
|
:param str symbol: unified symbol of the market to create an order in
|
534
546
|
:param str type: 'market' or 'limit'
|
535
547
|
:param str side: 'buy' or 'sell'
|
@@ -581,7 +593,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
581
593
|
def cancel_order(self, id: str, symbol: Str = None, params={}):
|
582
594
|
"""
|
583
595
|
cancels an open order
|
584
|
-
|
596
|
+
|
597
|
+
https://api.blockchain.com/v3/#deleteorder
|
598
|
+
|
585
599
|
:param str id: order id
|
586
600
|
:param str symbol: unified symbol of the market the order was made in
|
587
601
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -599,7 +613,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
599
613
|
def cancel_all_orders(self, symbol: Str = None, params={}):
|
600
614
|
"""
|
601
615
|
cancel all open orders
|
602
|
-
|
616
|
+
|
617
|
+
https://api.blockchain.com/v3/#deleteallorders
|
618
|
+
|
603
619
|
:param str symbol: unified market symbol of the market to cancel orders in, all markets are used if None, default is None
|
604
620
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
605
621
|
:returns dict: an list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -626,7 +642,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
626
642
|
def fetch_trading_fees(self, params={}) -> TradingFees:
|
627
643
|
"""
|
628
644
|
fetch the trading fees for multiple markets
|
629
|
-
|
645
|
+
|
646
|
+
https://api.blockchain.com/v3/#getfees
|
647
|
+
|
630
648
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
631
649
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
632
650
|
"""
|
@@ -655,7 +673,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
655
673
|
def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
656
674
|
"""
|
657
675
|
fetches information on multiple canceled orders made by the user
|
658
|
-
|
676
|
+
|
677
|
+
https://api.blockchain.com/v3/#getorders
|
678
|
+
|
659
679
|
:param str symbol: unified market symbol of the market orders were made in
|
660
680
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
661
681
|
:param int [limit]: max number of orders to return, default is None
|
@@ -668,7 +688,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
668
688
|
def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
669
689
|
"""
|
670
690
|
fetches information on multiple closed orders made by the user
|
671
|
-
|
691
|
+
|
692
|
+
https://api.blockchain.com/v3/#getorders
|
693
|
+
|
672
694
|
:param str symbol: unified market symbol of the market orders were made in
|
673
695
|
:param int [since]: the earliest time in ms to fetch orders for
|
674
696
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -681,7 +703,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
681
703
|
def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
682
704
|
"""
|
683
705
|
fetch all unfilled currently open orders
|
684
|
-
|
706
|
+
|
707
|
+
https://api.blockchain.com/v3/#getorders
|
708
|
+
|
685
709
|
:param str symbol: unified market symbol
|
686
710
|
:param int [since]: the earliest time in ms to fetch open orders for
|
687
711
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -754,7 +778,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
754
778
|
def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
755
779
|
"""
|
756
780
|
fetch all trades made by the user
|
757
|
-
|
781
|
+
|
782
|
+
https://api.blockchain.com/v3/#getfills
|
783
|
+
|
758
784
|
:param str symbol: unified market symbol
|
759
785
|
:param int [since]: the earliest time in ms to fetch trades for
|
760
786
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -775,7 +801,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
775
801
|
def fetch_deposit_address(self, code: str, params={}) -> DepositAddress:
|
776
802
|
"""
|
777
803
|
fetch the deposit address for a currency associated with self account
|
778
|
-
|
804
|
+
|
805
|
+
https://api.blockchain.com/v3/#getdepositaddress
|
806
|
+
|
779
807
|
:param str code: unified currency code
|
780
808
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
781
809
|
:returns dict: an `address structure <https://docs.ccxt.com/#/?id=address-structure>`
|
@@ -883,7 +911,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
883
911
|
def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
884
912
|
"""
|
885
913
|
make a withdrawal
|
886
|
-
|
914
|
+
|
915
|
+
https://api.blockchain.com/v3/#createwithdrawal
|
916
|
+
|
887
917
|
:param str code: unified currency code
|
888
918
|
:param float amount: the amount to withdraw
|
889
919
|
:param str address: the address to withdraw to
|
@@ -916,7 +946,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
916
946
|
def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
917
947
|
"""
|
918
948
|
fetch all withdrawals made from an account
|
919
|
-
|
949
|
+
|
950
|
+
https://api.blockchain.com/v3/#getwithdrawals
|
951
|
+
|
920
952
|
:param str code: unified currency code
|
921
953
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
922
954
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -939,7 +971,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
939
971
|
def fetch_withdrawal(self, id: str, code: Str = None, params={}):
|
940
972
|
"""
|
941
973
|
fetch data on a currency withdrawal via the withdrawal id
|
942
|
-
|
974
|
+
|
975
|
+
https://api.blockchain.com/v3/#getwithdrawalbyid
|
976
|
+
|
943
977
|
:param str id: withdrawal id
|
944
978
|
:param str code: not used by blockchaincom.fetchWithdrawal
|
945
979
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -955,7 +989,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
955
989
|
def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
956
990
|
"""
|
957
991
|
fetch all deposits made to an account
|
958
|
-
|
992
|
+
|
993
|
+
https://api.blockchain.com/v3/#getdeposits
|
994
|
+
|
959
995
|
:param str code: unified currency code
|
960
996
|
:param int [since]: the earliest time in ms to fetch deposits for
|
961
997
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -978,7 +1014,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
978
1014
|
def fetch_deposit(self, id: str, code: Str = None, params={}):
|
979
1015
|
"""
|
980
1016
|
fetch information on a deposit
|
981
|
-
|
1017
|
+
|
1018
|
+
https://api.blockchain.com/v3/#getdepositbyid
|
1019
|
+
|
982
1020
|
:param str id: deposit id
|
983
1021
|
:param str code: not used by blockchaincom fetchDeposit()
|
984
1022
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -995,7 +1033,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
995
1033
|
def fetch_balance(self, params={}) -> Balances:
|
996
1034
|
"""
|
997
1035
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
998
|
-
|
1036
|
+
|
1037
|
+
https://api.blockchain.com/v3/#getaccounts
|
1038
|
+
|
999
1039
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1000
1040
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1001
1041
|
"""
|
@@ -1038,7 +1078,9 @@ class blockchaincom(Exchange, ImplicitAPI):
|
|
1038
1078
|
def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1039
1079
|
"""
|
1040
1080
|
fetches information on an order made by the user
|
1041
|
-
|
1081
|
+
|
1082
|
+
https://api.blockchain.com/v3/#getorderbyid
|
1083
|
+
|
1042
1084
|
:param str id: the order id
|
1043
1085
|
:param str symbol: not used by blockchaincom fetchOrder
|
1044
1086
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|