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/lbank2.py
CHANGED
@@ -304,8 +304,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
304
304
|
def fetch_time(self, params={}):
|
305
305
|
"""
|
306
306
|
fetches the current integer timestamp in milliseconds from the exchange server
|
307
|
-
see https://www.lbank.info/en-US/docs/index.html#get-timestamp
|
308
|
-
see https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
|
307
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-timestamp
|
308
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#get-the-current-time
|
309
309
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
310
310
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
311
311
|
"""
|
@@ -341,8 +341,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
341
341
|
def fetch_markets(self, params={}):
|
342
342
|
"""
|
343
343
|
retrieves data on all markets for lbank2
|
344
|
-
see https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
345
|
-
see https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
|
344
|
+
:see: https://www.lbank.com/en-US/docs/index.html#trading-pairs
|
345
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#query-contract-information-list
|
346
346
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
347
347
|
:returns dict[]: an array of objects representing market data
|
348
348
|
"""
|
@@ -591,7 +591,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
591
591
|
def fetch_ticker(self, symbol: str, params={}):
|
592
592
|
"""
|
593
593
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
594
|
-
see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
594
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
595
595
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
596
596
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
597
597
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -633,8 +633,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
633
633
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
634
634
|
"""
|
635
635
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
636
|
-
see https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
637
|
-
see https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
|
636
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-current-market-data-new
|
637
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#query-contract-market-list
|
638
638
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
639
639
|
:param dict [params]: extra parameters specific to the lbank api endpoint
|
640
640
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -707,8 +707,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
707
707
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
708
708
|
"""
|
709
709
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
710
|
-
see https://www.lbank.info/en-US/docs/index.html#query-market-depth
|
711
|
-
see https://www.lbank.com/en-US/docs/contract.html#get-handicap
|
710
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-market-depth
|
711
|
+
:see: https://www.lbank.com/en-US/docs/contract.html#get-handicap
|
712
712
|
:param str symbol: unified symbol of the market to fetch the order book for
|
713
713
|
:param int [limit]: the maximum amount of order book entries to return
|
714
714
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
@@ -880,8 +880,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
880
880
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
881
881
|
"""
|
882
882
|
get the list of most recent trades for a particular symbol
|
883
|
-
see https://www.lbank.info/en-US/docs/index.html#query-historical-transactions
|
884
|
-
see https://www.lbank.info/en-US/docs/index.html#recent-transactions-list
|
883
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-historical-transactions
|
884
|
+
:see: https://www.lbank.info/en-US/docs/index.html#recent-transactions-list
|
885
885
|
:param str symbol: unified symbol of the market to fetch trades for
|
886
886
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
887
887
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -947,7 +947,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
947
947
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
948
948
|
"""
|
949
949
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
950
|
-
see https://www.lbank.info/en-US/docs/index.html#query-k-bar-data
|
950
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-k-bar-data
|
951
951
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
952
952
|
:param str timeframe: the length of time each candle represents
|
953
953
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1122,9 +1122,9 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1122
1122
|
def fetch_balance(self, params={}):
|
1123
1123
|
"""
|
1124
1124
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1125
|
-
see https://www.lbank.info/en-US/docs/index.html#asset-information
|
1126
|
-
see https://www.lbank.info/en-US/docs/index.html#account-information
|
1127
|
-
see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
1125
|
+
:see: https://www.lbank.info/en-US/docs/index.html#asset-information
|
1126
|
+
:see: https://www.lbank.info/en-US/docs/index.html#account-information
|
1127
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
1128
1128
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1129
1129
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1130
1130
|
"""
|
@@ -1186,7 +1186,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1186
1186
|
def fetch_trading_fee(self, symbol: str, params={}):
|
1187
1187
|
"""
|
1188
1188
|
fetch the trading fees for a market
|
1189
|
-
see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1189
|
+
:see: https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1190
1190
|
:param str symbol: unified market symbol
|
1191
1191
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1192
1192
|
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1198,7 +1198,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1198
1198
|
def fetch_trading_fees(self, params={}):
|
1199
1199
|
"""
|
1200
1200
|
fetch the trading fees for multiple markets
|
1201
|
-
see https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1201
|
+
:see: https://www.lbank.info/en-US/docs/index.html#transaction-fee-rate-query
|
1202
1202
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1203
1203
|
:returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
|
1204
1204
|
"""
|
@@ -1216,8 +1216,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1216
1216
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1217
1217
|
"""
|
1218
1218
|
create a trade order
|
1219
|
-
see https://www.lbank.info/en-US/docs/index.html#place-order
|
1220
|
-
see https://www.lbank.info/en-US/docs/index.html#place-an-order
|
1219
|
+
:see: https://www.lbank.info/en-US/docs/index.html#place-order
|
1220
|
+
:see: https://www.lbank.info/en-US/docs/index.html#place-an-order
|
1221
1221
|
:param str symbol: unified symbol of the market to create an order in
|
1222
1222
|
:param str type: 'market' or 'limit'
|
1223
1223
|
:param str side: 'buy' or 'sell'
|
@@ -1427,8 +1427,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1427
1427
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1428
1428
|
"""
|
1429
1429
|
fetches information on an order made by the user
|
1430
|
-
see https://www.lbank.info/en-US/docs/index.html#query-order
|
1431
|
-
see https://www.lbank.info/en-US/docs/index.html#query-order-new
|
1430
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-order
|
1431
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-order-new
|
1432
1432
|
:param str symbol: unified symbol of the market the order was made in
|
1433
1433
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1434
1434
|
:returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1521,7 +1521,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1521
1521
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1522
1522
|
"""
|
1523
1523
|
fetch all trades made by the user
|
1524
|
-
see https://www.lbank.info/en-US/docs/index.html#past-transaction-details
|
1524
|
+
:see: https://www.lbank.info/en-US/docs/index.html#past-transaction-details
|
1525
1525
|
:param str symbol: unified market symbol
|
1526
1526
|
:param int [since]: the earliest time in ms to fetch trades for
|
1527
1527
|
:param int [limit]: the maximum number of trade structures to retrieve
|
@@ -1574,7 +1574,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1574
1574
|
def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1575
1575
|
"""
|
1576
1576
|
fetches information on multiple orders made by the user
|
1577
|
-
see https://www.lbank.info/en-US/docs/index.html#query-all-orders
|
1577
|
+
:see: https://www.lbank.info/en-US/docs/index.html#query-all-orders
|
1578
1578
|
:param str symbol: unified market symbol of the market orders were made in
|
1579
1579
|
:param int [since]: the earliest time in ms to fetch orders for
|
1580
1580
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1629,7 +1629,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1629
1629
|
def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1630
1630
|
"""
|
1631
1631
|
fetch all unfilled currently open orders
|
1632
|
-
see https://www.lbank.info/en-US/docs/index.html#current-pending-order
|
1632
|
+
:see: https://www.lbank.info/en-US/docs/index.html#current-pending-order
|
1633
1633
|
:param str symbol: unified market symbol
|
1634
1634
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1635
1635
|
:param int [limit]: the maximum number of open order structures to retrieve
|
@@ -1681,7 +1681,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1681
1681
|
def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1682
1682
|
"""
|
1683
1683
|
cancels an open order
|
1684
|
-
see https://www.lbank.info/en-US/docs/index.html#cancel-order-new
|
1684
|
+
:see: https://www.lbank.info/en-US/docs/index.html#cancel-order-new
|
1685
1685
|
:param str id: order id
|
1686
1686
|
:param str symbol: unified symbol of the market the order was made in
|
1687
1687
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
@@ -1718,7 +1718,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1718
1718
|
def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
|
1719
1719
|
"""
|
1720
1720
|
cancel all open orders in a market
|
1721
|
-
see https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
|
1721
|
+
:see: https://www.lbank.info/en-US/docs/index.html#cancel-all-pending-orders-for-a-single-trading-pair
|
1722
1722
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1723
1723
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1724
1724
|
:returns dict[]: a list of `order structures <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1761,8 +1761,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1761
1761
|
def fetch_deposit_address(self, code: str, params={}):
|
1762
1762
|
"""
|
1763
1763
|
fetch the deposit address for a currency associated with self account
|
1764
|
-
see https://www.lbank.info/en-US/docs/index.html#get-deposit-address
|
1765
|
-
see https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
|
1764
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-deposit-address
|
1765
|
+
:see: https://www.lbank.info/en-US/docs/index.html#the-user-obtains-the-deposit-address
|
1766
1766
|
:param str code: unified currency code
|
1767
1767
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
1768
1768
|
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
@@ -1855,7 +1855,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
1855
1855
|
def withdraw(self, code: str, amount, address, tag=None, params={}):
|
1856
1856
|
"""
|
1857
1857
|
make a withdrawal
|
1858
|
-
see https://www.lbank.info/en-US/docs/index.html#withdrawal
|
1858
|
+
:see: https://www.lbank.info/en-US/docs/index.html#withdrawal
|
1859
1859
|
:param str code: unified currency code
|
1860
1860
|
:param float amount: the amount to withdraw
|
1861
1861
|
:param str address: the address to withdraw to
|
@@ -2012,7 +2012,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2012
2012
|
def fetch_deposits(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2013
2013
|
"""
|
2014
2014
|
fetch all deposits made to an account
|
2015
|
-
see https://www.lbank.info/en-US/docs/index.html#get-recharge-history
|
2015
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-recharge-history
|
2016
2016
|
:param str code: unified currency code
|
2017
2017
|
:param int [since]: the earliest time in ms to fetch deposits for
|
2018
2018
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -2061,7 +2061,7 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2061
2061
|
def fetch_withdrawals(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2062
2062
|
"""
|
2063
2063
|
fetch all withdrawals made from an account
|
2064
|
-
see https://www.lbank.info/en-US/docs/index.html#get-withdrawal-history
|
2064
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-withdrawal-history
|
2065
2065
|
:param str code: unified currency code
|
2066
2066
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
2067
2067
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -2247,8 +2247,8 @@ class lbank2(Exchange, ImplicitAPI):
|
|
2247
2247
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2248
2248
|
"""
|
2249
2249
|
when using private endpoint, only returns information for currencies with non-zero balance, use public method by specifying self.options['fetchDepositWithdrawFees']['method'] = 'fetchPublicDepositWithdrawFees'
|
2250
|
-
see https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
2251
|
-
see https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
|
2250
|
+
:see: https://www.lbank.info/en-US/docs/index.html#get-all-coins-information
|
2251
|
+
:see: https://www.lbank.info/en-US/docs/index.html#withdrawal-configurations
|
2252
2252
|
:param str[]|None codes: array of unified currency codes
|
2253
2253
|
:param dict [params]: extra parameters specific to the lbank2 api endpoint
|
2254
2254
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/mexc.py
CHANGED
@@ -893,7 +893,7 @@ class mexc(Exchange, ImplicitAPI):
|
|
893
893
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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/ndax.py
CHANGED
@@ -1927,7 +1927,7 @@ class ndax(Exchange, ImplicitAPI):
|
|
1927
1927
|
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/novadax.py
CHANGED
@@ -215,7 +215,7 @@ class novadax(Exchange, ImplicitAPI):
|
|
215
215
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|