ccxt 4.1.19__py2.py3-none-any.whl → 4.1.22__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ccxt/__init__.py +1 -1
- ccxt/abstract/okcoin.py +70 -206
- ccxt/ace.py +12 -12
- ccxt/ascendex.py +5 -5
- ccxt/async_support/__init__.py +1 -1
- ccxt/async_support/ace.py +12 -12
- ccxt/async_support/ascendex.py +5 -5
- ccxt/async_support/base/exchange.py +1 -1
- ccxt/async_support/bigone.py +2 -2
- ccxt/async_support/binance.py +184 -184
- ccxt/async_support/bingx.py +48 -48
- ccxt/async_support/bitbank.py +14 -14
- ccxt/async_support/bitbns.py +7 -7
- ccxt/async_support/bitfinex.py +2 -2
- ccxt/async_support/bitfinex2.py +35 -35
- ccxt/async_support/bitflyer.py +17 -17
- ccxt/async_support/bitforex.py +9 -9
- ccxt/async_support/bitget.py +433 -215
- ccxt/async_support/bitmart.py +39 -39
- ccxt/async_support/bitmex.py +7 -7
- ccxt/async_support/bitopro.py +1 -1
- ccxt/async_support/bitpanda.py +1 -1
- ccxt/async_support/bitrue.py +2 -2
- ccxt/async_support/bitso.py +2 -2
- ccxt/async_support/bitstamp.py +3 -3
- ccxt/async_support/bitvavo.py +2 -2
- ccxt/async_support/bl3p.py +1 -1
- ccxt/async_support/btcalpha.py +7 -7
- ccxt/async_support/btcturk.py +1 -1
- ccxt/async_support/bybit.py +58 -58
- ccxt/async_support/cex.py +1 -1
- ccxt/async_support/coinbase.py +13 -13
- ccxt/async_support/coinbasepro.py +15 -15
- ccxt/async_support/coinex.py +19 -19
- ccxt/async_support/coinone.py +2 -2
- ccxt/async_support/coinsph.py +4 -4
- ccxt/async_support/coinspot.py +2 -2
- ccxt/async_support/cryptocom.py +28 -28
- ccxt/async_support/currencycom.py +1 -1
- ccxt/async_support/delta.py +26 -26
- ccxt/async_support/deribit.py +9 -9
- ccxt/async_support/digifinex.py +38 -38
- ccxt/async_support/exmo.py +18 -18
- ccxt/async_support/gate.py +59 -59
- ccxt/async_support/gemini.py +4 -4
- ccxt/async_support/hitbtc.py +6 -6
- ccxt/async_support/hollaex.py +2 -2
- ccxt/async_support/huobi.py +70 -70
- ccxt/async_support/indodax.py +1 -1
- ccxt/async_support/kraken.py +33 -33
- ccxt/async_support/krakenfutures.py +6 -5
- ccxt/async_support/kucoin.py +74 -74
- ccxt/async_support/kucoinfutures.py +8 -8
- ccxt/async_support/latoken.py +14 -14
- ccxt/async_support/lbank2.py +33 -33
- ccxt/async_support/mexc.py +22 -22
- ccxt/async_support/ndax.py +1 -1
- ccxt/async_support/novadax.py +22 -22
- ccxt/async_support/oceanex.py +18 -18
- ccxt/async_support/okcoin.py +1950 -2758
- ccxt/async_support/okx.py +73 -73
- ccxt/async_support/paymium.py +11 -11
- ccxt/async_support/phemex.py +26 -26
- ccxt/async_support/poloniex.py +30 -30
- ccxt/async_support/poloniexfutures.py +25 -25
- ccxt/async_support/probit.py +21 -21
- ccxt/async_support/tokocrypto.py +22 -22
- ccxt/async_support/upbit.py +21 -21
- ccxt/async_support/wavesexchange.py +2 -2
- ccxt/async_support/wazirx.py +14 -14
- ccxt/async_support/whitebit.py +6 -6
- ccxt/async_support/woo.py +21 -21
- ccxt/async_support/yobit.py +16 -16
- ccxt/async_support/zaif.py +10 -10
- ccxt/async_support/zonda.py +15 -15
- ccxt/base/exchange.py +2 -1
- ccxt/bigone.py +2 -2
- ccxt/binance.py +184 -184
- ccxt/bingx.py +48 -48
- ccxt/bitbank.py +14 -14
- ccxt/bitbns.py +7 -7
- ccxt/bitfinex.py +2 -2
- ccxt/bitfinex2.py +35 -35
- ccxt/bitflyer.py +17 -17
- ccxt/bitforex.py +9 -9
- ccxt/bitget.py +433 -215
- ccxt/bitmart.py +39 -39
- ccxt/bitmex.py +7 -7
- ccxt/bitopro.py +1 -1
- ccxt/bitpanda.py +1 -1
- ccxt/bitrue.py +2 -2
- ccxt/bitso.py +2 -2
- ccxt/bitstamp.py +3 -3
- ccxt/bitvavo.py +2 -2
- ccxt/bl3p.py +1 -1
- ccxt/btcalpha.py +7 -7
- ccxt/btcturk.py +1 -1
- ccxt/bybit.py +58 -58
- ccxt/cex.py +1 -1
- ccxt/coinbase.py +13 -13
- ccxt/coinbasepro.py +15 -15
- ccxt/coinex.py +19 -19
- ccxt/coinone.py +2 -2
- ccxt/coinsph.py +4 -4
- ccxt/coinspot.py +2 -2
- ccxt/cryptocom.py +28 -28
- ccxt/currencycom.py +1 -1
- ccxt/delta.py +26 -26
- ccxt/deribit.py +9 -9
- ccxt/digifinex.py +38 -38
- ccxt/exmo.py +18 -18
- ccxt/gate.py +59 -59
- ccxt/gemini.py +4 -4
- ccxt/hitbtc.py +6 -6
- ccxt/hollaex.py +2 -2
- ccxt/huobi.py +70 -70
- ccxt/indodax.py +1 -1
- ccxt/kraken.py +33 -33
- ccxt/krakenfutures.py +6 -5
- ccxt/kucoin.py +74 -74
- ccxt/kucoinfutures.py +8 -8
- ccxt/latoken.py +14 -14
- ccxt/lbank2.py +33 -33
- ccxt/mexc.py +22 -22
- ccxt/ndax.py +1 -1
- ccxt/novadax.py +22 -22
- ccxt/oceanex.py +18 -18
- ccxt/okcoin.py +1950 -2758
- ccxt/okx.py +73 -73
- ccxt/paymium.py +11 -11
- ccxt/phemex.py +26 -26
- ccxt/poloniex.py +30 -30
- ccxt/poloniexfutures.py +25 -25
- ccxt/pro/__init__.py +1 -1
- ccxt/pro/ascendex.py +1 -1
- ccxt/pro/binance.py +9 -9
- ccxt/pro/bingx.py +12 -12
- ccxt/pro/bitget.py +2 -2
- ccxt/pro/bitpanda.py +7 -7
- ccxt/pro/bitrue.py +2 -2
- ccxt/pro/blockchaincom.py +6 -6
- ccxt/pro/bybit.py +15 -15
- ccxt/pro/cex.py +8 -8
- ccxt/pro/coinbase.py +6 -6
- ccxt/pro/coinbasepro.py +1 -1
- ccxt/pro/coinex.py +8 -8
- ccxt/pro/cryptocom.py +12 -12
- ccxt/pro/deribit.py +7 -7
- ccxt/pro/gemini.py +4 -4
- ccxt/pro/hitbtc.py +17 -17
- ccxt/pro/huobi.py +3 -3
- ccxt/pro/kraken.py +6 -6
- ccxt/pro/krakenfutures.py +10 -10
- ccxt/pro/kucoin.py +85 -42
- ccxt/pro/kucoinfutures.py +5 -5
- ccxt/pro/luno.py +1 -1
- ccxt/pro/mexc.py +7 -7
- ccxt/pro/okx.py +16 -15
- ccxt/pro/phemex.py +15 -15
- ccxt/pro/poloniex.py +9 -9
- ccxt/pro/poloniexfutures.py +5 -5
- ccxt/pro/probit.py +5 -5
- ccxt/pro/wazirx.py +5 -5
- ccxt/pro/woo.py +1 -1
- ccxt/probit.py +21 -21
- ccxt/test/base/test_shared_methods.py +1 -1
- ccxt/tokocrypto.py +22 -22
- ccxt/upbit.py +21 -21
- ccxt/wavesexchange.py +2 -2
- ccxt/wazirx.py +14 -14
- ccxt/whitebit.py +6 -6
- ccxt/woo.py +21 -21
- ccxt/yobit.py +16 -16
- ccxt/zaif.py +10 -10
- ccxt/zonda.py +15 -15
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/METADATA +5 -9
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/RECORD +179 -179
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/WHEEL +0 -0
- {ccxt-4.1.19.dist-info → ccxt-4.1.22.dist-info}/top_level.txt +0 -0
ccxt/async_support/delta.py
CHANGED
@@ -428,7 +428,7 @@ class delta(Exchange, ImplicitAPI):
|
|
428
428
|
async def fetch_currencies(self, params={}):
|
429
429
|
"""
|
430
430
|
fetches all available currencies on an exchange
|
431
|
-
see https://docs.delta.exchange/#get-list-of-all-assets
|
431
|
+
:see: https://docs.delta.exchange/#get-list-of-all-assets
|
432
432
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
433
433
|
:returns dict: an associative dictionary of currencies
|
434
434
|
"""
|
@@ -510,7 +510,7 @@ class delta(Exchange, ImplicitAPI):
|
|
510
510
|
async def fetch_markets(self, params={}):
|
511
511
|
"""
|
512
512
|
retrieves data on all markets for delta
|
513
|
-
see https://docs.delta.exchange/#get-list-of-products
|
513
|
+
:see: https://docs.delta.exchange/#get-list-of-products
|
514
514
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
515
515
|
:returns dict[]: an array of objects representing market data
|
516
516
|
"""
|
@@ -954,7 +954,7 @@ class delta(Exchange, ImplicitAPI):
|
|
954
954
|
async def fetch_ticker(self, symbol: str, params={}):
|
955
955
|
"""
|
956
956
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
957
|
-
see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
957
|
+
:see: https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
958
958
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
959
959
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
960
960
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -1095,7 +1095,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1095
1095
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
1096
1096
|
"""
|
1097
1097
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
1098
|
-
see https://docs.delta.exchange/#get-tickers-for-products
|
1098
|
+
:see: https://docs.delta.exchange/#get-tickers-for-products
|
1099
1099
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
1100
1100
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1101
1101
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -1244,7 +1244,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1244
1244
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
1245
1245
|
"""
|
1246
1246
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
1247
|
-
see https://docs.delta.exchange/#get-l2-orderbook
|
1247
|
+
:see: https://docs.delta.exchange/#get-l2-orderbook
|
1248
1248
|
:param str symbol: unified symbol of the market to fetch the order book for
|
1249
1249
|
:param int [limit]: the maximum amount of order book entries to return
|
1250
1250
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
@@ -1377,7 +1377,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1377
1377
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1378
1378
|
"""
|
1379
1379
|
get the list of most recent trades for a particular symbol
|
1380
|
-
see https://docs.delta.exchange/#get-public-trades
|
1380
|
+
:see: https://docs.delta.exchange/#get-public-trades
|
1381
1381
|
:param str symbol: unified symbol of the market to fetch trades for
|
1382
1382
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1383
1383
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1431,7 +1431,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1431
1431
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1432
1432
|
"""
|
1433
1433
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1434
|
-
see https://docs.delta.exchange/#get-ohlc-candles
|
1434
|
+
:see: https://docs.delta.exchange/#get-ohlc-candles
|
1435
1435
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1436
1436
|
:param str timeframe: the length of time each candle represents
|
1437
1437
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1494,7 +1494,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1494
1494
|
async def fetch_balance(self, params={}):
|
1495
1495
|
"""
|
1496
1496
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
1497
|
-
see https://docs.delta.exchange/#get-wallet-balances
|
1497
|
+
:see: https://docs.delta.exchange/#get-wallet-balances
|
1498
1498
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1499
1499
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
1500
1500
|
"""
|
@@ -1526,7 +1526,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1526
1526
|
async def fetch_position(self, symbol: str, params={}):
|
1527
1527
|
"""
|
1528
1528
|
fetch data on a single open contract trade position
|
1529
|
-
see https://docs.delta.exchange/#get-position
|
1529
|
+
:see: https://docs.delta.exchange/#get-position
|
1530
1530
|
:param str symbol: unified market symbol of the market the position is held in, default is None
|
1531
1531
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1532
1532
|
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -1553,7 +1553,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1553
1553
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
1554
1554
|
"""
|
1555
1555
|
fetch all open positions
|
1556
|
-
see https://docs.delta.exchange/#get-margined-positions
|
1556
|
+
:see: https://docs.delta.exchange/#get-margined-positions
|
1557
1557
|
:param str[]|None symbols: list of unified market symbols
|
1558
1558
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1559
1559
|
:returns dict[]: a list of `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -1747,7 +1747,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1747
1747
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1748
1748
|
"""
|
1749
1749
|
create a trade order
|
1750
|
-
see https://docs.delta.exchange/#place-order
|
1750
|
+
:see: https://docs.delta.exchange/#place-order
|
1751
1751
|
:param str symbol: unified symbol of the market to create an order in
|
1752
1752
|
:param str type: 'market' or 'limit'
|
1753
1753
|
:param str side: 'buy' or 'sell'
|
@@ -1824,7 +1824,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1824
1824
|
async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
1825
1825
|
"""
|
1826
1826
|
edit a trade order
|
1827
|
-
see https://docs.delta.exchange/#edit-order
|
1827
|
+
:see: https://docs.delta.exchange/#edit-order
|
1828
1828
|
:param str id: order id
|
1829
1829
|
:param str symbol: unified symbol of the market to create an order in
|
1830
1830
|
:param str type: 'market' or 'limit'
|
@@ -1870,7 +1870,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1870
1870
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1871
1871
|
"""
|
1872
1872
|
cancels an open order
|
1873
|
-
see https://docs.delta.exchange/#cancel-order
|
1873
|
+
:see: https://docs.delta.exchange/#cancel-order
|
1874
1874
|
:param str id: order id
|
1875
1875
|
:param str symbol: unified symbol of the market the order was made in
|
1876
1876
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
@@ -1926,7 +1926,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1926
1926
|
async def cancel_all_orders(self, symbol: Optional[str] = None, params={}):
|
1927
1927
|
"""
|
1928
1928
|
cancel all open orders in a market
|
1929
|
-
see https://docs.delta.exchange/#cancel-all-open-orders
|
1929
|
+
:see: https://docs.delta.exchange/#cancel-all-open-orders
|
1930
1930
|
:param str symbol: unified market symbol of the market to cancel orders in
|
1931
1931
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
1932
1932
|
:returns dict[]: a list of `order structures <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1951,7 +1951,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1951
1951
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1952
1952
|
"""
|
1953
1953
|
fetch all unfilled currently open orders
|
1954
|
-
see https://docs.delta.exchange/#get-active-orders
|
1954
|
+
:see: https://docs.delta.exchange/#get-active-orders
|
1955
1955
|
:param str symbol: unified market symbol
|
1956
1956
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1957
1957
|
:param int [limit]: the maximum number of open order structures to retrieve
|
@@ -1963,7 +1963,7 @@ class delta(Exchange, ImplicitAPI):
|
|
1963
1963
|
async def fetch_closed_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1964
1964
|
"""
|
1965
1965
|
fetches information on multiple closed orders made by the user
|
1966
|
-
see https://docs.delta.exchange/#get-order-history-cancelled-and-closed
|
1966
|
+
:see: https://docs.delta.exchange/#get-order-history-cancelled-and-closed
|
1967
1967
|
:param str symbol: unified market symbol of the market orders were made in
|
1968
1968
|
:param int [since]: the earliest time in ms to fetch orders for
|
1969
1969
|
:param int [limit]: the maximum number of order structures to retrieve
|
@@ -2022,7 +2022,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2022
2022
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2023
2023
|
"""
|
2024
2024
|
fetch all trades made by the user
|
2025
|
-
see https://docs.delta.exchange/#get-user-fills-by-filters
|
2025
|
+
:see: https://docs.delta.exchange/#get-user-fills-by-filters
|
2026
2026
|
:param str symbol: unified market symbol
|
2027
2027
|
:param int [since]: the earliest time in ms to fetch trades for
|
2028
2028
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -2099,7 +2099,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2099
2099
|
async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2100
2100
|
"""
|
2101
2101
|
fetch the history of changes, actions done by the user or operations that altered balance of the user
|
2102
|
-
see https://docs.delta.exchange/#get-wallet-transactions
|
2102
|
+
:see: https://docs.delta.exchange/#get-wallet-transactions
|
2103
2103
|
:param str code: unified currency code, default is None
|
2104
2104
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
2105
2105
|
:param int [limit]: max number of ledger entrys to return, default is None
|
@@ -2283,7 +2283,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2283
2283
|
async def fetch_funding_rate(self, symbol: str, params={}):
|
2284
2284
|
"""
|
2285
2285
|
fetch the current funding rate
|
2286
|
-
see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
2286
|
+
:see: https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
2287
2287
|
:param str symbol: unified market symbol
|
2288
2288
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
2289
2289
|
:returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
|
@@ -2347,7 +2347,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2347
2347
|
async def fetch_funding_rates(self, symbols: Optional[List[str]] = None, params={}):
|
2348
2348
|
"""
|
2349
2349
|
fetch the funding rate for multiple markets
|
2350
|
-
see https://docs.delta.exchange/#get-tickers-for-products
|
2350
|
+
:see: https://docs.delta.exchange/#get-tickers-for-products
|
2351
2351
|
:param str[]|None symbols: list of unified market symbols
|
2352
2352
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
2353
2353
|
:returns dict: a dictionary of `funding rates structures <https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure>`, indexe by market symbols
|
@@ -2479,7 +2479,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2479
2479
|
async def add_margin(self, symbol: str, amount, params={}):
|
2480
2480
|
"""
|
2481
2481
|
add margin
|
2482
|
-
see https://docs.delta.exchange/#add-remove-position-margin
|
2482
|
+
:see: https://docs.delta.exchange/#add-remove-position-margin
|
2483
2483
|
:param str symbol: unified market symbol
|
2484
2484
|
:param float amount: amount of margin to add
|
2485
2485
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
@@ -2490,7 +2490,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2490
2490
|
async def reduce_margin(self, symbol: str, amount, params={}):
|
2491
2491
|
"""
|
2492
2492
|
remove margin from a position
|
2493
|
-
see https://docs.delta.exchange/#add-remove-position-margin
|
2493
|
+
:see: https://docs.delta.exchange/#add-remove-position-margin
|
2494
2494
|
:param str symbol: unified market symbol
|
2495
2495
|
:param float amount: the amount of margin to remove
|
2496
2496
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
@@ -2571,7 +2571,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2571
2571
|
async def fetch_open_interest(self, symbol: str, params={}):
|
2572
2572
|
"""
|
2573
2573
|
retrieves the open interest of a derivative market
|
2574
|
-
see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
2574
|
+
:see: https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
|
2575
2575
|
:param str symbol: unified market symbol
|
2576
2576
|
:param dict [params]: exchange specific parameters
|
2577
2577
|
:returns dict} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure:
|
@@ -2705,7 +2705,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2705
2705
|
async def fetch_leverage(self, symbol: str, params={}):
|
2706
2706
|
"""
|
2707
2707
|
fetch the set leverage for a market
|
2708
|
-
see https://docs.delta.exchange/#get-order-leverage
|
2708
|
+
:see: https://docs.delta.exchange/#get-order-leverage
|
2709
2709
|
:param str symbol: unified market symbol
|
2710
2710
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
2711
2711
|
:returns dict: a `leverage structure <https://github.com/ccxt/ccxt/wiki/Manual#leverage-structure>`
|
@@ -2733,7 +2733,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2733
2733
|
async def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
|
2734
2734
|
"""
|
2735
2735
|
set the level of leverage for a market
|
2736
|
-
see https://docs.delta.exchange/#change-order-leverage
|
2736
|
+
:see: https://docs.delta.exchange/#change-order-leverage
|
2737
2737
|
:param float leverage: the rate of leverage
|
2738
2738
|
:param str symbol: unified market symbol
|
2739
2739
|
:param dict [params]: extra parameters specific to the delta api endpoint
|
@@ -2762,7 +2762,7 @@ class delta(Exchange, ImplicitAPI):
|
|
2762
2762
|
async def fetch_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2763
2763
|
"""
|
2764
2764
|
fetches historical settlement records
|
2765
|
-
see https://docs.delta.exchange/#get-product-settlement-prices
|
2765
|
+
:see: https://docs.delta.exchange/#get-product-settlement-prices
|
2766
2766
|
:param str symbol: unified market symbol of the settlement history
|
2767
2767
|
:param int [since]: timestamp in ms
|
2768
2768
|
:param int [limit]: number of records
|
ccxt/async_support/deribit.py
CHANGED
@@ -436,7 +436,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
436
436
|
async def fetch_currencies(self, params={}):
|
437
437
|
"""
|
438
438
|
fetches all available currencies on an exchange
|
439
|
-
see https://docs.deribit.com/#public-get_currencies
|
439
|
+
:see: https://docs.deribit.com/#public-get_currencies
|
440
440
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
441
441
|
:returns dict: an associative dictionary of currencies
|
442
442
|
"""
|
@@ -1272,7 +1272,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
1272
1272
|
|
1273
1273
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1274
1274
|
"""
|
1275
|
-
see https://docs.deribit.com/#private-get_user_trades_by_currency
|
1275
|
+
:see: https://docs.deribit.com/#private-get_user_trades_by_currency
|
1276
1276
|
get the list of most recent trades for a particular symbol.
|
1277
1277
|
:param str symbol: unified symbol of the market to fetch trades for
|
1278
1278
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
@@ -1658,7 +1658,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
1658
1658
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1659
1659
|
"""
|
1660
1660
|
create a trade order
|
1661
|
-
see https://docs.deribit.com/#private-buy
|
1661
|
+
:see: https://docs.deribit.com/#private-buy
|
1662
1662
|
:param str symbol: unified symbol of the market to create an order in
|
1663
1663
|
:param str type: 'market' or 'limit'
|
1664
1664
|
:param str side: 'buy' or 'sell'
|
@@ -2374,7 +2374,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2374
2374
|
async def fetch_volatility_history(self, code: str, params={}):
|
2375
2375
|
"""
|
2376
2376
|
fetch the historical volatility of an option market based on an underlying asset
|
2377
|
-
see https://docs.deribit.com/#public-get_historical_volatility
|
2377
|
+
:see: https://docs.deribit.com/#public-get_historical_volatility
|
2378
2378
|
:param str code: unified currency code
|
2379
2379
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
2380
2380
|
:returns dict[]: a list of `volatility history objects <https://github.com/ccxt/ccxt/wiki/Manual#volatility-structure>`
|
@@ -2623,7 +2623,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2623
2623
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2624
2624
|
"""
|
2625
2625
|
fetch deposit and withdraw fees
|
2626
|
-
see https://docs.deribit.com/#public-get_currencies
|
2626
|
+
:see: https://docs.deribit.com/#public-get_currencies
|
2627
2627
|
:param str[]|None codes: list of unified currency codes
|
2628
2628
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
2629
2629
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2658,7 +2658,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2658
2658
|
async def fetch_funding_rate(self, symbol: str, params={}):
|
2659
2659
|
"""
|
2660
2660
|
fetch the current funding rate
|
2661
|
-
see https://docs.deribit.com/#public-get_funding_rate_value
|
2661
|
+
:see: https://docs.deribit.com/#public-get_funding_rate_value
|
2662
2662
|
:param str symbol: unified market symbol
|
2663
2663
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
2664
2664
|
:param int [params.start_timestamp]: fetch funding rate starting from self timestamp
|
@@ -2689,7 +2689,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2689
2689
|
async def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2690
2690
|
"""
|
2691
2691
|
fetch the current funding rate
|
2692
|
-
see https://docs.deribit.com/#public-get_funding_rate_history
|
2692
|
+
:see: https://docs.deribit.com/#public-get_funding_rate_history
|
2693
2693
|
:param str symbol: unified market symbol
|
2694
2694
|
:param dict [params]: extra parameters specific to the deribit api endpoint
|
2695
2695
|
:param int [params.end_timestamp]: fetch funding rate ending at self timestamp
|
@@ -2780,7 +2780,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2780
2780
|
async def fetch_liquidations(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2781
2781
|
"""
|
2782
2782
|
retrieves the public liquidations of a trading pair
|
2783
|
-
see https://docs.deribit.com/#public-get_last_settlements_by_currency
|
2783
|
+
:see: https://docs.deribit.com/#public-get_last_settlements_by_currency
|
2784
2784
|
:param str symbol: unified CCXT market symbol
|
2785
2785
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
2786
2786
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
@@ -2850,7 +2850,7 @@ class deribit(Exchange, ImplicitAPI):
|
|
2850
2850
|
async def fetch_my_liquidations(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2851
2851
|
"""
|
2852
2852
|
retrieves the users liquidated positions
|
2853
|
-
see https://docs.deribit.com/#private-get_settlement_history_by_instrument
|
2853
|
+
:see: https://docs.deribit.com/#private-get_settlement_history_by_instrument
|
2854
2854
|
:param str symbol: unified CCXT market symbol
|
2855
2855
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
2856
2856
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
ccxt/async_support/digifinex.py
CHANGED
@@ -780,9 +780,9 @@ class digifinex(Exchange, ImplicitAPI):
|
|
780
780
|
async def fetch_balance(self, params={}):
|
781
781
|
"""
|
782
782
|
query for balance and get the amount of funds available for trading or funds locked in orders
|
783
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#spot-account-assets
|
784
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
|
785
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
|
783
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#spot-account-assets
|
784
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-assets
|
785
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#accountbalance
|
786
786
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
787
787
|
:returns dict: a `balance structure <https://github.com/ccxt/ccxt/wiki/Manual#balance-structure>`
|
788
788
|
"""
|
@@ -842,8 +842,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
842
842
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
843
843
|
"""
|
844
844
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
845
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-orderbook
|
846
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderbook
|
845
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-orderbook
|
846
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderbook
|
847
847
|
:param str symbol: unified symbol of the market to fetch the order book for
|
848
848
|
:param int [limit]: the maximum amount of order book entries to return
|
849
849
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -914,8 +914,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
914
914
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
915
915
|
"""
|
916
916
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
917
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
918
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#tickers
|
917
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
918
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#tickers
|
919
919
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
920
920
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
921
921
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -996,8 +996,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
996
996
|
async def fetch_ticker(self, symbol: str, params={}):
|
997
997
|
"""
|
998
998
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
999
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
1000
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#ticker
|
999
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#ticker-price
|
1000
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#ticker
|
1001
1001
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
1002
1002
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
1003
1003
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -1307,8 +1307,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1307
1307
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1308
1308
|
"""
|
1309
1309
|
get the list of most recent trades for a particular symbol
|
1310
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-recent-trades
|
1311
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#recenttrades
|
1310
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-recent-trades
|
1311
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#recenttrades
|
1312
1312
|
:param str symbol: unified symbol of the market to fetch trades for
|
1313
1313
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
1314
1314
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1404,8 +1404,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1404
1404
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1405
1405
|
"""
|
1406
1406
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1407
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-candles-data
|
1408
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#recentcandle
|
1407
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-candles-data
|
1408
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#recentcandle
|
1409
1409
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1410
1410
|
:param str timeframe: the length of time each candle represents
|
1411
1411
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1475,8 +1475,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1475
1475
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1476
1476
|
"""
|
1477
1477
|
create a trade order
|
1478
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#create-new-order
|
1479
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderplace
|
1478
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#create-new-order
|
1479
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderplace
|
1480
1480
|
:param str symbol: unified symbol of the market to create an order in
|
1481
1481
|
:param str type: 'market' or 'limit'
|
1482
1482
|
:param str side: 'buy' or 'sell'
|
@@ -1580,8 +1580,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1580
1580
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1581
1581
|
"""
|
1582
1582
|
cancels an open order
|
1583
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#cancel-order
|
1584
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#cancelorder
|
1583
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#cancel-order
|
1584
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#cancelorder
|
1585
1585
|
:param str id: order id
|
1586
1586
|
:param str symbol: not used by digifinex cancelOrder()
|
1587
1587
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -1811,8 +1811,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1811
1811
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1812
1812
|
"""
|
1813
1813
|
fetch all unfilled currently open orders
|
1814
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#current-active-orders
|
1815
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#openorder
|
1814
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#current-active-orders
|
1815
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#openorder
|
1816
1816
|
:param str symbol: unified market symbol
|
1817
1817
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1818
1818
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1904,8 +1904,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1904
1904
|
async def fetch_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1905
1905
|
"""
|
1906
1906
|
fetches information on multiple orders made by the user
|
1907
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-all-orders-including-history-orders
|
1908
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#historyorder
|
1907
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-all-orders-including-history-orders
|
1908
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#historyorder
|
1909
1909
|
:param str symbol: unified market symbol of the market orders were made in
|
1910
1910
|
:param int [since]: the earliest time in ms to fetch orders for
|
1911
1911
|
:param int [limit]: the maximum number of orde structures to retrieve
|
@@ -1998,8 +1998,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
1998
1998
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1999
1999
|
"""
|
2000
2000
|
fetches information on an order made by the user
|
2001
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-order-status
|
2002
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderinfo
|
2001
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-order-status
|
2002
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#orderinfo
|
2003
2003
|
:param str id: order id
|
2004
2004
|
:param str symbol: unified symbol of the market the order was made in
|
2005
2005
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -2086,8 +2086,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2086
2086
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2087
2087
|
"""
|
2088
2088
|
fetch all trades made by the user
|
2089
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#customer-39-s-trades
|
2090
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#historytrade
|
2089
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#customer-39-s-trades
|
2090
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#historytrade
|
2091
2091
|
:param str symbol: unified market symbol
|
2092
2092
|
:param int [since]: the earliest time in ms to fetch trades for
|
2093
2093
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -2225,8 +2225,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2225
2225
|
async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2226
2226
|
"""
|
2227
2227
|
fetch the history of changes, actions done by the user or operations that altered balance of the user
|
2228
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#spot-margin-otc-financial-logs
|
2229
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#bills
|
2228
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#spot-margin-otc-financial-logs
|
2229
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#bills
|
2230
2230
|
:param str code: unified currency code, default is None
|
2231
2231
|
:param int [since]: timestamp in ms of the earliest ledger entry, default is None
|
2232
2232
|
:param int [limit]: max number of ledger entrys to return, default is None
|
@@ -2760,7 +2760,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2760
2760
|
async def fetch_funding_rate(self, symbol: str, params={}):
|
2761
2761
|
"""
|
2762
2762
|
fetch the current funding rate
|
2763
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#currentfundingrate
|
2763
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#currentfundingrate
|
2764
2764
|
:param str symbol: unified market symbol
|
2765
2765
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
2766
2766
|
:returns dict: a `funding rate structure <https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure>`
|
@@ -2879,7 +2879,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2879
2879
|
async def fetch_trading_fee(self, symbol: str, params={}):
|
2880
2880
|
"""
|
2881
2881
|
fetch the trading fees for a market
|
2882
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#tradingfee
|
2882
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#tradingfee
|
2883
2883
|
:param str symbol: unified market symbol
|
2884
2884
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
2885
2885
|
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2925,8 +2925,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
2925
2925
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
2926
2926
|
"""
|
2927
2927
|
fetch all open positions
|
2928
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
2929
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
2928
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
2929
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
2930
2930
|
:param str[]|None symbols: list of unified market symbols
|
2931
2931
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
2932
2932
|
:returns dict[]: a list of `position structures <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -3021,8 +3021,8 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3021
3021
|
|
3022
3022
|
async def fetch_position(self, symbol: str, params={}):
|
3023
3023
|
"""
|
3024
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
3025
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
3024
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#margin-positions
|
3025
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#positions
|
3026
3026
|
fetch data on a single open contract trade position
|
3027
3027
|
:param str symbol: unified market symbol of the market the position is held in
|
3028
3028
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -3189,7 +3189,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3189
3189
|
async def set_leverage(self, leverage, symbol: Optional[str] = None, params={}):
|
3190
3190
|
"""
|
3191
3191
|
set the level of leverage for a market
|
3192
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#setleverage
|
3192
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#setleverage
|
3193
3193
|
:param float leverage: the rate of leverage
|
3194
3194
|
:param str symbol: unified market symbol
|
3195
3195
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -3237,7 +3237,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3237
3237
|
async def fetch_transfers(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3238
3238
|
"""
|
3239
3239
|
fetch the transfer history, only transfers between spot and swap accounts are supported
|
3240
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#transferrecord
|
3240
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#transferrecord
|
3241
3241
|
:param str code: unified currency code of the currency transferred
|
3242
3242
|
:param int [since]: the earliest time in ms to fetch transfers for
|
3243
3243
|
:param int [limit]: the maximum number of transfers to retrieve
|
@@ -3275,7 +3275,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3275
3275
|
|
3276
3276
|
async def fetch_leverage_tiers(self, symbols: Optional[List[str]] = None, params={}):
|
3277
3277
|
"""
|
3278
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#instruments
|
3278
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#instruments
|
3279
3279
|
retrieve information on the maximum leverage, for different trade sizes
|
3280
3280
|
:param str[]|None symbols: a list of unified market symbols
|
3281
3281
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -3362,7 +3362,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3362
3362
|
|
3363
3363
|
async def fetch_market_leverage_tiers(self, symbol: str, params={}):
|
3364
3364
|
"""
|
3365
|
-
see https://docs.digifinex.com/en-ww/swap/v2/rest.html#instrument
|
3365
|
+
:see: https://docs.digifinex.com/en-ww/swap/v2/rest.html#instrument
|
3366
3366
|
retrieve information on the maximum leverage, for different trade sizes for a single market
|
3367
3367
|
:param str symbol: unified market symbol
|
3368
3368
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
@@ -3470,7 +3470,7 @@ class digifinex(Exchange, ImplicitAPI):
|
|
3470
3470
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
3471
3471
|
"""
|
3472
3472
|
fetch deposit and withdraw fees
|
3473
|
-
see https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-currency-deposit-and-withdrawal-information
|
3473
|
+
:see: https://docs.digifinex.com/en-ww/spot/v3/rest.html#get-currency-deposit-and-withdrawal-information
|
3474
3474
|
:param str[]|None codes: not used by fetchDepositWithdrawFees()
|
3475
3475
|
:param dict [params]: extra parameters specific to the digifinex api endpoint
|
3476
3476
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|