ccxt 4.4.30__py2.py3-none-any.whl → 4.4.31__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/ace.py +36 -12
- ccxt/alpaca.py +62 -22
- ccxt/ascendex.py +65 -30
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +36 -12
- ccxt/async_support/alpaca.py +62 -22
- ccxt/async_support/ascendex.py +65 -30
- ccxt/async_support/base/exchange.py +3 -3
- ccxt/async_support/bigone.py +71 -27
- ccxt/async_support/binance.py +555 -323
- ccxt/async_support/bingx.py +208 -108
- ccxt/async_support/bit2c.py +34 -12
- ccxt/async_support/bitbank.py +42 -14
- ccxt/async_support/bitbns.py +17 -9
- ccxt/async_support/bitfinex.py +68 -24
- ccxt/async_support/bitfinex2.py +116 -44
- ccxt/async_support/bitflyer.py +54 -18
- ccxt/async_support/bitget.py +277 -145
- ccxt/async_support/bithumb.py +39 -14
- ccxt/async_support/bitmart.py +145 -79
- ccxt/async_support/bitmex.py +90 -30
- ccxt/async_support/bitopro.py +66 -22
- ccxt/async_support/bitrue.py +109 -57
- ccxt/async_support/bitso.py +55 -19
- ccxt/async_support/bitstamp.py +84 -36
- ccxt/async_support/bitteam.py +51 -17
- ccxt/async_support/bitvavo.py +57 -19
- ccxt/async_support/bl3p.py +26 -10
- ccxt/async_support/blockchaincom.py +63 -21
- ccxt/async_support/blofin.py +95 -38
- ccxt/async_support/btcalpha.py +48 -16
- ccxt/async_support/btcbox.py +27 -9
- ccxt/async_support/btcmarkets.py +57 -19
- ccxt/async_support/btcturk.py +36 -12
- ccxt/async_support/bybit.py +251 -95
- ccxt/async_support/cex.py +65 -22
- ccxt/async_support/coinbase.py +138 -56
- ccxt/async_support/coinbaseexchange.py +76 -28
- ccxt/async_support/coinbaseinternational.py +75 -27
- ccxt/async_support/coincatch.py +191 -97
- ccxt/async_support/coincheck.py +33 -11
- ccxt/async_support/coinex.py +212 -101
- ccxt/async_support/coinlist.py +87 -30
- ccxt/async_support/coinmate.py +55 -24
- ccxt/async_support/coinmetro.py +52 -18
- ccxt/async_support/coinone.py +27 -10
- ccxt/async_support/coinsph.py +73 -27
- ccxt/async_support/coinspot.py +25 -9
- ccxt/async_support/cryptocom.py +103 -38
- ccxt/async_support/currencycom.py +70 -23
- ccxt/async_support/delta.py +90 -30
- ccxt/async_support/deribit.py +131 -50
- ccxt/async_support/digifinex.py +114 -51
- ccxt/async_support/exmo.py +104 -45
- ccxt/async_support/gate.py +298 -155
- ccxt/async_support/gemini.py +57 -20
- ccxt/async_support/hashkey.py +151 -66
- ccxt/async_support/hitbtc.py +156 -73
- ccxt/async_support/hollaex.py +76 -25
- ccxt/async_support/htx.py +297 -240
- ccxt/async_support/huobijp.py +1 -0
- ccxt/async_support/hyperliquid.py +94 -38
- ccxt/async_support/idex.py +73 -24
- ccxt/async_support/independentreserve.py +12 -5
- ccxt/async_support/indodax.py +53 -16
- ccxt/async_support/kraken.py +107 -35
- ccxt/async_support/krakenfutures.py +88 -34
- ccxt/async_support/kucoin.py +211 -109
- ccxt/async_support/kucoinfutures.py +119 -42
- ccxt/async_support/kuna.py +80 -39
- ccxt/async_support/latoken.py +70 -33
- ccxt/async_support/lbank.py +89 -38
- ccxt/async_support/luno.py +54 -19
- ccxt/async_support/lykke.py +54 -19
- ccxt/async_support/mercado.py +1 -0
- ccxt/async_support/mexc.py +226 -108
- ccxt/async_support/ndax.py +58 -19
- ccxt/async_support/novadax.py +67 -22
- ccxt/async_support/oceanex.py +58 -19
- ccxt/async_support/okcoin.py +81 -38
- ccxt/async_support/okx.py +270 -109
- ccxt/async_support/onetrading.py +3 -1
- ccxt/async_support/oxfun.py +95 -36
- ccxt/async_support/p2b.py +49 -23
- ccxt/async_support/paradex.py +75 -27
- ccxt/async_support/paymium.py +31 -11
- ccxt/async_support/phemex.py +91 -41
- ccxt/async_support/poloniex.py +80 -30
- ccxt/async_support/poloniexfutures.py +72 -30
- ccxt/async_support/probit.py +64 -22
- ccxt/async_support/timex.py +58 -19
- ccxt/async_support/tokocrypto.py +63 -22
- ccxt/async_support/tradeogre.py +7 -2
- ccxt/async_support/upbit.py +72 -25
- ccxt/async_support/vertex.py +74 -28
- ccxt/async_support/wavesexchange.py +29 -8
- ccxt/async_support/wazirx.py +51 -17
- ccxt/async_support/whitebit.py +105 -41
- ccxt/async_support/woo.py +162 -65
- ccxt/async_support/woofipro.py +118 -49
- ccxt/async_support/xt.py +150 -73
- ccxt/async_support/yobit.py +49 -16
- ccxt/async_support/zaif.py +30 -10
- ccxt/async_support/zonda.py +46 -16
- ccxt/base/exchange.py +34 -34
- ccxt/base/types.py +1 -0
- ccxt/bigone.py +71 -27
- ccxt/binance.py +555 -323
- ccxt/bingx.py +208 -108
- ccxt/bit2c.py +34 -12
- ccxt/bitbank.py +42 -14
- ccxt/bitbns.py +17 -9
- ccxt/bitfinex.py +68 -24
- ccxt/bitfinex2.py +116 -44
- ccxt/bitflyer.py +54 -18
- ccxt/bitget.py +277 -145
- ccxt/bithumb.py +39 -14
- ccxt/bitmart.py +145 -79
- ccxt/bitmex.py +90 -30
- ccxt/bitopro.py +66 -22
- ccxt/bitrue.py +109 -57
- ccxt/bitso.py +55 -19
- ccxt/bitstamp.py +84 -36
- ccxt/bitteam.py +51 -17
- ccxt/bitvavo.py +57 -19
- ccxt/bl3p.py +26 -10
- ccxt/blockchaincom.py +63 -21
- ccxt/blofin.py +95 -38
- ccxt/btcalpha.py +48 -16
- ccxt/btcbox.py +27 -9
- ccxt/btcmarkets.py +57 -19
- ccxt/btcturk.py +36 -12
- ccxt/bybit.py +251 -95
- ccxt/cex.py +65 -22
- ccxt/coinbase.py +138 -56
- ccxt/coinbaseexchange.py +76 -28
- ccxt/coinbaseinternational.py +75 -27
- ccxt/coincatch.py +191 -97
- ccxt/coincheck.py +33 -11
- ccxt/coinex.py +212 -101
- ccxt/coinlist.py +87 -30
- ccxt/coinmate.py +55 -24
- ccxt/coinmetro.py +52 -18
- ccxt/coinone.py +27 -10
- ccxt/coinsph.py +73 -27
- ccxt/coinspot.py +25 -9
- ccxt/cryptocom.py +103 -38
- ccxt/currencycom.py +70 -23
- ccxt/delta.py +90 -30
- ccxt/deribit.py +131 -50
- ccxt/digifinex.py +114 -51
- ccxt/exmo.py +104 -45
- ccxt/gate.py +298 -155
- ccxt/gemini.py +57 -20
- ccxt/hashkey.py +151 -66
- ccxt/hitbtc.py +156 -73
- ccxt/hollaex.py +76 -25
- ccxt/htx.py +297 -240
- ccxt/huobijp.py +1 -0
- ccxt/hyperliquid.py +94 -38
- ccxt/idex.py +73 -24
- ccxt/independentreserve.py +12 -5
- ccxt/indodax.py +53 -16
- ccxt/kraken.py +107 -35
- ccxt/krakenfutures.py +88 -34
- ccxt/kucoin.py +211 -109
- ccxt/kucoinfutures.py +119 -42
- ccxt/kuna.py +80 -39
- ccxt/latoken.py +70 -33
- ccxt/lbank.py +89 -38
- ccxt/luno.py +54 -19
- ccxt/lykke.py +54 -19
- ccxt/mercado.py +1 -0
- ccxt/mexc.py +226 -108
- ccxt/ndax.py +58 -19
- ccxt/novadax.py +67 -22
- ccxt/oceanex.py +58 -19
- ccxt/okcoin.py +81 -38
- ccxt/okx.py +270 -109
- ccxt/onetrading.py +3 -1
- ccxt/oxfun.py +95 -36
- ccxt/p2b.py +49 -23
- ccxt/paradex.py +75 -27
- ccxt/paymium.py +31 -11
- ccxt/phemex.py +91 -41
- ccxt/poloniex.py +80 -30
- ccxt/poloniexfutures.py +72 -30
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/alpaca.py +15 -5
- ccxt/pro/ascendex.py +18 -6
- ccxt/pro/binance.py +200 -119
- ccxt/pro/bingx.py +44 -24
- ccxt/pro/bitfinex.py +13 -5
- ccxt/pro/bitget.py +75 -36
- ccxt/pro/bithumb.py +12 -4
- ccxt/pro/bitmart.py +44 -20
- ccxt/pro/bitmex.py +42 -14
- ccxt/pro/bitopro.py +15 -5
- ccxt/pro/bitrue.py +7 -3
- ccxt/pro/bitvavo.py +51 -17
- ccxt/pro/blockchaincom.py +18 -6
- ccxt/pro/blofin.py +36 -12
- ccxt/pro/bybit.py +100 -42
- ccxt/pro/cex.py +48 -16
- ccxt/pro/coinbase.py +32 -12
- ccxt/pro/coinbaseexchange.py +1 -1
- ccxt/pro/coinbaseinternational.py +34 -14
- ccxt/pro/coincatch.py +54 -19
- ccxt/pro/coincheck.py +6 -2
- ccxt/pro/coinex.py +40 -20
- ccxt/pro/coinone.py +9 -3
- ccxt/pro/cryptocom.py +70 -26
- ccxt/pro/deribit.py +36 -12
- ccxt/pro/exmo.py +10 -4
- ccxt/pro/gate.py +64 -30
- ccxt/pro/gemini.py +21 -7
- ccxt/pro/hashkey.py +26 -8
- ccxt/pro/hitbtc.py +61 -37
- ccxt/pro/hollaex.py +15 -5
- ccxt/pro/htx.py +39 -21
- ccxt/pro/hyperliquid.py +41 -14
- ccxt/pro/kraken.py +49 -17
- ccxt/pro/krakenfutures.py +47 -24
- ccxt/pro/kucoin.py +60 -31
- ccxt/pro/kucoinfutures.py +41 -19
- ccxt/pro/lbank.py +27 -9
- ccxt/pro/luno.py +3 -1
- ccxt/pro/mexc.py +35 -17
- ccxt/pro/ndax.py +12 -4
- ccxt/pro/okcoin.py +18 -6
- ccxt/pro/okx.py +76 -28
- ccxt/pro/onetrading.py +21 -7
- ccxt/pro/oxfun.py +54 -20
- ccxt/pro/p2b.py +23 -11
- ccxt/pro/paradex.py +12 -4
- ccxt/pro/phemex.py +31 -19
- ccxt/pro/poloniex.py +50 -22
- ccxt/pro/poloniexfutures.py +17 -7
- ccxt/pro/probit.py +18 -6
- ccxt/pro/upbit.py +25 -9
- ccxt/pro/vertex.py +20 -6
- ccxt/pro/wazirx.py +21 -7
- ccxt/pro/whitebit.py +25 -9
- ccxt/pro/woo.py +32 -12
- ccxt/pro/woofipro.py +35 -13
- ccxt/pro/xt.py +46 -26
- ccxt/probit.py +64 -22
- ccxt/timex.py +58 -19
- ccxt/tokocrypto.py +63 -22
- ccxt/tradeogre.py +7 -2
- ccxt/upbit.py +72 -25
- ccxt/vertex.py +74 -28
- ccxt/wavesexchange.py +29 -8
- ccxt/wazirx.py +51 -17
- ccxt/whitebit.py +105 -41
- ccxt/woo.py +162 -65
- ccxt/woofipro.py +118 -49
- ccxt/xt.py +150 -73
- ccxt/yobit.py +49 -16
- ccxt/zaif.py +30 -10
- ccxt/zonda.py +46 -16
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/METADATA +5 -5
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/RECORD +267 -267
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/LICENSE.txt +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/WHEEL +0 -0
- {ccxt-4.4.30.dist-info → ccxt-4.4.31.dist-info}/top_level.txt +0 -0
ccxt/async_support/ndax.py
CHANGED
@@ -317,7 +317,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
317
317
|
async def sign_in(self, params={}):
|
318
318
|
"""
|
319
319
|
sign in, must be called prior to using other authenticated methods
|
320
|
-
|
320
|
+
|
321
|
+
https://apidoc.ndax.io/#authenticate2fa
|
322
|
+
|
321
323
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
322
324
|
:returns: response from exchange
|
323
325
|
"""
|
@@ -365,7 +367,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
365
367
|
async def fetch_currencies(self, params={}) -> Currencies:
|
366
368
|
"""
|
367
369
|
fetches all available currencies on an exchange
|
368
|
-
|
370
|
+
|
371
|
+
https://apidoc.ndax.io/#getproduct
|
372
|
+
|
369
373
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
370
374
|
:returns dict: an associative dictionary of currencies
|
371
375
|
"""
|
@@ -431,7 +435,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
431
435
|
async def fetch_markets(self, params={}) -> List[Market]:
|
432
436
|
"""
|
433
437
|
retrieves data on all markets for ndax
|
434
|
-
|
438
|
+
|
439
|
+
https://apidoc.ndax.io/#getinstruments
|
440
|
+
|
435
441
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
436
442
|
:returns dict[]: an array of objects representing market data
|
437
443
|
"""
|
@@ -584,7 +590,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
584
590
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
585
591
|
"""
|
586
592
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
587
|
-
|
593
|
+
|
594
|
+
https://apidoc.ndax.io/#getl2snapshot
|
595
|
+
|
588
596
|
:param str symbol: unified symbol of the market to fetch the order book for
|
589
597
|
:param int [limit]: the maximum amount of order book entries to return
|
590
598
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -693,7 +701,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
693
701
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
694
702
|
"""
|
695
703
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
696
|
-
|
704
|
+
|
705
|
+
https://apidoc.ndax.io/#getlevel1
|
706
|
+
|
697
707
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
698
708
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
699
709
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -764,7 +774,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
764
774
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
765
775
|
"""
|
766
776
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
767
|
-
|
777
|
+
|
778
|
+
https://apidoc.ndax.io/#gettickerhistory
|
779
|
+
|
768
780
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
769
781
|
:param str timeframe: the length of time each candle represents
|
770
782
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -998,7 +1010,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
998
1010
|
async def fetch_accounts(self, params={}) -> List[Account]:
|
999
1011
|
"""
|
1000
1012
|
fetch all the accounts associated with a profile
|
1001
|
-
|
1013
|
+
|
1014
|
+
https://apidoc.ndax.io/#getuseraccounts
|
1015
|
+
|
1002
1016
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1003
1017
|
:returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
|
1004
1018
|
"""
|
@@ -1046,7 +1060,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1046
1060
|
async def fetch_balance(self, params={}) -> Balances:
|
1047
1061
|
"""
|
1048
1062
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1049
|
-
|
1063
|
+
|
1064
|
+
https://apidoc.ndax.io/#getaccountpositions
|
1065
|
+
|
1050
1066
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1051
1067
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
1052
1068
|
"""
|
@@ -1169,7 +1185,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1169
1185
|
async def fetch_ledger(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[LedgerEntry]:
|
1170
1186
|
"""
|
1171
1187
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
1172
|
-
|
1188
|
+
|
1189
|
+
https://apidoc.ndax.io/#getaccounttransactions
|
1190
|
+
|
1173
1191
|
:param str [code]: unified currency code, default is None
|
1174
1192
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
1175
1193
|
:param int [limit]: max number of ledger entries to return, default is None
|
@@ -1320,7 +1338,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1320
1338
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
1321
1339
|
"""
|
1322
1340
|
create a trade order
|
1323
|
-
|
1341
|
+
|
1342
|
+
https://apidoc.ndax.io/#sendorder
|
1343
|
+
|
1324
1344
|
:param str symbol: unified symbol of the market to create an order in
|
1325
1345
|
:param str type: 'market' or 'limit'
|
1326
1346
|
:param str side: 'buy' or 'sell'
|
@@ -1429,7 +1449,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1429
1449
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1430
1450
|
"""
|
1431
1451
|
fetch all trades made by the user
|
1432
|
-
|
1452
|
+
|
1453
|
+
https://apidoc.ndax.io/#gettradeshistory
|
1454
|
+
|
1433
1455
|
:param str symbol: unified market symbol
|
1434
1456
|
:param int [since]: the earliest time in ms to fetch trades for
|
1435
1457
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -1512,7 +1534,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1512
1534
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
1513
1535
|
"""
|
1514
1536
|
cancel all open orders
|
1515
|
-
|
1537
|
+
|
1538
|
+
https://apidoc.ndax.io/#cancelallorders
|
1539
|
+
|
1516
1540
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
1517
1541
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1518
1542
|
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1548,7 +1572,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1548
1572
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
1549
1573
|
"""
|
1550
1574
|
cancels an open order
|
1551
|
-
|
1575
|
+
|
1576
|
+
https://apidoc.ndax.io/#cancelorder
|
1577
|
+
|
1552
1578
|
:param str id: order id
|
1553
1579
|
:param str symbol: unified symbol of the market the order was made in
|
1554
1580
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -1583,7 +1609,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1583
1609
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1584
1610
|
"""
|
1585
1611
|
fetch all unfilled currently open orders
|
1586
|
-
|
1612
|
+
|
1613
|
+
https://apidoc.ndax.io/#getopenorders
|
1614
|
+
|
1587
1615
|
:param str symbol: unified market symbol
|
1588
1616
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1589
1617
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1659,7 +1687,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1659
1687
|
async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
1660
1688
|
"""
|
1661
1689
|
fetches information on multiple orders made by the user
|
1662
|
-
|
1690
|
+
|
1691
|
+
https://apidoc.ndax.io/#getorderhistory
|
1692
|
+
|
1663
1693
|
:param str symbol: unified market symbol of the market orders were made in
|
1664
1694
|
:param int [since]: the earliest time in ms to fetch orders for
|
1665
1695
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -1749,7 +1779,10 @@ class ndax(Exchange, ImplicitAPI):
|
|
1749
1779
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
1750
1780
|
"""
|
1751
1781
|
fetches information on an order made by the user
|
1752
|
-
|
1782
|
+
|
1783
|
+
https://apidoc.ndax.io/#getorderstatus
|
1784
|
+
|
1785
|
+
:param str id: order id
|
1753
1786
|
:param str symbol: unified symbol of the market the order was made in
|
1754
1787
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1755
1788
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -1822,7 +1855,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1822
1855
|
async def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1823
1856
|
"""
|
1824
1857
|
fetch all the trades made from a single order
|
1825
|
-
|
1858
|
+
|
1859
|
+
https://apidoc.ndax.io/#getorderhistorybyorderid
|
1860
|
+
|
1826
1861
|
:param str id: order id
|
1827
1862
|
:param str symbol: unified market symbol
|
1828
1863
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1983,7 +2018,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
1983
2018
|
async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1984
2019
|
"""
|
1985
2020
|
fetch all deposits made to an account
|
1986
|
-
|
2021
|
+
|
2022
|
+
https://apidoc.ndax.io/#getdeposits
|
2023
|
+
|
1987
2024
|
:param str code: unified currency code
|
1988
2025
|
:param int [since]: not used by ndax fetchDeposits
|
1989
2026
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -2039,7 +2076,9 @@ class ndax(Exchange, ImplicitAPI):
|
|
2039
2076
|
async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
2040
2077
|
"""
|
2041
2078
|
fetch all withdrawals made from an account
|
2042
|
-
|
2079
|
+
|
2080
|
+
https://apidoc.ndax.io/#getwithdraws
|
2081
|
+
|
2043
2082
|
:param str code: unified currency code
|
2044
2083
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
2045
2084
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
ccxt/async_support/novadax.py
CHANGED
@@ -228,7 +228,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
228
228
|
async def fetch_time(self, params={}):
|
229
229
|
"""
|
230
230
|
fetches the current integer timestamp in milliseconds from the exchange server
|
231
|
-
|
231
|
+
|
232
|
+
https://doc.novadax.com/en-US/#get-current-system-time
|
233
|
+
|
232
234
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
233
235
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
234
236
|
"""
|
@@ -245,7 +247,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
245
247
|
async def fetch_markets(self, params={}) -> List[Market]:
|
246
248
|
"""
|
247
249
|
retrieves data on all markets for novadax
|
248
|
-
|
250
|
+
|
251
|
+
https://doc.novadax.com/en-US/#get-all-supported-trading-symbol
|
252
|
+
|
249
253
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
250
254
|
:returns dict[]: an array of objects representing market data
|
251
255
|
"""
|
@@ -380,7 +384,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
380
384
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
381
385
|
"""
|
382
386
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
383
|
-
|
387
|
+
|
388
|
+
https://doc.novadax.com/en-US/#get-latest-ticker-for-specific-pair
|
389
|
+
|
384
390
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
385
391
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
386
392
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -415,7 +421,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
415
421
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
416
422
|
"""
|
417
423
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
418
|
-
|
424
|
+
|
425
|
+
https://doc.novadax.com/en-US/#get-latest-tickers-for-all-trading-pairs
|
426
|
+
|
419
427
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
420
428
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
421
429
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -454,7 +462,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
454
462
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
455
463
|
"""
|
456
464
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
457
|
-
|
465
|
+
|
466
|
+
https://doc.novadax.com/en-US/#get-market-depth
|
467
|
+
|
458
468
|
:param str symbol: unified symbol of the market to fetch the order book for
|
459
469
|
:param int [limit]: the maximum amount of order book entries to return
|
460
470
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -571,7 +581,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
571
581
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
572
582
|
"""
|
573
583
|
get the list of most recent trades for a particular symbol
|
574
|
-
|
584
|
+
|
585
|
+
https://doc.novadax.com/en-US/#get-recent-trades
|
586
|
+
|
575
587
|
:param str symbol: unified symbol of the market to fetch trades for
|
576
588
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
577
589
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -603,7 +615,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
603
615
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
604
616
|
"""
|
605
617
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
606
|
-
|
618
|
+
|
619
|
+
https://doc.novadax.com/en-US/#get-kline-data
|
620
|
+
|
607
621
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
608
622
|
:param str timeframe: the length of time each candle represents
|
609
623
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -697,7 +711,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
697
711
|
async def fetch_balance(self, params={}) -> Balances:
|
698
712
|
"""
|
699
713
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
700
|
-
|
714
|
+
|
715
|
+
https://doc.novadax.com/en-US/#get-account-balance
|
716
|
+
|
701
717
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
702
718
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
703
719
|
"""
|
@@ -722,7 +738,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
722
738
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
723
739
|
"""
|
724
740
|
create a trade order
|
725
|
-
|
741
|
+
|
742
|
+
https://doc.novadax.com/en-US/#order-introduction
|
743
|
+
|
726
744
|
:param str symbol: unified symbol of the market to create an order in
|
727
745
|
:param str type: 'market' or 'limit'
|
728
746
|
:param str side: 'buy' or 'sell'
|
@@ -814,7 +832,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
814
832
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
815
833
|
"""
|
816
834
|
cancels an open order
|
817
|
-
|
835
|
+
|
836
|
+
https://doc.novadax.com/en-US/#cancel-an-order
|
837
|
+
|
818
838
|
:param str id: order id
|
819
839
|
:param str symbol: not used by novadax cancelOrder()
|
820
840
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -840,7 +860,10 @@ class novadax(Exchange, ImplicitAPI):
|
|
840
860
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
841
861
|
"""
|
842
862
|
fetches information on an order made by the user
|
843
|
-
|
863
|
+
|
864
|
+
https://doc.novadax.com/en-US/#get-order-details
|
865
|
+
|
866
|
+
:param str id: order id
|
844
867
|
:param str symbol: not used by novadax fetchOrder
|
845
868
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
846
869
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -877,7 +900,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
877
900
|
async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
878
901
|
"""
|
879
902
|
fetches information on multiple orders made by the user
|
880
|
-
|
903
|
+
|
904
|
+
https://doc.novadax.com/en-US/#get-order-history
|
905
|
+
|
881
906
|
:param str symbol: unified market symbol of the market orders were made in
|
882
907
|
:param int [since]: the earliest time in ms to fetch orders for
|
883
908
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -932,7 +957,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
932
957
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
933
958
|
"""
|
934
959
|
fetch all unfilled currently open orders
|
935
|
-
|
960
|
+
|
961
|
+
https://doc.novadax.com/en-US/#get-order-history
|
962
|
+
|
936
963
|
:param str symbol: unified market symbol
|
937
964
|
:param int [since]: the earliest time in ms to fetch open orders for
|
938
965
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -947,7 +974,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
947
974
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
948
975
|
"""
|
949
976
|
fetches information on multiple closed orders made by the user
|
950
|
-
|
977
|
+
|
978
|
+
https://doc.novadax.com/en-US/#get-order-history
|
979
|
+
|
951
980
|
:param str symbol: unified market symbol of the market orders were made in
|
952
981
|
:param int [since]: the earliest time in ms to fetch orders for
|
953
982
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -962,7 +991,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
962
991
|
async def fetch_order_trades(self, id: str, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
963
992
|
"""
|
964
993
|
fetch all the trades made from a single order
|
965
|
-
|
994
|
+
|
995
|
+
https://doc.novadax.com/en-US/#get-order-match-details
|
996
|
+
|
966
997
|
:param str id: order id
|
967
998
|
:param str symbol: unified market symbol
|
968
999
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1090,7 +1121,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1090
1121
|
async def transfer(self, code: str, amount: float, fromAccount: str, toAccount: str, params={}) -> TransferEntry:
|
1091
1122
|
"""
|
1092
1123
|
transfer currency internally between wallets on the same account
|
1093
|
-
|
1124
|
+
|
1125
|
+
https://doc.novadax.com/en-US/#get-sub-account-transfer
|
1126
|
+
|
1094
1127
|
:param str code: unified currency code
|
1095
1128
|
:param float amount: amount to transfer
|
1096
1129
|
:param str fromAccount: account to transfer from
|
@@ -1160,7 +1193,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1160
1193
|
async def withdraw(self, code: str, amount: float, address: str, tag=None, params={}) -> Transaction:
|
1161
1194
|
"""
|
1162
1195
|
make a withdrawal
|
1163
|
-
|
1196
|
+
|
1197
|
+
https://doc.novadax.com/en-US/#send-cryptocurrencies
|
1198
|
+
|
1164
1199
|
:param str code: unified currency code
|
1165
1200
|
:param float amount: the amount to withdraw
|
1166
1201
|
:param str address: the address to withdraw to
|
@@ -1191,7 +1226,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1191
1226
|
async def fetch_accounts(self, params={}) -> List[Account]:
|
1192
1227
|
"""
|
1193
1228
|
fetch all the accounts associated with a profile
|
1194
|
-
|
1229
|
+
|
1230
|
+
https://doc.novadax.com/en-US/#get-sub-account-list
|
1231
|
+
|
1195
1232
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
1196
1233
|
:returns dict: a dictionary of `account structures <https://docs.ccxt.com/#/?id=account-structure>` indexed by the account type
|
1197
1234
|
"""
|
@@ -1227,7 +1264,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1227
1264
|
async def fetch_deposits(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1228
1265
|
"""
|
1229
1266
|
fetch all deposits made to an account
|
1230
|
-
|
1267
|
+
|
1268
|
+
https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1269
|
+
|
1231
1270
|
:param str code: unified currency code
|
1232
1271
|
:param int [since]: the earliest time in ms to fetch deposits for
|
1233
1272
|
:param int [limit]: the maximum number of deposits structures to retrieve
|
@@ -1242,7 +1281,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1242
1281
|
async def fetch_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1243
1282
|
"""
|
1244
1283
|
fetch all withdrawals made from an account
|
1245
|
-
|
1284
|
+
|
1285
|
+
https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1286
|
+
|
1246
1287
|
:param str code: unified currency code
|
1247
1288
|
:param int [since]: the earliest time in ms to fetch withdrawals for
|
1248
1289
|
:param int [limit]: the maximum number of withdrawals structures to retrieve
|
@@ -1257,7 +1298,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1257
1298
|
async def fetch_deposits_withdrawals(self, code: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Transaction]:
|
1258
1299
|
"""
|
1259
1300
|
fetch history of deposits and withdrawals
|
1260
|
-
|
1301
|
+
|
1302
|
+
https://doc.novadax.com/en-US/#wallet-records-of-deposits-and-withdraws
|
1303
|
+
|
1261
1304
|
:param str [code]: unified currency code for the currency of the deposit/withdrawals, default is None
|
1262
1305
|
:param int [since]: timestamp in ms of the earliest deposit/withdrawal, default is None
|
1263
1306
|
:param int [limit]: max number of deposit/withdrawals to return, default is None
|
@@ -1390,7 +1433,9 @@ class novadax(Exchange, ImplicitAPI):
|
|
1390
1433
|
async def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
|
1391
1434
|
"""
|
1392
1435
|
fetch all trades made by the user
|
1393
|
-
|
1436
|
+
|
1437
|
+
https://doc.novadax.com/en-US/#get-order-history
|
1438
|
+
|
1394
1439
|
:param str symbol: unified market symbol
|
1395
1440
|
:param int [since]: the earliest time in ms to fetch trades for
|
1396
1441
|
:param int [limit]: the maximum number of trades structures to retrieve
|
ccxt/async_support/oceanex.py
CHANGED
@@ -166,7 +166,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
166
166
|
async def fetch_markets(self, params={}) -> List[Market]:
|
167
167
|
"""
|
168
168
|
retrieves data on all markets for oceanex
|
169
|
-
|
169
|
+
|
170
|
+
https://api.oceanex.pro/doc/v1/#markets-post
|
171
|
+
|
170
172
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
171
173
|
:returns dict[]: an array of objects representing market data
|
172
174
|
"""
|
@@ -250,7 +252,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
250
252
|
async def fetch_ticker(self, symbol: str, params={}) -> Ticker:
|
251
253
|
"""
|
252
254
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
253
|
-
|
255
|
+
|
256
|
+
https://api.oceanex.pro/doc/v1/#ticker-post
|
257
|
+
|
254
258
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
255
259
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
256
260
|
:returns dict: a `ticker structure <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -284,7 +288,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
284
288
|
async def fetch_tickers(self, symbols: Strings = None, params={}) -> Tickers:
|
285
289
|
"""
|
286
290
|
fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
287
|
-
|
291
|
+
|
292
|
+
https://api.oceanex.pro/doc/v1/#multiple-tickers-post
|
293
|
+
|
288
294
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
289
295
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
290
296
|
:returns dict: a dictionary of `ticker structures <https://docs.ccxt.com/#/?id=ticker-structure>`
|
@@ -366,7 +372,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
366
372
|
async def fetch_order_book(self, symbol: str, limit: Int = None, params={}) -> OrderBook:
|
367
373
|
"""
|
368
374
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
369
|
-
|
375
|
+
|
376
|
+
https://api.oceanex.pro/doc/v1/#order-book-post
|
377
|
+
|
370
378
|
:param str symbol: unified symbol of the market to fetch the order book for
|
371
379
|
:param int [limit]: the maximum amount of order book entries to return
|
372
380
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -406,7 +414,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
406
414
|
async def fetch_order_books(self, symbols: Strings = None, limit: Int = None, params={}):
|
407
415
|
"""
|
408
416
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data for multiple markets
|
409
|
-
|
417
|
+
|
418
|
+
https://api.oceanex.pro/doc/v1/#multiple-order-books-post
|
419
|
+
|
410
420
|
:param str[]|None symbols: list of unified market symbols, all symbols fetched if None, default is None
|
411
421
|
:param int [limit]: max number of entries per orderbook to return, default is None
|
412
422
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -458,7 +468,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
458
468
|
async def fetch_trades(self, symbol: str, since: Int = None, limit: Int = None, params={}) -> List[Trade]:
|
459
469
|
"""
|
460
470
|
get the list of most recent trades for a particular symbol
|
461
|
-
|
471
|
+
|
472
|
+
https://api.oceanex.pro/doc/v1/#trades-post
|
473
|
+
|
462
474
|
:param str symbol: unified symbol of the market to fetch trades for
|
463
475
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
464
476
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -540,7 +552,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
540
552
|
async def fetch_time(self, params={}):
|
541
553
|
"""
|
542
554
|
fetches the current integer timestamp in milliseconds from the exchange server
|
543
|
-
|
555
|
+
|
556
|
+
https://api.oceanex.pro/doc/v1/#api-server-time-post
|
557
|
+
|
544
558
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
545
559
|
:returns int: the current integer timestamp in milliseconds from the exchange server
|
546
560
|
"""
|
@@ -553,7 +567,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
553
567
|
async def fetch_trading_fees(self, params={}) -> TradingFees:
|
554
568
|
"""
|
555
569
|
fetch the trading fees for multiple markets
|
556
|
-
|
570
|
+
|
571
|
+
https://api.oceanex.pro/doc/v1/#trading-fees-post
|
572
|
+
|
557
573
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
558
574
|
:returns dict: a dictionary of `fee structures <https://docs.ccxt.com/#/?id=fee-structure>` indexed by market symbols
|
559
575
|
"""
|
@@ -596,7 +612,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
596
612
|
async def fetch_balance(self, params={}) -> Balances:
|
597
613
|
"""
|
598
614
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
599
|
-
|
615
|
+
|
616
|
+
https://api.oceanex.pro/doc/v1/#account-info-post
|
617
|
+
|
600
618
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
601
619
|
:returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
|
602
620
|
"""
|
@@ -607,7 +625,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
607
625
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount: float, price: Num = None, params={}):
|
608
626
|
"""
|
609
627
|
create a trade order
|
610
|
-
|
628
|
+
|
629
|
+
https://api.oceanex.pro/doc/v1/#new-order-post
|
630
|
+
|
611
631
|
:param str symbol: unified symbol of the market to create an order in
|
612
632
|
:param str type: 'market' or 'limit'
|
613
633
|
:param str side: 'buy' or 'sell'
|
@@ -633,7 +653,10 @@ class oceanex(Exchange, ImplicitAPI):
|
|
633
653
|
async def fetch_order(self, id: str, symbol: Str = None, params={}):
|
634
654
|
"""
|
635
655
|
fetches information on an order made by the user
|
636
|
-
|
656
|
+
|
657
|
+
https://api.oceanex.pro/doc/v1/#order-status-get
|
658
|
+
|
659
|
+
:param str id: order id
|
637
660
|
:param str symbol: unified symbol of the market the order was made in
|
638
661
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
639
662
|
:returns dict: An `order structure <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -659,7 +682,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
659
682
|
async def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
660
683
|
"""
|
661
684
|
fetch all unfilled currently open orders
|
662
|
-
|
685
|
+
|
686
|
+
https://api.oceanex.pro/doc/v1/#order-status-get
|
687
|
+
|
663
688
|
:param str symbol: unified market symbol
|
664
689
|
:param int [since]: the earliest time in ms to fetch open orders for
|
665
690
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -674,7 +699,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
674
699
|
async def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
675
700
|
"""
|
676
701
|
fetches information on multiple closed orders made by the user
|
677
|
-
|
702
|
+
|
703
|
+
https://api.oceanex.pro/doc/v1/#order-status-get
|
704
|
+
|
678
705
|
:param str symbol: unified market symbol of the market orders were made in
|
679
706
|
:param int [since]: the earliest time in ms to fetch orders for
|
680
707
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -689,7 +716,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
689
716
|
async def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]:
|
690
717
|
"""
|
691
718
|
fetches information on multiple orders made by the user
|
692
|
-
|
719
|
+
|
720
|
+
https://api.oceanex.pro/doc/v1/#order-status-with-filters-post
|
721
|
+
|
693
722
|
:param str symbol: unified market symbol of the market orders were made in
|
694
723
|
:param int [since]: the earliest time in ms to fetch orders for
|
695
724
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -740,7 +769,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
740
769
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Int = None, limit: Int = None, params={}) -> List[list]:
|
741
770
|
"""
|
742
771
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
743
|
-
|
772
|
+
|
773
|
+
https://api.oceanex.pro/doc/v1/#k-line-post
|
774
|
+
|
744
775
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
745
776
|
:param str timeframe: the length of time each candle represents
|
746
777
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -827,7 +858,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
827
858
|
async def cancel_order(self, id: str, symbol: Str = None, params={}):
|
828
859
|
"""
|
829
860
|
cancels an open order
|
830
|
-
|
861
|
+
|
862
|
+
https://api.oceanex.pro/doc/v1/#cancel-order-post
|
863
|
+
|
831
864
|
:param str id: order id
|
832
865
|
:param str symbol: not used by oceanex cancelOrder()
|
833
866
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -841,7 +874,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
841
874
|
async def cancel_orders(self, ids, symbol: Str = None, params={}):
|
842
875
|
"""
|
843
876
|
cancel multiple orders
|
844
|
-
|
877
|
+
|
878
|
+
https://api.oceanex.pro/doc/v1/#cancel-multiple-orders-post
|
879
|
+
|
845
880
|
:param str[] ids: order ids
|
846
881
|
:param str symbol: not used by oceanex cancelOrders()
|
847
882
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
@@ -855,7 +890,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
855
890
|
async def cancel_all_orders(self, symbol: Str = None, params={}):
|
856
891
|
"""
|
857
892
|
cancel all open orders
|
858
|
-
|
893
|
+
|
894
|
+
https://api.oceanex.pro/doc/v1/#cancel-all-orders-post
|
895
|
+
|
859
896
|
:param str symbol: unified market symbol, only orders in the market of self symbol are cancelled when symbol is not None
|
860
897
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
861
898
|
:returns dict[]: a list of `order structures <https://docs.ccxt.com/#/?id=order-structure>`
|
@@ -868,7 +905,9 @@ class oceanex(Exchange, ImplicitAPI):
|
|
868
905
|
async def fetch_deposit_addresses_by_network(self, code: str, params={}) -> List[DepositAddress]:
|
869
906
|
"""
|
870
907
|
fetch the deposit addresses for a currency associated with self account
|
871
|
-
|
908
|
+
|
909
|
+
https://api.oceanex.pro/doc/v1/#deposit-addresses-post
|
910
|
+
|
872
911
|
:param str code: unified currency code
|
873
912
|
:param dict [params]: extra parameters specific to the exchange API endpoint
|
874
913
|
:returns dict: a dictionary `address structures <https://docs.ccxt.com/#/?id=address-structure>`, indexed by the network
|