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/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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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/gate.py
CHANGED
@@ -979,11 +979,11 @@ class gate(Exchange, ImplicitAPI):
|
|
979
979
|
def fetch_markets(self, params={}):
|
980
980
|
"""
|
981
981
|
retrieves data on all markets for gate
|
982
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-currency-pairs-supported # spot
|
983
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-supported-currency-pairs-supported-in-margin-trading # margin
|
984
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts # swap
|
985
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
986
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
982
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-currency-pairs-supported # spot
|
983
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-supported-currency-pairs-supported-in-margin-trading # margin
|
984
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts # swap
|
985
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-futures-contracts-2 # future
|
986
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-the-contracts-with-specified-underlying-and-expiration-time # option
|
987
987
|
:param dict [params]: extra parameters specific to the exchange api endpoint
|
988
988
|
:returns dict[]: an array of objects representing market data
|
989
989
|
"""
|
@@ -1871,7 +1871,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1871
1871
|
def fetch_deposit_address(self, code: str, params={}):
|
1872
1872
|
"""
|
1873
1873
|
fetch the deposit address for a currency associated with self account
|
1874
|
-
see https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
1874
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
1875
1875
|
:param str code: unified currency code
|
1876
1876
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1877
1877
|
:returns dict: an `address structure <https://github.com/ccxt/ccxt/wiki/Manual#address-structure>`
|
@@ -1924,7 +1924,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1924
1924
|
def fetch_trading_fee(self, symbol: str, params={}):
|
1925
1925
|
"""
|
1926
1926
|
fetch the trading fees for a market
|
1927
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1927
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1928
1928
|
:param str symbol: unified market symbol
|
1929
1929
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1930
1930
|
:returns dict: a `fee structure <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -1954,7 +1954,7 @@ class gate(Exchange, ImplicitAPI):
|
|
1954
1954
|
def fetch_trading_fees(self, params={}):
|
1955
1955
|
"""
|
1956
1956
|
fetch the trading fees for multiple markets
|
1957
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1957
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
1958
1958
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
1959
1959
|
:returns dict: a dictionary of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>` indexed by market symbols
|
1960
1960
|
"""
|
@@ -2016,7 +2016,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2016
2016
|
"""
|
2017
2017
|
* @deprecated
|
2018
2018
|
please use fetchDepositWithdrawFees instead
|
2019
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2019
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2020
2020
|
:param str[]|None codes: list of unified currency codes
|
2021
2021
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2022
2022
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2067,7 +2067,7 @@ class gate(Exchange, ImplicitAPI):
|
|
2067
2067
|
def fetch_deposit_withdraw_fees(self, codes: Optional[List[str]] = None, params={}):
|
2068
2068
|
"""
|
2069
2069
|
fetch deposit and withdraw fees
|
2070
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2070
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
2071
2071
|
:param str[]|None codes: list of unified currency codes
|
2072
2072
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2073
2073
|
:returns dict: a list of `fee structures <https://github.com/ccxt/ccxt/wiki/Manual#fee-structure>`
|
@@ -2218,10 +2218,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2218
2218
|
def fetch_order_book(self, symbol: str, limit: Optional[int] = None, params={}):
|
2219
2219
|
"""
|
2220
2220
|
fetches information on open orders with bid(buy) and ask(sell) prices, volumes and other data
|
2221
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-order-book
|
2222
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-order-book
|
2223
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-order-book-2
|
2224
|
-
see https://www.gate.io/docs/developers/apiv4/en/#options-order-book
|
2221
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-order-book
|
2222
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-order-book
|
2223
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-order-book-2
|
2224
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#options-order-book
|
2225
2225
|
:param str symbol: unified symbol of the market to fetch the order book for
|
2226
2226
|
:param int [limit]: the maximum amount of order book entries to return
|
2227
2227
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
@@ -2326,10 +2326,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2326
2326
|
def fetch_ticker(self, symbol: str, params={}):
|
2327
2327
|
"""
|
2328
2328
|
fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
2329
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2330
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2331
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2332
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2329
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2330
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2331
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2332
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2333
2333
|
:param str symbol: unified symbol of the market to fetch the ticker for
|
2334
2334
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2335
2335
|
:returns dict: a `ticker structure <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -2473,10 +2473,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2473
2473
|
def fetch_tickers(self, symbols: Optional[List[str]] = None, params={}):
|
2474
2474
|
"""
|
2475
2475
|
fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
2476
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2477
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2478
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2479
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2476
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-details-of-a-specifc-order
|
2477
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers
|
2478
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-futures-tickers-2
|
2479
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
2480
2480
|
:param str[]|None symbols: unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
2481
2481
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
2482
2482
|
:returns dict: a dictionary of `ticker structures <https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure>`
|
@@ -2725,10 +2725,10 @@ class gate(Exchange, ImplicitAPI):
|
|
2725
2725
|
def fetch_ohlcv(self, symbol: str, timeframe='1m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
2726
2726
|
"""
|
2727
2727
|
fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
2728
|
-
see https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # spot
|
2729
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-futures-candlesticks # swap
|
2730
|
-
see https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # future
|
2731
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-options-candlesticks # option
|
2728
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # spot
|
2729
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-futures-candlesticks # swap
|
2730
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#market-candlesticks # future
|
2731
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-options-candlesticks # option
|
2732
2732
|
:param str symbol: unified symbol of the market to fetch OHLCV data for
|
2733
2733
|
:param str timeframe: the length of time each candle represents
|
2734
2734
|
:param int [since]: timestamp in ms of the earliest candle to fetch
|
@@ -3016,10 +3016,10 @@ class gate(Exchange, ImplicitAPI):
|
|
3016
3016
|
def fetch_my_trades(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
3017
3017
|
"""
|
3018
3018
|
Fetch personal trading history
|
3019
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history
|
3020
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-2
|
3021
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-3
|
3022
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-4
|
3019
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history
|
3020
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-2
|
3021
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-3
|
3022
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-personal-trading-history-4
|
3023
3023
|
:param str symbol: unified market symbol
|
3024
3024
|
:param int [since]: the earliest time in ms to fetch trades for
|
3025
3025
|
:param int [limit]: the maximum number of trades structures to retrieve
|
@@ -3771,7 +3771,7 @@ class gate(Exchange, ImplicitAPI):
|
|
3771
3771
|
def edit_order(self, id: str, symbol, type, side, amount=None, price=None, params={}):
|
3772
3772
|
"""
|
3773
3773
|
edit a trade order, gate currently only supports the modification of the price or amount fields
|
3774
|
-
see https://www.gate.io/docs/developers/apiv4/en/#amend-an-order
|
3774
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#amend-an-order
|
3775
3775
|
:param str id: order id
|
3776
3776
|
:param str symbol: unified symbol of the market to create an order in
|
3777
3777
|
:param str type: 'market' or 'limit'
|
@@ -4087,10 +4087,10 @@ class gate(Exchange, ImplicitAPI):
|
|
4087
4087
|
def fetch_order(self, id: str, symbol: Optional[str] = None, params={}):
|
4088
4088
|
"""
|
4089
4089
|
Retrieves information on an order
|
4090
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order
|
4091
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-2
|
4092
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-3
|
4093
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-4
|
4090
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order
|
4091
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-2
|
4092
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-3
|
4093
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-a-single-order-4
|
4094
4094
|
:param str id: Order id
|
4095
4095
|
:param str symbol: Unified market symbol, *required for spot and margin*
|
4096
4096
|
:param dict [params]: Parameters specified by the exchange api
|
@@ -4502,7 +4502,7 @@ class gate(Exchange, ImplicitAPI):
|
|
4502
4502
|
def transfer(self, code: str, amount, fromAccount, toAccount, params={}):
|
4503
4503
|
"""
|
4504
4504
|
transfer currency internally between wallets on the same account
|
4505
|
-
see https://www.gate.io/docs/developers/apiv4/en/#transfer-between-trading-accounts
|
4505
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#transfer-between-trading-accounts
|
4506
4506
|
:param str code: unified currency code for currency being transferred
|
4507
4507
|
:param float amount: the amount of currency to transfer
|
4508
4508
|
:param str fromAccount: the account to transfer currency from
|
@@ -4736,9 +4736,9 @@ class gate(Exchange, ImplicitAPI):
|
|
4736
4736
|
def fetch_position(self, symbol: str, params={}):
|
4737
4737
|
"""
|
4738
4738
|
fetch data on an open contract position
|
4739
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-single-position
|
4740
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-single-position-2
|
4741
|
-
see https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4739
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-single-position
|
4740
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-single-position-2
|
4741
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#get-specified-contract-position
|
4742
4742
|
:param str symbol: unified market symbol of the market the position is held in
|
4743
4743
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4744
4744
|
:returns dict: a `position structure <https://github.com/ccxt/ccxt/wiki/Manual#position-structure>`
|
@@ -4812,9 +4812,9 @@ class gate(Exchange, ImplicitAPI):
|
|
4812
4812
|
def fetch_positions(self, symbols: Optional[List[str]] = None, params={}):
|
4813
4813
|
"""
|
4814
4814
|
fetch all open positions
|
4815
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
4816
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
4817
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
4815
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user
|
4816
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-all-positions-of-a-user-2
|
4817
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-user-s-positions-of-specified-underlying
|
4818
4818
|
:param str[]|None symbols: Not used by gate, but parsed internally by CCXT
|
4819
4819
|
:param dict [params]: extra parameters specific to the gate api endpoint
|
4820
4820
|
:param str [params.settle]: 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
@@ -5139,8 +5139,8 @@ class gate(Exchange, ImplicitAPI):
|
|
5139
5139
|
def repay_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
5140
5140
|
"""
|
5141
5141
|
repay borrowed margin and interest
|
5142
|
-
see https://www.gate.io/docs/apiv4/en/#repay-cross-margin-loan
|
5143
|
-
see https://www.gate.io/docs/apiv4/en/#repay-a-loan
|
5142
|
+
:see: https://www.gate.io/docs/apiv4/en/#repay-cross-margin-loan
|
5143
|
+
:see: https://www.gate.io/docs/apiv4/en/#repay-a-loan
|
5144
5144
|
:param str code: unified currency code of the currency to repay
|
5145
5145
|
:param float amount: the amount to repay
|
5146
5146
|
:param str symbol: unified market symbol, required for isolated margin
|
@@ -5217,8 +5217,8 @@ class gate(Exchange, ImplicitAPI):
|
|
5217
5217
|
def borrow_margin(self, code: str, amount, symbol: Optional[str] = None, params={}):
|
5218
5218
|
"""
|
5219
5219
|
create a loan to borrow margin
|
5220
|
-
see https://www.gate.io/docs/apiv4/en/#create-a-cross-margin-borrow-loan
|
5221
|
-
see https://www.gate.io/docs/apiv4/en/#lend-or-borrow
|
5220
|
+
:see: https://www.gate.io/docs/apiv4/en/#create-a-cross-margin-borrow-loan
|
5221
|
+
:see: https://www.gate.io/docs/apiv4/en/#lend-or-borrow
|
5222
5222
|
:param str code: unified currency code of the currency to borrow
|
5223
5223
|
:param float amount: the amount to borrow
|
5224
5224
|
:param str symbol: unified market symbol, required for isolated margin
|
@@ -5469,7 +5469,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5469
5469
|
def fetch_open_interest_history(self, symbol: str, timeframe='5m', since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5470
5470
|
"""
|
5471
5471
|
Retrieves the open interest of a currency
|
5472
|
-
see https://www.gate.io/docs/developers/apiv4/en/#futures-stats
|
5472
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#futures-stats
|
5473
5473
|
:param str symbol: Unified CCXT market symbol
|
5474
5474
|
:param str timeframe: "5m", "15m", "30m", "1h", "4h", "1d"
|
5475
5475
|
:param int [since]: the time(ms) of the earliest record to retrieve unix timestamp
|
@@ -5550,7 +5550,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5550
5550
|
def fetch_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5551
5551
|
"""
|
5552
5552
|
fetches historical settlement records
|
5553
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-settlement-history-2
|
5553
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-settlement-history-2
|
5554
5554
|
:param str symbol: unified market symbol of the settlement history, required on gate
|
5555
5555
|
:param int [since]: timestamp in ms
|
5556
5556
|
:param int [limit]: number of records
|
@@ -5593,7 +5593,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5593
5593
|
def fetch_my_settlement_history(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5594
5594
|
"""
|
5595
5595
|
fetches historical settlement records of the user
|
5596
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-my-options-settlements
|
5596
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-my-options-settlements
|
5597
5597
|
:param str symbol: unified market symbol of the settlement history
|
5598
5598
|
:param int [since]: timestamp in ms
|
5599
5599
|
:param int [limit]: number of records
|
@@ -5715,11 +5715,11 @@ class gate(Exchange, ImplicitAPI):
|
|
5715
5715
|
def fetch_ledger(self, code: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5716
5716
|
"""
|
5717
5717
|
fetch the history of changes, actions done by the user or operations that altered the balance of the user
|
5718
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book
|
5719
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-margin-account-balance-change-history
|
5720
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book-2
|
5721
|
-
see https://www.gate.io/docs/developers/apiv4/en/#query-account-book-3
|
5722
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-account-changing-history
|
5718
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book
|
5719
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-margin-account-balance-change-history
|
5720
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book-2
|
5721
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#query-account-book-3
|
5722
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-account-changing-history
|
5723
5723
|
:param str code: unified currency code
|
5724
5724
|
:param int [since]: timestamp in ms of the earliest ledger entry
|
5725
5725
|
:param int [limit]: max number of ledger entries to return
|
@@ -5943,7 +5943,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5943
5943
|
def set_position_mode(self, hedged, symbol=None, params={}):
|
5944
5944
|
"""
|
5945
5945
|
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
|
5946
|
-
see https://www.gate.io/docs/developers/apiv4/en/#enable-or-disable-dual-mode
|
5946
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#enable-or-disable-dual-mode
|
5947
5947
|
:param bool hedged: set to True to enable dual mode
|
5948
5948
|
:param str|None symbol: if passed, dual mode is set for all markets with the same settle currency
|
5949
5949
|
:param dict params: extra parameters specific to the gate api endpoint
|
@@ -5990,7 +5990,7 @@ class gate(Exchange, ImplicitAPI):
|
|
5990
5990
|
def fetch_liquidations(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
5991
5991
|
"""
|
5992
5992
|
retrieves the public liquidations of a trading pair
|
5993
|
-
see https://www.gate.io/docs/developers/apiv4/en/#retrieve-liquidation-history
|
5993
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#retrieve-liquidation-history
|
5994
5994
|
:param str symbol: unified CCXT market symbol
|
5995
5995
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
5996
5996
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
@@ -6029,9 +6029,9 @@ class gate(Exchange, ImplicitAPI):
|
|
6029
6029
|
def fetch_my_liquidations(self, symbol: Optional[str] = None, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
6030
6030
|
"""
|
6031
6031
|
retrieves the users liquidated positions
|
6032
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history
|
6033
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history-2
|
6034
|
-
see https://www.gate.io/docs/developers/apiv4/en/#list-user-s-liquidation-history-of-specified-underlying
|
6032
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history
|
6033
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-liquidation-history-2
|
6034
|
+
:see: https://www.gate.io/docs/developers/apiv4/en/#list-user-s-liquidation-history-of-specified-underlying
|
6035
6035
|
:param str symbol: unified CCXT market symbol
|
6036
6036
|
:param int [since]: the earliest time in ms to fetch liquidations for
|
6037
6037
|
:param int [limit]: the maximum number of liquidation structures to retrieve
|
ccxt/gemini.py
CHANGED
@@ -913,7 +913,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
913
913
|
def fetch_trades(self, symbol: str, since: Optional[int] = None, limit: Optional[int] = None, params={}):
|
914
914
|
"""
|
915
915
|
get the list of most recent trades for a particular symbol
|
916
|
-
see https://docs.gemini.com/rest-api/#trade-history
|
916
|
+
:see: https://docs.gemini.com/rest-api/#trade-history
|
917
917
|
:param str symbol: unified symbol of the market to fetch trades for
|
918
918
|
:param int [since]: timestamp in ms of the earliest trade to fetch
|
919
919
|
:param int [limit]: the maximum amount of trades to fetch
|
@@ -1263,7 +1263,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1263
1263
|
def create_order(self, symbol: str, type: OrderType, side: OrderSide, amount, price=None, params={}):
|
1264
1264
|
"""
|
1265
1265
|
create a trade order
|
1266
|
-
see https://docs.gemini.com/rest-api/#new-order
|
1266
|
+
:see: https://docs.gemini.com/rest-api/#new-order
|
1267
1267
|
:param str symbol: unified symbol of the market to create an order in
|
1268
1268
|
:param str type: must be 'limit'
|
1269
1269
|
:param str side: 'buy' or 'sell'
|
@@ -1560,7 +1560,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1560
1560
|
|
1561
1561
|
def fetch_deposit_address(self, code: str, params={}):
|
1562
1562
|
"""
|
1563
|
-
see https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1563
|
+
:see: https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1564
1564
|
fetch the deposit address for a currency associated with self account
|
1565
1565
|
:param str code: unified currency code
|
1566
1566
|
:param dict [params]: extra parameters specific to the endpoint
|
@@ -1577,7 +1577,7 @@ class gemini(Exchange, ImplicitAPI):
|
|
1577
1577
|
def fetch_deposit_addresses_by_network(self, code: str, params={}):
|
1578
1578
|
"""
|
1579
1579
|
fetch a dictionary of addresses for a currency, indexed by network
|
1580
|
-
see https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1580
|
+
:see: https://docs.gemini.com/rest-api/#get-deposit-addresses
|
1581
1581
|
:param str code: unified currency code of the currency for the deposit address
|
1582
1582
|
:param dict [params]: extra parameters specific to the gemini api endpoint
|
1583
1583
|
:param str [params.network]: *required* The chain of currency
|
ccxt/hitbtc.py
CHANGED
@@ -1516,7 +1516,7 @@ class hitbtc(Exchange, ImplicitAPI):
|
|
1516
1516
|
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
|
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
|
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
|
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/hollaex.py
CHANGED
@@ -328,7 +328,7 @@ class hollaex(Exchange, ImplicitAPI):
|
|
328
328
|
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
|
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>`
|