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/exmo.py
CHANGED
@@ -421,7 +421,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
421
421
|
"""
|
422
422
|
* @deprecated
|
423
423
|
please use fetchDepositWithdrawFees instead
|
424
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
424
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
425
425
|
:param str[]|None codes: list of unified currency codes
|
426
426
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
427
427
|
:returns dict: a list of `transaction fees structures <https://github.com/ccxt/ccxt/wiki/Manual#fees-structure>`
|
@@ -489,7 +489,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
489
489
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
490
490
|
"""
|
491
491
|
fetch deposit and withdraw fees
|
492
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
492
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
493
493
|
:param str[]|None codes: list of unified currency codes
|
494
494
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
495
495
|
:returns dict: a list of `transaction fees structures <https://github.com/ccxt/ccxt/wiki/Manual#fees-structure>`
|
@@ -1210,8 +1210,8 @@ class exmo(Exchange, ImplicitAPI):
|
|
1210
1210
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1211
1211
|
"""
|
1212
1212
|
fetch all trades made by the user
|
1213
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#b8d8d9af-4f46-46a1-939b-ad261d79f452 # spot
|
1214
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#f4b1aaf8-399f-403b-ab5e-4926d967a106 # margin
|
1213
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#b8d8d9af-4f46-46a1-939b-ad261d79f452 # spot
|
1214
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#f4b1aaf8-399f-403b-ab5e-4926d967a106 # margin
|
1215
1215
|
:param str symbol: a symbol is required but it can be a single string, or a non-empty array
|
1216
1216
|
:param int [since]: the earliest time in ms to fetch trades for
|
1217
1217
|
:param int [limit]: *required for margin orders* the maximum number of trades structures to retrieve
|
@@ -1301,9 +1301,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1301
1301
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1302
1302
|
"""
|
1303
1303
|
create a trade order
|
1304
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#80daa469-ec59-4d0a-b229-6a311d8dd1cd
|
1305
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#de6f4321-eeac-468c-87f7-c4ad7062e265 # stop market
|
1306
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#3561b86c-9ff1-436e-8e68-ac926b7eb523 # margin
|
1304
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#80daa469-ec59-4d0a-b229-6a311d8dd1cd
|
1305
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#de6f4321-eeac-468c-87f7-c4ad7062e265 # stop market
|
1306
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#3561b86c-9ff1-436e-8e68-ac926b7eb523 # margin
|
1307
1307
|
:param str symbol: unified symbol of the market to create an order in
|
1308
1308
|
:param str type: 'market' or 'limit'
|
1309
1309
|
:param str side: 'buy' or 'sell'
|
@@ -1392,9 +1392,9 @@ class exmo(Exchange, ImplicitAPI):
|
|
1392
1392
|
async def cancel_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1393
1393
|
"""
|
1394
1394
|
cancels an open order
|
1395
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#1f710d4b-75bc-4b65-ad68-006f863a3f26
|
1396
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#a4d0aae8-28f7-41ac-94fd-c4030130453d # stop market
|
1397
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#705dfec5-2b35-4667-862b-faf54eca6209 # margin
|
1395
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#1f710d4b-75bc-4b65-ad68-006f863a3f26
|
1396
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#a4d0aae8-28f7-41ac-94fd-c4030130453d # stop market
|
1397
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#705dfec5-2b35-4667-862b-faf54eca6209 # margin
|
1398
1398
|
:param str id: order id
|
1399
1399
|
:param str symbol: not used by exmo cancelOrder()
|
1400
1400
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
@@ -1438,7 +1438,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
1438
1438
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
1439
1439
|
"""
|
1440
1440
|
*spot only* fetches information on an order made by the user
|
1441
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1441
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1442
1442
|
:param str symbol: not used by exmo fetchOrder
|
1443
1443
|
:param dict [params]: extra parameters specific to the exmo api endpoint
|
1444
1444
|
:returns dict: An `order structure <https://github.com/ccxt/ccxt/wiki/Manual#order-structure>`
|
@@ -1476,8 +1476,8 @@ class exmo(Exchange, ImplicitAPI):
|
|
1476
1476
|
async def fetch_order_trades(self, id: str, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1477
1477
|
"""
|
1478
1478
|
fetch all the trades made from a single order
|
1479
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1480
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#00810661-9119-46c5-aec5-55abe9cb42c7 # margin
|
1479
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#cf27781e-28e5-4b39-a52d-3110f5d22459 # spot
|
1480
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#00810661-9119-46c5-aec5-55abe9cb42c7 # margin
|
1481
1481
|
:param str id: order id
|
1482
1482
|
:param str symbol: unified market symbol
|
1483
1483
|
:param int [since]: the earliest time in ms to fetch trades for
|
@@ -1548,8 +1548,8 @@ class exmo(Exchange, ImplicitAPI):
|
|
1548
1548
|
async def fetch_open_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1549
1549
|
"""
|
1550
1550
|
fetch all unfilled currently open orders
|
1551
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#0e135370-daa4-4689-8acd-b6876dee9ba1 # spot open orders
|
1552
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#a7cfd4f0-476e-4675-b33f-22a46902f245 # margin
|
1551
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#0e135370-daa4-4689-8acd-b6876dee9ba1 # spot open orders
|
1552
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#a7cfd4f0-476e-4675-b33f-22a46902f245 # margin
|
1553
1553
|
:param str symbol: unified market symbol
|
1554
1554
|
:param int [since]: the earliest time in ms to fetch open orders for
|
1555
1555
|
:param int [limit]: the maximum number of open orders structures to retrieve
|
@@ -1797,8 +1797,8 @@ class exmo(Exchange, ImplicitAPI):
|
|
1797
1797
|
async def fetch_canceled_orders(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1798
1798
|
"""
|
1799
1799
|
fetches information on multiple canceled orders made by the user
|
1800
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#1d2524dd-ae6d-403a-a067-77b50d13fbe5 # margin
|
1801
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#a51be1d0-af5f-44e4-99d7-f7b04c6067d0 # spot canceled orders
|
1800
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#1d2524dd-ae6d-403a-a067-77b50d13fbe5 # margin
|
1801
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#a51be1d0-af5f-44e4-99d7-f7b04c6067d0 # spot canceled orders
|
1802
1802
|
:param str symbol: unified market symbol of the market orders were made in
|
1803
1803
|
:param int [since]: timestamp in ms of the earliest order, default is None
|
1804
1804
|
:param int [limit]: max number of orders to return, default is None
|
@@ -1884,7 +1884,7 @@ class exmo(Exchange, ImplicitAPI):
|
|
1884
1884
|
async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
1885
1885
|
"""
|
1886
1886
|
*margin only* edit a trade order
|
1887
|
-
see https://documenter.getpostman.com/view/10287440/SzYXWKPi#f27ee040-c75f-4b59-b608-d05bd45b7899 # margin
|
1887
|
+
:see: https://documenter.getpostman.com/view/10287440/SzYXWKPi#f27ee040-c75f-4b59-b608-d05bd45b7899 # margin
|
1888
1888
|
:param str id: order id
|
1889
1889
|
:param str symbol: unified CCXT market symbol
|
1890
1890
|
:param str type: not used by exmo editOrder
|
ccxt/async_support/gate.py
CHANGED
@@ -980,11 +980,11 @@ class gate(Exchange, ImplicitAPI):
|
|
980
980
|
async def fetch_markets(self, params={}):
|
981
981
|
"""
|
982
982
|
retrieves data on all markets for gate
|
983
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-currency-pairs-supported # spot
|
984
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-supported-currency-pairs-supported-in-margin-trading # margin
|
985
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts # swap
|
986
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
987
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
983
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-currency-pairs-supported # spot
|
984
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-supported-currency-pairs-supported-in-margin-trading # margin
|
985
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts # swap
|
986
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
987
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
988
988
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
989
989
|
:returns dict[]: an array of objects representing market data
|
990
990
|
"""
|
@@ -1872,7 +1872,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1872
1872
|
async def fetch_deposit_address(self, code: str, params={}):
|
1873
1873
|
"""
|
1874
1874
|
fetch the deposit address for a currency associated with self account
|
1875
|
-
see https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
1875
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
1876
1876
|
:param str code: unified currency code
|
1877
1877
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1878
1878
|
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
@@ -1925,7 +1925,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1925
1925
|
async def fetch_trading_fee(self, symbol: str, params={}):
|
1926
1926
|
"""
|
1927
1927
|
fetch the trading fees for a market
|
1928
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1928
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1929
1929
|
:param str symbol: unified market symbol
|
1930
1930
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1931
1931
|
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1955,7 +1955,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1955
1955
|
async def fetch_trading_fees(self, params={}):
|
1956
1956
|
"""
|
1957
1957
|
fetch the trading fees for multiple markets
|
1958
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1958
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1959
1959
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1960
1960
|
:returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
|
1961
1961
|
"""
|
@@ -2017,7 +2017,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2017
2017
|
"""
|
2018
2018
|
* @deprecated
|
2019
2019
|
please use fetchDepositWithdrawFees instead
|
2020
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2020
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2021
2021
|
:param str[]|None codes: list of unified currency codes
|
2022
2022
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2023
2023
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2068,7 +2068,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2068
2068
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2069
2069
|
"""
|
2070
2070
|
fetch deposit and withdraw fees
|
2071
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2071
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2072
2072
|
:param str[]|None codes: list of unified currency codes
|
2073
2073
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2074
2074
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2219,10 +2219,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2219
2219
|
async def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
2220
2220
|
"""
|
2221
2221
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
2222
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-order-book
|
2223
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-order-book
|
2224
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-order-book-2
|
2225
|
-
see https://www.gate.io/docs/developers/apiv4/en/#options-order-book
|
2222
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-order-book
|
2223
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-order-book
|
2224
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-order-book-2
|
2225
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#options-order-book
|
2226
2226
|
:param str symbol: unified symbol of the market to fetch the order book for
|
2227
2227
|
:param int [limit]: the maximum amount of order book entries to return
|
2228
2228
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
@@ -2327,10 +2327,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2327
2327
|
async def fetch_ticker(self, symbol: str, params={}):
|
2328
2328
|
"""
|
2329
2329
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
2330
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2331
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2332
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2333
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2330
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2331
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2332
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2333
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2334
2334
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
2335
2335
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2336
2336
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -2474,10 +2474,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2474
2474
|
async def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
2475
2475
|
"""
|
2476
2476
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
2477
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2478
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2479
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2480
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2477
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2478
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2479
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2480
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2481
2481
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
2482
2482
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2483
2483
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -2726,10 +2726,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2726
2726
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2727
2727
|
"""
|
2728
2728
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
2729
|
-
see https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # spot
|
2730
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-futures-candlesticks # swap
|
2731
|
-
see https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # future
|
2732
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-options-candlesticks # option
|
2729
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # spot
|
2730
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-futures-candlesticks # swap
|
2731
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # future
|
2732
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-options-candlesticks # option
|
2733
2733
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
2734
2734
|
:param str timeframe: the length of time each candle represents
|
2735
2735
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -3017,10 +3017,10 @@ class gate(Exchange, ImplicitAPI):
|
|
3017
3017
|
async def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3018
3018
|
"""
|
3019
3019
|
Fetch personal trading history
|
3020
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history
|
3021
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-2
|
3022
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-3
|
3023
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-4
|
3020
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history
|
3021
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-2
|
3022
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-3
|
3023
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-4
|
3024
3024
|
:param str symbol: unified market symbol
|
3025
3025
|
:param int [since]: the earliest time in ms to fetch trades for
|
3026
3026
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -3772,7 +3772,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3772
3772
|
async def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
3773
3773
|
"""
|
3774
3774
|
edit a trade order, gate currently only supports the modification of the price or amount fields
|
3775
|
-
see https://www.gate.io/docs/developers/apiv4/en/#amend-an-order
|
3775
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#amend-an-order
|
3776
3776
|
:param str id: order id
|
3777
3777
|
:param str symbol: unified symbol of the market to create an order in
|
3778
3778
|
:param str type: 'market' or 'limit'
|
@@ -4088,10 +4088,10 @@ class gate(Exchange, ImplicitAPI):
|
|
4088
4088
|
async def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
4089
4089
|
"""
|
4090
4090
|
Retrieves information on an order
|
4091
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order
|
4092
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-2
|
4093
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-3
|
4094
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-4
|
4091
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order
|
4092
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-2
|
4093
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-3
|
4094
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-4
|
4095
4095
|
:param str id: Order id
|
4096
4096
|
:param str symbol: Unified market symbol, *required for spot and margin*
|
4097
4097
|
:param dict [params]: Parameters specified by the exchange api
|
@@ -4503,7 +4503,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4503
4503
|
async def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
4504
4504
|
"""
|
4505
4505
|
transfer currency internally between wallets on the same account
|
4506
|
-
see https://www.gate.io/docs/developers/apiv4/en/#transfer-between-trading-accounts
|
4506
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#transfer-between-trading-accounts
|
4507
4507
|
:param str code: unified currency code for currency being transferred
|
4508
4508
|
:param float amount: the amount of currency to transfer
|
4509
4509
|
:param str fromAccount: the account to transfer currency from
|
@@ -4737,9 +4737,9 @@ class gate(Exchange, ImplicitAPI):
|
|
4737
4737
|
async def fetch_position(self, symbol: str, params={}):
|
4738
4738
|
"""
|
4739
4739
|
fetch data on an open contract position
|
4740
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-single-position
|
4741
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-single-position-2
|
4742
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4740
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-single-position
|
4741
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-single-position-2
|
4742
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4743
4743
|
:param str symbol: unified market symbol of the market the position is held in
|
4744
4744
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4745
4745
|
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -4813,9 +4813,9 @@ class gate(Exchange, ImplicitAPI):
|
|
4813
4813
|
async def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
4814
4814
|
"""
|
4815
4815
|
fetch all open positions
|
4816
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
4817
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
4818
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
4816
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
4817
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
4818
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
4819
4819
|
:param str[]|None symbols: Not used by gate, but parsed internally by CCXT
|
4820
4820
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4821
4821
|
:param str [params.settle]: 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
@@ -5140,8 +5140,8 @@ class gate(Exchange, ImplicitAPI):
|
|
5140
5140
|
async def repay_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
5141
5141
|
"""
|
5142
5142
|
repay borrowed margin and interest
|
5143
|
-
see https://www.gate.io/docs/apiv4/en/#repay-cross-margin-loan
|
5144
|
-
see https://www.gate.io/docs/apiv4/en/#repay-a-loan
|
5143
|
+
:see: https://www.gate.io/docs/apiv4/en/#repay-cross-margin-loan
|
5144
|
+
:see: https://www.gate.io/docs/apiv4/en/#repay-a-loan
|
5145
5145
|
:param str code: unified currency code of the currency to repay
|
5146
5146
|
:param float amount: the amount to repay
|
5147
5147
|
:param str symbol: unified market symbol, required for isolated margin
|
@@ -5218,8 +5218,8 @@ class gate(Exchange, ImplicitAPI):
|
|
5218
5218
|
async def borrow_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
5219
5219
|
"""
|
5220
5220
|
create a loan to borrow margin
|
5221
|
-
see https://www.gate.io/docs/apiv4/en/#create-a-cross-margin-borrow-loan
|
5222
|
-
see https://www.gate.io/docs/apiv4/en/#lend-or-borrow
|
5221
|
+
:see: https://www.gate.io/docs/apiv4/en/#create-a-cross-margin-borrow-loan
|
5222
|
+
:see: https://www.gate.io/docs/apiv4/en/#lend-or-borrow
|
5223
5223
|
:param str code: unified currency code of the currency to borrow
|
5224
5224
|
:param float amount: the amount to borrow
|
5225
5225
|
:param str symbol: unified market symbol, required for isolated margin
|
@@ -5470,7 +5470,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5470
5470
|
async def fetch_open_interest_history(self, symbol: str, timeframe='5m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5471
5471
|
"""
|
5472
5472
|
Retrieves the open interest of a currency
|
5473
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-stats
|
5473
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-stats
|
5474
5474
|
:param str symbol: Unified CCXT market symbol
|
5475
5475
|
:param str timeframe: "5m", "15m", "30m", "1h", "4h", "1d"
|
5476
5476
|
:param int [since]: the time(ms) of the earliest record to retrieve unix timestamp
|
@@ -5551,7 +5551,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5551
5551
|
async def fetch_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5552
5552
|
"""
|
5553
5553
|
fetches historical settlement records
|
5554
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-settlement-history-2
|
5554
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-settlement-history-2
|
5555
5555
|
:param str symbol: unified market symbol of the settlement history, required on gate
|
5556
5556
|
:param int [since]: timestamp in ms
|
5557
5557
|
:param int [limit]: number of records
|
@@ -5594,7 +5594,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5594
5594
|
async def fetch_my_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5595
5595
|
"""
|
5596
5596
|
fetches historical settlement records of the user
|
5597
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-my-options-settlements
|
5597
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-my-options-settlements
|
5598
5598
|
:param str symbol: unified market symbol of the settlement history
|
5599
5599
|
:param int [since]: timestamp in ms
|
5600
5600
|
:param int [limit]: number of records
|
@@ -5716,11 +5716,11 @@ class gate(Exchange, ImplicitAPI):
|
|
5716
5716
|
async def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5717
5717
|
"""
|
5718
5718
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
5719
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book
|
5720
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-margin-account-balance-change-history
|
5721
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book-2
|
5722
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book-3
|
5723
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-account-changing-history
|
5719
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book
|
5720
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-margin-account-balance-change-history
|
5721
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book-2
|
5722
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book-3
|
5723
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-account-changing-history
|
5724
5724
|
:param str code: unified currency code
|
5725
5725
|
:param int [since]: timestamp in ms of the earliest ledger entry
|
5726
5726
|
:param int [limit]: max number of ledger entries to return
|
@@ -5944,7 +5944,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5944
5944
|
async def set_position_mode(self, hedged, symbol=None, params={}):
|
5945
5945
|
"""
|
5946
5946
|
set dual/hedged mode to True or False for a swap market, make sure all positions are closed and no orders are open before setting dual mode
|
5947
|
-
see https://www.gate.io/docs/developers/apiv4/en/#enable-or-disable-dual-mode
|
5947
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#enable-or-disable-dual-mode
|
5948
5948
|
:param bool hedged: set to True to enable dual mode
|
5949
5949
|
:param str|None symbol: if passed, dual mode is set for all markets with the same settle currency
|
5950
5950
|
:param dict params: extra parameters specific to the gate api endpoint
|
@@ -5991,7 +5991,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5991
5991
|
async def fetch_liquidations(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5992
5992
|
"""
|
5993
5993
|
retrieves the public liquidations of a trading pair
|
5994
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-liquidation-history
|
5994
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-liquidation-history
|
5995
5995
|
:param str symbol: unified CCXT market symbol
|
5996
5996
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
5997
5997
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
@@ -6030,9 +6030,9 @@ class gate(Exchange, ImplicitAPI):
|
|
6030
6030
|
async def fetch_my_liquidations(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
6031
6031
|
"""
|
6032
6032
|
retrieves the users liquidated positions
|
6033
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history
|
6034
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history-2
|
6035
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-liquidation-history-of-specified-underlying
|
6033
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history
|
6034
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history-2
|
6035
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-user-s-liquidation-history-of-specified-underlying
|
6036
6036
|
:param str symbol: unified CCXT market symbol
|
6037
6037
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
6038
6038
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
ccxt/async_support/gemini.py
CHANGED
@@ -914,7 +914,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
914
914
|
async def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
915
915
|
"""
|
916
916
|
get the list of most recent trades for a particular symbol
|
917
|
-
see https://docs.gemini.com/rest-api/#trade-history
|
917
|
+
:see: https://docs.gemini.com/rest-api/#trade-history
|
918
918
|
:param str symbol: unified symbol of the market to fetch trades for
|
919
919
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
920
920
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1264,7 +1264,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1264
1264
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1265
1265
|
"""
|
1266
1266
|
create a trade order
|
1267
|
-
see https://docs.gemini.com/rest-api/#new-order
|
1267
|
+
:see: https://docs.gemini.com/rest-api/#new-order
|
1268
1268
|
:param str symbol: unified symbol of the market to create an order in
|
1269
1269
|
:param str type: must be 'limit'
|
1270
1270
|
:param str side: 'buy' or 'sell'
|
@@ -1561,7 +1561,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1561
1561
|
|
1562
1562
|
async def fetch_deposit_address(self, code: str, params={}):
|
1563
1563
|
"""
|
1564
|
-
see https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1564
|
+
:see: https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1565
1565
|
fetch the deposit address for a currency associated with self account
|
1566
1566
|
:param str code: unified currency code
|
1567
1567
|
:param dict [params]: extra parameters specific to the endpoint
|
@@ -1578,7 +1578,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1578
1578
|
async def fetch_deposit_addresses_by_network(self, code: str, params={}):
|
1579
1579
|
"""
|
1580
1580
|
fetch a dictionary of addresses for a currency, indexed by network
|
1581
|
-
see https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1581
|
+
:see: https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1582
1582
|
:param str code: unified currency code of the currency for the deposit address
|
1583
1583
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
1584
1584
|
:param str [params.network]: *required* The chain of currency
|
ccxt/async_support/hitbtc.py
CHANGED
@@ -1516,7 +1516,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
1516
1516
|
async def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
1517
1517
|
"""
|
1518
1518
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
1519
|
-
see https://api.hitbtc.com/#candles
|
1519
|
+
:see: https://api.hitbtc.com/#candles
|
1520
1520
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
1521
1521
|
:param str timeframe: the length of time each candle represents
|
1522
1522
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -1938,9 +1938,9 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
1938
1938
|
async def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1939
1939
|
"""
|
1940
1940
|
create a trade order
|
1941
|
-
see https://api.hitbtc.com/#create-new-spot-order
|
1942
|
-
see https://api.hitbtc.com/#create-margin-order
|
1943
|
-
see https://api.hitbtc.com/#create-futures-order
|
1941
|
+
:see: https://api.hitbtc.com/#create-new-spot-order
|
1942
|
+
:see: https://api.hitbtc.com/#create-margin-order
|
1943
|
+
:see: https://api.hitbtc.com/#create-futures-order
|
1944
1944
|
:param str symbol: unified symbol of the market to create an order in
|
1945
1945
|
:param str type: 'market' or 'limit'
|
1946
1946
|
:param str side: 'buy' or 'sell'
|
@@ -2263,7 +2263,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
2263
2263
|
|
2264
2264
|
async def fetch_funding_rate_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2265
2265
|
"""
|
2266
|
-
see https://api.hitbtc.com/#funding-history
|
2266
|
+
:see: https://api.hitbtc.com/#funding-history
|
2267
2267
|
fetches historical funding rate prices
|
2268
2268
|
:param str symbol: unified symbol of the market to fetch the funding rate history for
|
2269
2269
|
:param int [since]: timestamp in ms of the earliest funding rate to fetch
|
@@ -2781,7 +2781,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
2781
2781
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2782
2782
|
"""
|
2783
2783
|
fetch deposit and withdraw fees
|
2784
|
-
see https://api.hitbtc.com/#currencies
|
2784
|
+
:see: https://api.hitbtc.com/#currencies
|
2785
2785
|
:param str[]|None codes: list of unified currency codes
|
2786
2786
|
:param dict [params]: extra parameters specific to the hitbtc api endpoint
|
2787
2787
|
:returns dict[]: a list of `fees structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
ccxt/async_support/hollaex.py
CHANGED
@@ -328,7 +328,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
328
328
|
async def fetch_currencies(self, params={}):
|
329
329
|
"""
|
330
330
|
fetches all available currencies on an exchange
|
331
|
-
see https://apidocs.hollaex.com/#constants
|
331
|
+
:see: https://apidocs.hollaex.com/#constants
|
332
332
|
:param dict [params]: extra parameters specific to the hollaex api endpoint
|
333
333
|
:returns dict: an associative dictionary of currencies
|
334
334
|
"""
|
@@ -1689,7 +1689,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
1689
1689
|
async def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
1690
1690
|
"""
|
1691
1691
|
fetch deposit and withdraw fees
|
1692
|
-
see https://apidocs.hollaex.com/#constants
|
1692
|
+
:see: https://apidocs.hollaex.com/#constants
|
1693
1693
|
:param str[]|None codes: list of unified currency codes
|
1694
1694
|
:param dict [params]: extra parameters specific to the hollaex api endpoint
|
1695
1695
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|