ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__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/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/async_support/lbank2.py
CHANGED
@@ -305,8 +305,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
305
305
|
async def fetch_time(self, params={}):
|
306
306
|
"""
|
307
307
|
fetches the current integer timestamp in milliseconds from the exchange server
|
308
|
-
see https://www.lbank.info/en-US/docs/index.html#get-timestamp
|
309
|
-
see https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
|
308
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-timestamp
|
309
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
|
310
310
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
311
311
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
312
312
|
"""
|
@@ -342,8 +342,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
342
342
|
async def fetch_markets(self, params={}):
|
343
343
|
"""
|
344
344
|
retrieves data on all markets for lbank2
|
345
|
-
see https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
346
|
-
see https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
|
345
|
+
:see: https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
346
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
|
347
347
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
348
348
|
:returns dict[]: an array of objects representing market data
|
349
349
|
"""
|
@@ -592,7 +592,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
592
592
|
async def fetch_ticker(self, symbol: str, params={}):
|
593
593
|
"""
|
594
594
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
595
|
-
see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
595
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
596
596
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
597
597
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
598
598
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -634,8 +634,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
634
634
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
635
635
|
"""
|
636
636
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
637
|
-
see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
638
|
-
see https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
|
637
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
638
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
|
639
639
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
640
640
|
:param dict [params]: extra parameters specific to the lbank api endpoint
|
641
641
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -708,8 +708,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
708
708
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
709
709
|
"""
|
710
710
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
711
|
-
see https://www.lbank.info/en-US/docs/index.html#query-market-depth
|
712
|
-
see https://www.lbank.com/en-US/docs/contract.html#get-handicap
|
711
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-market-depth
|
712
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#get-handicap
|
713
713
|
:param str symbol: unified symbol of the market to fetch the order book for
|
714
714
|
:param int [limit]: the maximum amount of order book entries to return
|
715
715
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
@@ -881,8 +881,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
881
881
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
882
882
|
"""
|
883
883
|
get the list of most recent trades for a particular symbol
|
884
|
-
see https://www.lbank.info/en-US/docs/index.html#query-historical-transactions
|
885
|
-
see https://www.lbank.info/en-US/docs/index.html#recent-transactions-list
|
884
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-historical-transactions
|
885
|
+
:see: https://www.lbank.info/en-US/docs/index.html#recent-transactions-list
|
886
886
|
:param str symbol: unified symbol of the market to fetch trades for
|
887
887
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
888
888
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -948,7 +948,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
948
948
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
949
949
|
"""
|
950
950
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
951
|
-
see https://www.lbank.info/en-US/docs/index.html#query-k-bar-data
|
951
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-k-bar-data
|
952
952
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
953
953
|
:param str timeframe: the length of time each candle represents
|
954
954
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1123,9 +1123,9 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1123
1123
|
async def fetch_balance(self, params={}):
|
1124
1124
|
"""
|
1125
1125
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1126
|
-
see https://www.lbank.info/en-US/docs/index.html#asset-information
|
1127
|
-
see https://www.lbank.info/en-US/docs/index.html#account-information
|
1128
|
-
see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
1126
|
+
:see: https://www.lbank.info/en-US/docs/index.html#asset-information
|
1127
|
+
:see: https://www.lbank.info/en-US/docs/index.html#account-information
|
1128
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
1129
1129
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1130
1130
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1131
1131
|
"""
|
@@ -1187,7 +1187,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1187
1187
|
async def fetch_trading_fee(self, symbol: str, params={}):
|
1188
1188
|
"""
|
1189
1189
|
fetch the trading fees for a market
|
1190
|
-
see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1190
|
+
:see: https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1191
1191
|
:param str symbol: unified market symbol
|
1192
1192
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1193
1193
|
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1199,7 +1199,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1199
1199
|
async def fetch_trading_fees(self, params={}):
|
1200
1200
|
"""
|
1201
1201
|
fetch the trading fees for multiple markets
|
1202
|
-
see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1202
|
+
:see: https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1203
1203
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1204
1204
|
:returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
|
1205
1205
|
"""
|
@@ -1217,8 +1217,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1217
1217
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1218
1218
|
"""
|
1219
1219
|
create a trade order
|
1220
|
-
see https://www.lbank.info/en-US/docs/index.html#place-order
|
1221
|
-
see https://www.lbank.info/en-US/docs/index.html#place-an-order
|
1220
|
+
:see: https://www.lbank.info/en-US/docs/index.html#place-order
|
1221
|
+
:see: https://www.lbank.info/en-US/docs/index.html#place-an-order
|
1222
1222
|
:param str symbol: unified symbol of the market to create an order in
|
1223
1223
|
:param str type: 'market' or 'limit'
|
1224
1224
|
:param str side: 'buy' or 'sell'
|
@@ -1428,8 +1428,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1428
1428
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1429
1429
|
"""
|
1430
1430
|
fetches information on an order made by the user
|
1431
|
-
see https://www.lbank.info/en-US/docs/index.html#query-order
|
1432
|
-
see https://www.lbank.info/en-US/docs/index.html#query-order-new
|
1431
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-order
|
1432
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-order-new
|
1433
1433
|
:param str symbol: unified symbol of the market the order was made in
|
1434
1434
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1435
1435
|
:returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1522,7 +1522,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1522
1522
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1523
1523
|
"""
|
1524
1524
|
fetch all trades made by the user
|
1525
|
-
see https://www.lbank.info/en-US/docs/index.html#past-transaction-details
|
1525
|
+
:see: https://www.lbank.info/en-US/docs/index.html#past-transaction-details
|
1526
1526
|
:param str symbol: unified market symbol
|
1527
1527
|
:param int [since]: the earliest time in ms to fetch trades for
|
1528
1528
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -1575,7 +1575,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1575
1575
|
async def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1576
1576
|
"""
|
1577
1577
|
fetches information on multiple orders made by the user
|
1578
|
-
see https://www.lbank.info/en-US/docs/index.html#query-all-orders
|
1578
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-all-orders
|
1579
1579
|
:param str symbol: unified market symbol of the market orders were made in
|
1580
1580
|
:param int [since]: the earliest time in ms to fetch orders for
|
1581
1581
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1630,7 +1630,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1630
1630
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1631
1631
|
"""
|
1632
1632
|
fetch all unfilled currently open orders
|
1633
|
-
see https://www.lbank.info/en-US/docs/index.html#current-pending-order
|
1633
|
+
:see: https://www.lbank.info/en-US/docs/index.html#current-pending-order
|
1634
1634
|
:param str symbol: unified market symbol
|
1635
1635
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1636
1636
|
:param int [limit]: the maximum number of open order structures to retrieve
|
@@ -1682,7 +1682,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1682
1682
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1683
1683
|
"""
|
1684
1684
|
cancels an open order
|
1685
|
-
see https://www.lbank.info/en-US/docs/index.html#cancel-order-new
|
1685
|
+
:see: https://www.lbank.info/en-US/docs/index.html#cancel-order-new
|
1686
1686
|
:param str id: order id
|
1687
1687
|
:param str symbol: unified symbol of the market the order was made in
|
1688
1688
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
@@ -1719,7 +1719,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1719
1719
|
async def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
|
1720
1720
|
"""
|
1721
1721
|
cancel all open orders in a market
|
1722
|
-
see https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
|
1722
|
+
:see: https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
|
1723
1723
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1724
1724
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1725
1725
|
:returns dict[]: a list of `order structures <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1762,8 +1762,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1762
1762
|
async def fetch_deposit_address(self, code: str, params={}):
|
1763
1763
|
"""
|
1764
1764
|
fetch the deposit address for a currency associated with self account
|
1765
|
-
see https://www.lbank.info/en-US/docs/index.html#get-deposit-address
|
1766
|
-
see https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
|
1765
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-deposit-address
|
1766
|
+
:see: https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
|
1767
1767
|
:param str code: unified currency code
|
1768
1768
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1769
1769
|
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
@@ -1856,7 +1856,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1856
1856
|
async def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1857
1857
|
"""
|
1858
1858
|
make a withdrawal
|
1859
|
-
see https://www.lbank.info/en-US/docs/index.html#withdrawal
|
1859
|
+
:see: https://www.lbank.info/en-US/docs/index.html#withdrawal
|
1860
1860
|
:param str code: unified currency code
|
1861
1861
|
:param float amount: the amount to withdraw
|
1862
1862
|
:param str address: the address to withdraw to
|
@@ -2013,7 +2013,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2013
2013
|
async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2014
2014
|
"""
|
2015
2015
|
fetch all deposits made to an account
|
2016
|
-
see https://www.lbank.info/en-US/docs/index.html#get-recharge-history
|
2016
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-recharge-history
|
2017
2017
|
:param str code: unified currency code
|
2018
2018
|
:param int [since]: the earliest time in ms to fetch deposits for
|
2019
2019
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -2062,7 +2062,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2062
2062
|
async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2063
2063
|
"""
|
2064
2064
|
fetch all withdrawals made from an account
|
2065
|
-
see https://www.lbank.info/en-US/docs/index.html#get-withdrawal-history
|
2065
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-withdrawal-history
|
2066
2066
|
:param str code: unified currency code
|
2067
2067
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
2068
2068
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -2248,8 +2248,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2248
2248
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2249
2249
|
"""
|
2250
2250
|
when using private endpoint, only returns information for currencies with non-zero balance, use public method by specifying self.options['fetchDepositWithdrawFees']['method'] = 'fetchPublicDepositWithdrawFees'
|
2251
|
-
see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
2252
|
-
see https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
|
2251
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
2252
|
+
:see: https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
|
2253
2253
|
:param str[]|None codes: array of unified currency codes
|
2254
2254
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
2255
2255
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/async_support/mexc.py
CHANGED
@@ -893,7 +893,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
893
893
|
async def fetch_currencies(self, params={}):
|
894
894
|
"""
|
895
895
|
fetches all available currencies on an exchange
|
896
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
896
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
897
897
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
898
898
|
:returns dict: an associative dictionary of currencies
|
899
899
|
"""
|
@@ -1276,8 +1276,8 @@ class mexc(Exchange, ImplicitAPI):
|
|
1276
1276
|
|
1277
1277
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
1278
1278
|
"""
|
1279
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#order-book
|
1280
|
-
see https://mxcdevelop.github.io/apidocs/contract_v1_en/#get-the-contract-s-depth-information
|
1279
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#order-book
|
1280
|
+
:see: https://mxcdevelop.github.io/apidocs/contract_v1_en/#get-the-contract-s-depth-information
|
1281
1281
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1282
1282
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1283
1283
|
:param int [limit]: the maximum amount of order book entries to return
|
@@ -1345,9 +1345,9 @@ class mexc(Exchange, ImplicitAPI):
|
|
1345
1345
|
|
1346
1346
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1347
1347
|
"""
|
1348
|
-
see https://mexcdevelop.github.io/apidocs/spot_v3_en/#recent-trades-list
|
1349
|
-
see https://mexcdevelop.github.io/apidocs/spot_v3_en/#compressed-aggregate-trades-list
|
1350
|
-
see https://mexcdevelop.github.io/apidocs/contract_v1_en/#get-contract-transaction-data
|
1348
|
+
:see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#recent-trades-list
|
1349
|
+
:see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#compressed-aggregate-trades-list
|
1350
|
+
:see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#get-contract-transaction-data
|
1351
1351
|
get the list of most recent trades for a particular symbol
|
1352
1352
|
:param str symbol: unified symbol of the market to fetch trades for
|
1353
1353
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1585,8 +1585,8 @@ class mexc(Exchange, ImplicitAPI):
|
|
1585
1585
|
|
1586
1586
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1587
1587
|
"""
|
1588
|
-
see https://mexcdevelop.github.io/apidocs/spot_v3_en/#kline-candlestick-data
|
1589
|
-
see https://mexcdevelop.github.io/apidocs/contract_v1_en/#k-line-data
|
1588
|
+
:see: https://mexcdevelop.github.io/apidocs/spot_v3_en/#kline-candlestick-data
|
1589
|
+
:see: https://mexcdevelop.github.io/apidocs/contract_v1_en/#k-line-data
|
1590
1590
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1591
1591
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1592
1592
|
:param str timeframe: the length of time each candle represents
|
@@ -3259,9 +3259,9 @@ class mexc(Exchange, ImplicitAPI):
|
|
3259
3259
|
async def fetch_balance(self, params={}):
|
3260
3260
|
"""
|
3261
3261
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
3262
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-information
|
3263
|
-
see https://mxcdevelop.github.io/apidocs/contract_v1_en/#get-all-informations-of-user-39-s-asset
|
3264
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
|
3262
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#account-information
|
3263
|
+
:see: https://mxcdevelop.github.io/apidocs/contract_v1_en/#get-all-informations-of-user-39-s-asset
|
3264
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#isolated-account
|
3265
3265
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
3266
3266
|
:param str [params.symbols]: # required for margin, market id's separated by commas
|
3267
3267
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
@@ -3914,7 +3914,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
3914
3914
|
async def fetch_deposit_addresses_by_network(self, code: str, params={}):
|
3915
3915
|
"""
|
3916
3916
|
fetch a dictionary of addresses for a currency, indexed by network
|
3917
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
|
3917
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
|
3918
3918
|
:param str code: unified currency code of the currency for the deposit address
|
3919
3919
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
3920
3920
|
:returns dict: a dictionary of `address structures <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>` indexed by the network
|
@@ -3949,7 +3949,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
3949
3949
|
|
3950
3950
|
async def create_deposit_address(self, code: str, params={}):
|
3951
3951
|
"""
|
3952
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#generate-deposit-address-supporting-network
|
3952
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#generate-deposit-address-supporting-network
|
3953
3953
|
create a currency deposit address
|
3954
3954
|
:param str code: unified currency code of the currency for the deposit address
|
3955
3955
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
@@ -3986,7 +3986,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
3986
3986
|
async def fetch_deposit_address(self, code: str, params={}):
|
3987
3987
|
"""
|
3988
3988
|
fetch the deposit address for a currency associated with self account
|
3989
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
|
3989
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-address-supporting-network
|
3990
3990
|
:param str code: unified currency code
|
3991
3991
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
3992
3992
|
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
@@ -4008,7 +4008,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4008
4008
|
async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
4009
4009
|
"""
|
4010
4010
|
fetch all deposits made to an account
|
4011
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-history-supporting-network
|
4011
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#deposit-history-supporting-network
|
4012
4012
|
:param str code: unified currency code
|
4013
4013
|
:param int [since]: the earliest time in ms to fetch deposits for
|
4014
4014
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -4061,7 +4061,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4061
4061
|
async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
4062
4062
|
"""
|
4063
4063
|
fetch all withdrawals made from an account
|
4064
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#withdraw-history-supporting-network
|
4064
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#withdraw-history-supporting-network
|
4065
4065
|
:param str code: unified currency code
|
4066
4066
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
4067
4067
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -4455,7 +4455,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4455
4455
|
async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
4456
4456
|
"""
|
4457
4457
|
transfer currency internally between wallets on the same account
|
4458
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#user-universal-transfer
|
4458
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#user-universal-transfer
|
4459
4459
|
:param str code: unified currency code
|
4460
4460
|
:param float amount: amount to transfer
|
4461
4461
|
:param str fromAccount: account to transfer from
|
@@ -4580,7 +4580,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4580
4580
|
async def withdraw(self, code: str, amount, address, tag=None, params={}):
|
4581
4581
|
"""
|
4582
4582
|
make a withdrawal
|
4583
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#withdraw
|
4583
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#withdraw
|
4584
4584
|
:param str code: unified currency code
|
4585
4585
|
:param float amount: the amount to withdraw
|
4586
4586
|
:param str address: the address to withdraw to
|
@@ -4644,7 +4644,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4644
4644
|
async def borrow_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
4645
4645
|
"""
|
4646
4646
|
create a loan to borrow margin
|
4647
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#loan
|
4647
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#loan
|
4648
4648
|
:param str code: unified currency code of the currency to borrow
|
4649
4649
|
:param float amount: the amount to borrow
|
4650
4650
|
:param str symbol: unified market symbol
|
@@ -4676,7 +4676,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4676
4676
|
async def repay_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
4677
4677
|
"""
|
4678
4678
|
repay borrowed margin and interest
|
4679
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#repayment
|
4679
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#repayment
|
4680
4680
|
:param str code: unified currency code of the currency to repay
|
4681
4681
|
:param float amount: the amount to repay
|
4682
4682
|
:param str symbol: unified market symbol
|
@@ -4713,7 +4713,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4713
4713
|
async def fetch_transaction_fees(self, codes=None, params={}):
|
4714
4714
|
"""
|
4715
4715
|
fetch deposit and withdrawal fees
|
4716
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
4716
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
4717
4717
|
:param str[]|None codes: returns fees for all currencies if None
|
4718
4718
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
4719
4719
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -4806,7 +4806,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
4806
4806
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
4807
4807
|
"""
|
4808
4808
|
fetch deposit and withdrawal fees
|
4809
|
-
see https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
4809
|
+
:see: https://mxcdevelop.github.io/apidocs/spot_v3_en/#query-the-currency-information
|
4810
4810
|
:param str[]|None codes: returns fees for all currencies if None
|
4811
4811
|
:param dict [params]: extra parameters specific to the mexc3 api endpoint
|
4812
4812
|
:returns dict[]: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/async_support/ndax.py
CHANGED
@@ -1927,7 +1927,7 @@ class ndax(Exchange, ImplicitAPI):
|
|
1927
1927
|
async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1928
1928
|
"""
|
1929
1929
|
fetch all deposits made to an account
|
1930
|
-
see https://apidoc.ndax.io/#getdeposits
|
1930
|
+
:see: https://apidoc.ndax.io/#getdeposits
|
1931
1931
|
:param str code: unified currency code
|
1932
1932
|
:param int [since]: not used by ndax fetchDeposits
|
1933
1933
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
ccxt/async_support/novadax.py
CHANGED
@@ -215,7 +215,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
215
215
|
async def fetch_time(self, params={}):
|
216
216
|
"""
|
217
217
|
fetches the current integer timestamp in milliseconds from the exchange server
|
218
|
-
see https://doc.novadax.com/en-US/#get-current-system-time
|
218
|
+
:see: https://doc.novadax.com/en-US/#get-current-system-time
|
219
219
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
220
220
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
221
221
|
"""
|
@@ -232,7 +232,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
232
232
|
async def fetch_markets(self, params={}):
|
233
233
|
"""
|
234
234
|
retrieves data on all markets for novadax
|
235
|
-
see https://doc.novadax.com/en-US/#get-all-supported-trading-symbol
|
235
|
+
:see: https://doc.novadax.com/en-US/#get-all-supported-trading-symbol
|
236
236
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
237
237
|
:returns dict[]: an array of objects representing market data
|
238
238
|
"""
|
@@ -368,7 +368,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
368
368
|
async def fetch_ticker(self, symbol: str, params={}):
|
369
369
|
"""
|
370
370
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
371
|
-
see https://doc.novadax.com/en-US/#get-latest-ticker-for-specific-pair
|
371
|
+
:see: https://doc.novadax.com/en-US/#get-latest-ticker-for-specific-pair
|
372
372
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
373
373
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
374
374
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -403,7 +403,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
403
403
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
404
404
|
"""
|
405
405
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
406
|
-
see https://doc.novadax.com/en-US/#get-latest-tickers-for-all-trading-pairs
|
406
|
+
:see: https://doc.novadax.com/en-US/#get-latest-tickers-for-all-trading-pairs
|
407
407
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
408
408
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
409
409
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -442,7 +442,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
442
442
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
443
443
|
"""
|
444
444
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
445
|
-
see https://doc.novadax.com/en-US/#get-market-depth
|
445
|
+
:see: https://doc.novadax.com/en-US/#get-market-depth
|
446
446
|
:param str symbol: unified symbol of the market to fetch the order book for
|
447
447
|
:param int [limit]: the maximum amount of order book entries to return
|
448
448
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
@@ -559,7 +559,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
559
559
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
560
560
|
"""
|
561
561
|
get the list of most recent trades for a particular symbol
|
562
|
-
see https://doc.novadax.com/en-US/#get-recent-trades
|
562
|
+
:see: https://doc.novadax.com/en-US/#get-recent-trades
|
563
563
|
:param str symbol: unified symbol of the market to fetch trades for
|
564
564
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
565
565
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -591,7 +591,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
591
591
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
592
592
|
"""
|
593
593
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
594
|
-
see https://doc.novadax.com/en-US/#get-kline-data
|
594
|
+
:see: https://doc.novadax.com/en-US/#get-kline-data
|
595
595
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
596
596
|
:param str timeframe: the length of time each candle represents
|
597
597
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -685,7 +685,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
685
685
|
async def fetch_balance(self, params={}):
|
686
686
|
"""
|
687
687
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
688
|
-
see https://doc.novadax.com/en-US/#get-account-balance
|
688
|
+
:see: https://doc.novadax.com/en-US/#get-account-balance
|
689
689
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
690
690
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
691
691
|
"""
|
@@ -710,7 +710,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
710
710
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
711
711
|
"""
|
712
712
|
create a trade order
|
713
|
-
see https://doc.novadax.com/en-US/#order-introduction
|
713
|
+
:see: https://doc.novadax.com/en-US/#order-introduction
|
714
714
|
:param str symbol: unified symbol of the market to create an order in
|
715
715
|
:param str type: 'market' or 'limit'
|
716
716
|
:param str side: 'buy' or 'sell'
|
@@ -794,7 +794,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
794
794
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
795
795
|
"""
|
796
796
|
cancels an open order
|
797
|
-
see https://doc.novadax.com/en-US/#cancel-an-order
|
797
|
+
:see: https://doc.novadax.com/en-US/#cancel-an-order
|
798
798
|
:param str id: order id
|
799
799
|
:param str symbol: not used by novadax cancelOrder()
|
800
800
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
@@ -820,7 +820,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
820
820
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
821
821
|
"""
|
822
822
|
fetches information on an order made by the user
|
823
|
-
see https://doc.novadax.com/en-US/#get-order-details
|
823
|
+
:see: https://doc.novadax.com/en-US/#get-order-details
|
824
824
|
:param str symbol: not used by novadax fetchOrder
|
825
825
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
826
826
|
:returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -857,7 +857,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
857
857
|
async def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
858
858
|
"""
|
859
859
|
fetches information on multiple orders made by the user
|
860
|
-
see https://doc.novadax.com/en-US/#get-order-history
|
860
|
+
:see: https://doc.novadax.com/en-US/#get-order-history
|
861
861
|
:param str symbol: unified market symbol of the market orders were made in
|
862
862
|
:param int [since]: the earliest time in ms to fetch orders for
|
863
863
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -912,7 +912,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
912
912
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
913
913
|
"""
|
914
914
|
fetch all unfilled currently open orders
|
915
|
-
see https://doc.novadax.com/en-US/#get-order-history
|
915
|
+
:see: https://doc.novadax.com/en-US/#get-order-history
|
916
916
|
:param str symbol: unified market symbol
|
917
917
|
:param int [since]: the earliest time in ms to fetch open orders for
|
918
918
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -927,7 +927,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
927
927
|
async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
928
928
|
"""
|
929
929
|
fetches information on multiple closed orders made by the user
|
930
|
-
see https://doc.novadax.com/en-US/#get-order-history
|
930
|
+
:see: https://doc.novadax.com/en-US/#get-order-history
|
931
931
|
:param str symbol: unified market symbol of the market orders were made in
|
932
932
|
:param int [since]: the earliest time in ms to fetch orders for
|
933
933
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -942,7 +942,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
942
942
|
async def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
943
943
|
"""
|
944
944
|
fetch all the trades made from a single order
|
945
|
-
see https://doc.novadax.com/en-US/#get-order-match-details
|
945
|
+
:see: https://doc.novadax.com/en-US/#get-order-match-details
|
946
946
|
:param str id: order id
|
947
947
|
:param str symbol: unified market symbol
|
948
948
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1070,7 +1070,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1070
1070
|
async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
1071
1071
|
"""
|
1072
1072
|
transfer currency internally between wallets on the same account
|
1073
|
-
see https://doc.novadax.com/en-US/#get-sub-account-transfer
|
1073
|
+
:see: https://doc.novadax.com/en-US/#get-sub-account-transfer
|
1074
1074
|
:param str code: unified currency code
|
1075
1075
|
:param float amount: amount to transfer
|
1076
1076
|
:param str fromAccount: account to transfer from
|
@@ -1141,7 +1141,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1141
1141
|
async def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1142
1142
|
"""
|
1143
1143
|
make a withdrawal
|
1144
|
-
see https://doc.novadax.com/en-US/#send-cryptocurrencies
|
1144
|
+
:see: https://doc.novadax.com/en-US/#send-cryptocurrencies
|
1145
1145
|
:param str code: unified currency code
|
1146
1146
|
:param float amount: the amount to withdraw
|
1147
1147
|
:param str address: the address to withdraw to
|
@@ -1172,7 +1172,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1172
1172
|
async def fetch_accounts(self, params={}):
|
1173
1173
|
"""
|
1174
1174
|
fetch all the accounts associated with a profile
|
1175
|
-
see https://doc.novadax.com/en-US/#get-sub-account-list
|
1175
|
+
:see: https://doc.novadax.com/en-US/#get-sub-account-list
|
1176
1176
|
:param dict [params]: extra parameters specific to the novadax api endpoint
|
1177
1177
|
:returns dict: a dictionary of `account structures <https://github.com/ccxt/ccxt/wiki/Manual#account-structure>` indexed by the account type
|
1178
1178
|
"""
|
@@ -1208,7 +1208,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1208
1208
|
async def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1209
1209
|
"""
|
1210
1210
|
fetch all deposits made to an account
|
1211
|
-
see https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1211
|
+
:see: https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1212
1212
|
:param str code: unified currency code
|
1213
1213
|
:param int [since]: the earliest time in ms to fetch deposits for
|
1214
1214
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -1223,7 +1223,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1223
1223
|
async def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1224
1224
|
"""
|
1225
1225
|
fetch all withdrawals made from an account
|
1226
|
-
see https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1226
|
+
:see: https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1227
1227
|
:param str code: unified currency code
|
1228
1228
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
1229
1229
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -1238,7 +1238,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1238
1238
|
async def fetch_deposits_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1239
1239
|
"""
|
1240
1240
|
fetch history of deposits and withdrawals
|
1241
|
-
see https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1241
|
+
:see: https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1242
1242
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
1243
1243
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
1244
1244
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -1370,7 +1370,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
1370
1370
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1371
1371
|
"""
|
1372
1372
|
fetch all trades made by the user
|
1373
|
-
see https://doc.novadax.com/en-US/#get-order-history
|
1373
|
+
:see: https://doc.novadax.com/en-US/#get-order-history
|
1374
1374
|
:param str symbol: unified market symbol
|
1375
1375
|
:param int [since]: the earliest time in ms to fetch trades for
|
1376
1376
|
:param int [limit]: the maximum number of trades structures to retrieve
|