ccxt 4.0.73 → 4.0.75
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.
- package/README.md +11 -11
- package/dist/ccxt.browser.js +2058 -1943
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +9 -9
- package/dist/cjs/src/alpaca.js +6 -6
- package/dist/cjs/src/ascendex.js +22 -22
- package/dist/cjs/src/base/Exchange.js +2 -2
- package/dist/cjs/src/bigone.js +17 -17
- package/dist/cjs/src/binance.js +51 -51
- package/dist/cjs/src/bingx.js +25 -26
- package/dist/cjs/src/bit2c.js +10 -10
- package/dist/cjs/src/bitbank.js +11 -11
- package/dist/cjs/src/bitbns.js +12 -12
- package/dist/cjs/src/bitfinex.js +19 -19
- package/dist/cjs/src/bitfinex2.js +25 -25
- package/dist/cjs/src/bitflyer.js +15 -15
- package/dist/cjs/src/bitforex.js +9 -9
- package/dist/cjs/src/bitget.js +34 -34
- package/dist/cjs/src/bithumb.js +9 -9
- package/dist/cjs/src/bitmart.js +42 -29
- package/dist/cjs/src/bitmex.js +19 -19
- package/dist/cjs/src/bitopro.js +18 -18
- package/dist/cjs/src/bitpanda.js +19 -19
- package/dist/cjs/src/bitrue.js +15 -15
- package/dist/cjs/src/bitso.js +19 -19
- package/dist/cjs/src/bitstamp.js +19 -19
- package/dist/cjs/src/bitstamp1.js +6 -6
- package/dist/cjs/src/bittrex.js +24 -24
- package/dist/cjs/src/bitvavo.js +16 -16
- package/dist/cjs/src/bkex.js +17 -17
- package/dist/cjs/src/bl3p.js +6 -6
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/btcalpha.js +13 -13
- package/dist/cjs/src/btcbox.js +8 -8
- package/dist/cjs/src/btcmarkets.js +15 -15
- package/dist/cjs/src/btctradeua.js +6 -6
- package/dist/cjs/src/btcturk.js +9 -9
- package/dist/cjs/src/bybit.js +148 -116
- package/dist/cjs/src/cex.js +12 -12
- package/dist/cjs/src/coinbase.js +20 -20
- package/dist/cjs/src/coinbasepro.js +22 -22
- package/dist/cjs/src/coincheck.js +10 -10
- package/dist/cjs/src/coinex.js +81 -35
- package/dist/cjs/src/coinfalcon.js +14 -14
- package/dist/cjs/src/coinmate.js +12 -12
- package/dist/cjs/src/coinone.js +10 -10
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +6 -6
- package/dist/cjs/src/cryptocom.js +24 -24
- package/dist/cjs/src/currencycom.js +18 -18
- package/dist/cjs/src/delta.js +23 -23
- package/dist/cjs/src/deribit.js +27 -27
- package/dist/cjs/src/digifinex.js +27 -27
- package/dist/cjs/src/exmo.js +24 -24
- package/dist/cjs/src/gate.js +34 -34
- package/dist/cjs/src/gemini.js +14 -14
- package/dist/cjs/src/hitbtc.js +30 -30
- package/dist/cjs/src/hollaex.js +20 -20
- package/dist/cjs/src/huobi.js +40 -40
- package/dist/cjs/src/huobijp.js +18 -18
- package/dist/cjs/src/idex.js +17 -17
- package/dist/cjs/src/independentreserve.js +10 -10
- package/dist/cjs/src/indodax.js +12 -12
- package/dist/cjs/src/kraken.js +25 -25
- package/dist/cjs/src/krakenfutures.js +12 -12
- package/dist/cjs/src/kucoin.js +29 -29
- package/dist/cjs/src/kucoinfutures.js +19 -19
- package/dist/cjs/src/kuna.js +10 -10
- package/dist/cjs/src/latoken.js +15 -15
- package/dist/cjs/src/lbank.js +10 -10
- package/dist/cjs/src/lbank2.js +21 -21
- package/dist/cjs/src/luno.js +14 -14
- package/dist/cjs/src/lykke.js +14 -14
- package/dist/cjs/src/mercado.js +10 -10
- package/dist/cjs/src/mexc.js +38 -38
- package/dist/cjs/src/ndax.js +18 -18
- package/dist/cjs/src/novadax.js +18 -18
- package/dist/cjs/src/oceanex.js +14 -14
- package/dist/cjs/src/okcoin.js +19 -19
- package/dist/cjs/src/okx.js +48 -48
- package/dist/cjs/src/paymium.js +9 -9
- package/dist/cjs/src/phemex.js +24 -24
- package/dist/cjs/src/poloniex.js +77 -60
- package/dist/cjs/src/poloniexfutures.js +16 -16
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +2 -2
- package/dist/cjs/src/pro/binance.js +10 -10
- package/dist/cjs/src/pro/bitfinex.js +3 -3
- package/dist/cjs/src/pro/bitfinex2.js +4 -4
- package/dist/cjs/src/pro/bitget.js +4 -4
- package/dist/cjs/src/pro/bitmart.js +3 -3
- package/dist/cjs/src/pro/bitmex.js +4 -4
- package/dist/cjs/src/pro/bitopro.js +2 -2
- package/dist/cjs/src/pro/bitrue.js +1 -1
- package/dist/cjs/src/pro/bitstamp.js +2 -2
- package/dist/cjs/src/pro/bittrex.js +4 -4
- package/dist/cjs/src/pro/bitvavo.js +4 -4
- package/dist/cjs/src/pro/bybit.js +12 -11
- package/dist/cjs/src/pro/cex.js +3 -3
- package/dist/cjs/src/pro/coinbasepro.js +5 -5
- package/dist/cjs/src/pro/coinex.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +7 -7
- package/dist/cjs/src/pro/currencycom.js +2 -2
- package/dist/cjs/src/pro/deribit.js +3 -3
- package/dist/cjs/src/pro/exmo.js +2 -2
- package/dist/cjs/src/pro/gate.js +5 -5
- package/dist/cjs/src/pro/gemini.js +2 -2
- package/dist/cjs/src/pro/hitbtc.js +2 -2
- package/dist/cjs/src/pro/hollaex.js +3 -3
- package/dist/cjs/src/pro/huobi.js +4 -4
- package/dist/cjs/src/pro/huobijp.js +2 -2
- package/dist/cjs/src/pro/idex.js +3 -3
- package/dist/cjs/src/pro/independentreserve.js +1 -1
- package/dist/cjs/src/pro/kraken.js +6 -6
- package/dist/cjs/src/pro/krakenfutures.js +2 -2
- package/dist/cjs/src/pro/kucoin.js +4 -4
- package/dist/cjs/src/pro/kucoinfutures.js +3 -3
- package/dist/cjs/src/pro/luno.js +1 -1
- package/dist/cjs/src/pro/ndax.js +2 -2
- package/dist/cjs/src/pro/okcoin.js +3 -3
- package/dist/cjs/src/pro/okx.js +12 -11
- package/dist/cjs/src/pro/phemex.js +4 -4
- package/dist/cjs/src/pro/poloniex.js +1 -1
- package/dist/cjs/src/pro/upbit.js +2 -2
- package/dist/cjs/src/pro/wazirx.js +3 -3
- package/dist/cjs/src/pro/whitebit.js +4 -4
- package/dist/cjs/src/probit.js +17 -17
- package/dist/cjs/src/tidex.js +11 -11
- package/dist/cjs/src/timex.js +14 -14
- package/dist/cjs/src/tokocrypto.js +16 -16
- package/dist/cjs/src/upbit.js +18 -18
- package/dist/cjs/src/wavesexchange.js +13 -13
- package/dist/cjs/src/wazirx.js +10 -10
- package/dist/cjs/src/whitebit.js +21 -21
- package/dist/cjs/src/woo.js +28 -22
- package/dist/cjs/src/yobit.js +14 -14
- package/dist/cjs/src/zaif.js +8 -8
- package/dist/cjs/src/zonda.js +13 -13
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bitmart.d.ts +13 -0
- package/js/src/abstract/bybit.d.ts +33 -21
- package/js/src/abstract/woo.d.ts +6 -0
- package/js/src/ace.js +9 -9
- package/js/src/alpaca.js +6 -6
- package/js/src/ascendex.js +22 -22
- package/js/src/base/Exchange.js +2 -2
- package/js/src/bigone.js +17 -17
- package/js/src/binance.js +51 -51
- package/js/src/bingx.js +25 -26
- package/js/src/bit2c.js +10 -10
- package/js/src/bitbank.js +11 -11
- package/js/src/bitbns.js +12 -12
- package/js/src/bitfinex.js +19 -19
- package/js/src/bitfinex2.js +25 -25
- package/js/src/bitflyer.js +15 -15
- package/js/src/bitforex.js +9 -9
- package/js/src/bitget.js +34 -34
- package/js/src/bithumb.js +9 -9
- package/js/src/bitmart.js +42 -29
- package/js/src/bitmex.js +19 -19
- package/js/src/bitopro.js +18 -18
- package/js/src/bitpanda.js +19 -19
- package/js/src/bitrue.js +15 -15
- package/js/src/bitso.js +19 -19
- package/js/src/bitstamp.js +19 -19
- package/js/src/bitstamp1.js +6 -6
- package/js/src/bittrex.js +24 -24
- package/js/src/bitvavo.js +16 -16
- package/js/src/bkex.js +17 -17
- package/js/src/bl3p.js +6 -6
- package/js/src/blockchaincom.js +20 -20
- package/js/src/btcalpha.js +13 -13
- package/js/src/btcbox.js +8 -8
- package/js/src/btcmarkets.js +15 -15
- package/js/src/btctradeua.js +6 -6
- package/js/src/btcturk.js +9 -9
- package/js/src/bybit.js +148 -116
- package/js/src/cex.js +12 -12
- package/js/src/coinbase.js +20 -20
- package/js/src/coinbasepro.js +22 -22
- package/js/src/coincheck.js +10 -10
- package/js/src/coinex.d.ts +1 -0
- package/js/src/coinex.js +81 -35
- package/js/src/coinfalcon.js +14 -14
- package/js/src/coinmate.js +12 -12
- package/js/src/coinone.js +10 -10
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.js +6 -6
- package/js/src/cryptocom.js +24 -24
- package/js/src/currencycom.js +18 -18
- package/js/src/delta.js +23 -23
- package/js/src/deribit.js +27 -27
- package/js/src/digifinex.js +27 -27
- package/js/src/exmo.js +24 -24
- package/js/src/gate.js +34 -34
- package/js/src/gemini.js +14 -14
- package/js/src/hitbtc.js +30 -30
- package/js/src/hollaex.js +20 -20
- package/js/src/huobi.js +40 -40
- package/js/src/huobijp.js +18 -18
- package/js/src/idex.js +17 -17
- package/js/src/independentreserve.js +10 -10
- package/js/src/indodax.js +12 -12
- package/js/src/kraken.js +25 -25
- package/js/src/krakenfutures.js +12 -12
- package/js/src/kucoin.js +29 -29
- package/js/src/kucoinfutures.js +19 -19
- package/js/src/kuna.js +10 -10
- package/js/src/latoken.js +15 -15
- package/js/src/lbank.js +10 -10
- package/js/src/lbank2.js +21 -21
- package/js/src/luno.js +14 -14
- package/js/src/lykke.js +14 -14
- package/js/src/mercado.js +10 -10
- package/js/src/mexc.js +38 -38
- package/js/src/ndax.js +18 -18
- package/js/src/novadax.js +18 -18
- package/js/src/oceanex.js +14 -14
- package/js/src/okcoin.js +19 -19
- package/js/src/okx.js +48 -48
- package/js/src/paymium.js +9 -9
- package/js/src/phemex.js +24 -24
- package/js/src/poloniex.js +77 -60
- package/js/src/poloniexfutures.js +16 -16
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/ascendex.js +2 -2
- package/js/src/pro/binance.js +10 -10
- package/js/src/pro/bitfinex.js +3 -3
- package/js/src/pro/bitfinex2.js +4 -4
- package/js/src/pro/bitget.js +4 -4
- package/js/src/pro/bitmart.js +3 -3
- package/js/src/pro/bitmex.js +4 -4
- package/js/src/pro/bitopro.js +2 -2
- package/js/src/pro/bitrue.js +1 -1
- package/js/src/pro/bitstamp.js +2 -2
- package/js/src/pro/bittrex.js +4 -4
- package/js/src/pro/bitvavo.js +4 -4
- package/js/src/pro/bybit.d.ts +1 -1
- package/js/src/pro/bybit.js +12 -11
- package/js/src/pro/cex.js +3 -3
- package/js/src/pro/coinbasepro.js +5 -5
- package/js/src/pro/coinex.js +3 -3
- package/js/src/pro/cryptocom.js +7 -7
- package/js/src/pro/currencycom.js +2 -2
- package/js/src/pro/deribit.js +3 -3
- package/js/src/pro/exmo.js +2 -2
- package/js/src/pro/gate.js +5 -5
- package/js/src/pro/gemini.js +2 -2
- package/js/src/pro/hitbtc.js +2 -2
- package/js/src/pro/hollaex.js +3 -3
- package/js/src/pro/huobi.js +4 -4
- package/js/src/pro/huobijp.js +2 -2
- package/js/src/pro/idex.js +3 -3
- package/js/src/pro/independentreserve.js +1 -1
- package/js/src/pro/kraken.js +6 -6
- package/js/src/pro/krakenfutures.js +2 -2
- package/js/src/pro/kucoin.js +4 -4
- package/js/src/pro/kucoinfutures.js +3 -3
- package/js/src/pro/luno.js +1 -1
- package/js/src/pro/ndax.js +2 -2
- package/js/src/pro/okcoin.js +3 -3
- package/js/src/pro/okx.d.ts +1 -1
- package/js/src/pro/okx.js +12 -11
- package/js/src/pro/phemex.js +4 -4
- package/js/src/pro/poloniex.js +1 -1
- package/js/src/pro/upbit.js +2 -2
- package/js/src/pro/wazirx.js +3 -3
- package/js/src/pro/whitebit.js +4 -4
- package/js/src/probit.js +17 -17
- package/js/src/tidex.js +11 -11
- package/js/src/timex.js +14 -14
- package/js/src/tokocrypto.js +16 -16
- package/js/src/upbit.js +18 -18
- package/js/src/wavesexchange.js +13 -13
- package/js/src/wazirx.js +10 -10
- package/js/src/whitebit.js +21 -21
- package/js/src/woo.js +28 -22
- package/js/src/yobit.js +14 -14
- package/js/src/zaif.js +8 -8
- package/js/src/zonda.js +13 -13
- package/package.json +1 -1
package/js/src/gate.js
CHANGED
|
@@ -1631,7 +1631,7 @@ export default class gate extends Exchange {
|
|
|
1631
1631
|
* @description fetch the current funding rate
|
|
1632
1632
|
* @param {string} symbol unified market symbol
|
|
1633
1633
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1634
|
-
* @returns {object} a [funding rate structure]{@link https://
|
|
1634
|
+
* @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
|
|
1635
1635
|
*/
|
|
1636
1636
|
await this.loadMarkets();
|
|
1637
1637
|
const market = this.market(symbol);
|
|
@@ -1693,7 +1693,7 @@ export default class gate extends Exchange {
|
|
|
1693
1693
|
* @description fetch the funding rate for multiple markets
|
|
1694
1694
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
1695
1695
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1696
|
-
* @returns {object} a dictionary of [funding rates structures]{@link https://
|
|
1696
|
+
* @returns {object} a dictionary of [funding rates structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure}, indexe by market symbols
|
|
1697
1697
|
*/
|
|
1698
1698
|
await this.loadMarkets();
|
|
1699
1699
|
symbols = this.marketSymbols(symbols);
|
|
@@ -1864,7 +1864,7 @@ export default class gate extends Exchange {
|
|
|
1864
1864
|
* @see https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
|
1865
1865
|
* @param {string} code unified currency code
|
|
1866
1866
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1867
|
-
* @returns {object} an [address structure]{@link https://
|
|
1867
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1868
1868
|
*/
|
|
1869
1869
|
await this.loadMarkets();
|
|
1870
1870
|
const currency = this.currency(code);
|
|
@@ -1923,7 +1923,7 @@ export default class gate extends Exchange {
|
|
|
1923
1923
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
|
1924
1924
|
* @param {string} symbol unified market symbol
|
|
1925
1925
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1926
|
-
* @returns {object} a [fee structure]{@link https://
|
|
1926
|
+
* @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1927
1927
|
*/
|
|
1928
1928
|
await this.loadMarkets();
|
|
1929
1929
|
const market = this.market(symbol);
|
|
@@ -1954,7 +1954,7 @@ export default class gate extends Exchange {
|
|
|
1954
1954
|
* @description fetch the trading fees for multiple markets
|
|
1955
1955
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
|
1956
1956
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1957
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
1957
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
1958
1958
|
*/
|
|
1959
1959
|
await this.loadMarkets();
|
|
1960
1960
|
const response = await this.privateWalletGetFee(params);
|
|
@@ -2020,7 +2020,7 @@ export default class gate extends Exchange {
|
|
|
2020
2020
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
2021
2021
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2022
2022
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2023
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2023
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2024
2024
|
*/
|
|
2025
2025
|
await this.loadMarkets();
|
|
2026
2026
|
const response = await this.privateWalletGetWithdrawStatus(params);
|
|
@@ -2078,7 +2078,7 @@ export default class gate extends Exchange {
|
|
|
2078
2078
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
2079
2079
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2080
2080
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2081
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2081
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2082
2082
|
*/
|
|
2083
2083
|
await this.loadMarkets();
|
|
2084
2084
|
const response = await this.privateWalletGetWithdrawStatus(params);
|
|
@@ -2161,7 +2161,7 @@ export default class gate extends Exchange {
|
|
|
2161
2161
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
2162
2162
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
2163
2163
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2164
|
-
* @returns {object} a [funding history structure]{@link https://
|
|
2164
|
+
* @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
|
|
2165
2165
|
*/
|
|
2166
2166
|
await this.loadMarkets();
|
|
2167
2167
|
// let defaultType = 'future';
|
|
@@ -2243,7 +2243,7 @@ export default class gate extends Exchange {
|
|
|
2243
2243
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
2244
2244
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
2245
2245
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2246
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
2246
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
2247
2247
|
*/
|
|
2248
2248
|
await this.loadMarkets();
|
|
2249
2249
|
const market = this.market(symbol);
|
|
@@ -2354,7 +2354,7 @@ export default class gate extends Exchange {
|
|
|
2354
2354
|
* @see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
|
2355
2355
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
2356
2356
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2357
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
2357
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
2358
2358
|
*/
|
|
2359
2359
|
await this.loadMarkets();
|
|
2360
2360
|
const market = this.market(symbol);
|
|
@@ -2510,7 +2510,7 @@ export default class gate extends Exchange {
|
|
|
2510
2510
|
* @see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
|
2511
2511
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
2512
2512
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2513
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
2513
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
2514
2514
|
*/
|
|
2515
2515
|
await this.loadMarkets();
|
|
2516
2516
|
symbols = this.marketSymbols(symbols);
|
|
@@ -3039,7 +3039,7 @@ export default class gate extends Exchange {
|
|
|
3039
3039
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
3040
3040
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
3041
3041
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3042
|
-
* @returns {object[]} a list of [trade structures]{@link https://
|
|
3042
|
+
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3043
3043
|
*/
|
|
3044
3044
|
await this.loadMarkets();
|
|
3045
3045
|
this.checkRequiredSymbol('fetchOrderTrades', symbol);
|
|
@@ -3087,7 +3087,7 @@ export default class gate extends Exchange {
|
|
|
3087
3087
|
* @param {int} [params.offset] *contract only* list offset, starting from 0
|
|
3088
3088
|
* @param {string} [params.last_id] *contract only* specify list staring point using the id of last record in previous list-query results
|
|
3089
3089
|
* @param {int} [params.count_total] *contract only* whether to return total number matched, default to 0(no return)
|
|
3090
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
3090
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3091
3091
|
*/
|
|
3092
3092
|
await this.loadMarkets();
|
|
3093
3093
|
let type = undefined;
|
|
@@ -3349,7 +3349,7 @@ export default class gate extends Exchange {
|
|
|
3349
3349
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
3350
3350
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
3351
3351
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3352
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
3352
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3353
3353
|
*/
|
|
3354
3354
|
await this.loadMarkets();
|
|
3355
3355
|
const request = {};
|
|
@@ -3378,7 +3378,7 @@ export default class gate extends Exchange {
|
|
|
3378
3378
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
3379
3379
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
3380
3380
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3381
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
3381
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3382
3382
|
*/
|
|
3383
3383
|
await this.loadMarkets();
|
|
3384
3384
|
const request = {};
|
|
@@ -3408,7 +3408,7 @@ export default class gate extends Exchange {
|
|
|
3408
3408
|
* @param {string} address the address to withdraw to
|
|
3409
3409
|
* @param {string} tag
|
|
3410
3410
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3411
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
3411
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3412
3412
|
*/
|
|
3413
3413
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
3414
3414
|
this.checkAddress(address);
|
|
@@ -3545,7 +3545,7 @@ export default class gate extends Exchange {
|
|
|
3545
3545
|
* @param {string} type 'limit' or 'market' *"market" is contract only*
|
|
3546
3546
|
* @param {string} side 'buy' or 'sell'
|
|
3547
3547
|
* @param {float} amount the amount of currency to trade
|
|
3548
|
-
* @param {float} price *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
3548
|
+
* @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
3549
3549
|
* @param {object} [params] Extra parameters specific to the exchange API endpoint
|
|
3550
3550
|
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
3551
3551
|
* @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
|
|
@@ -3559,7 +3559,7 @@ export default class gate extends Exchange {
|
|
|
3559
3559
|
* @param {bool} [params.close] *contract only* Set as true to close the position, with size set to 0
|
|
3560
3560
|
* @param {bool} [params.auto_size] *contract only* Set side to close dual-mode position, close_long closes the long side, while close_short the short one, size also needs to be set to 0
|
|
3561
3561
|
* @param {int} [params.price_type] *contract only* 0 latest deal price, 1 mark price, 2 index price
|
|
3562
|
-
* @returns {object|undefined} [An order structure]{@link https://
|
|
3562
|
+
* @returns {object|undefined} [An order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3563
3563
|
*/
|
|
3564
3564
|
await this.loadMarkets();
|
|
3565
3565
|
const market = this.market(symbol);
|
|
@@ -3880,9 +3880,9 @@ export default class gate extends Exchange {
|
|
|
3880
3880
|
* @param {string} type 'market' or 'limit'
|
|
3881
3881
|
* @param {string} side 'buy' or 'sell'
|
|
3882
3882
|
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
3883
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
|
|
3883
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
|
|
3884
3884
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3885
|
-
* @returns {object} an [order structure]{@link https://
|
|
3885
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3886
3886
|
*/
|
|
3887
3887
|
await this.loadMarkets();
|
|
3888
3888
|
const market = this.market(symbol);
|
|
@@ -4222,7 +4222,7 @@ export default class gate extends Exchange {
|
|
|
4222
4222
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
|
|
4223
4223
|
* @param {string} [params.type] 'spot', 'swap', or 'future', if not provided this.options['defaultMarginMode'] is used
|
|
4224
4224
|
* @param {string} [params.settle] 'btc' or 'usdt' - settle currency for perpetual swap and future - market settle currency is used if symbol !== undefined, default="usdt" for swap and "btc" for future
|
|
4225
|
-
* @returns An [order structure]{@link https://
|
|
4225
|
+
* @returns An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4226
4226
|
*/
|
|
4227
4227
|
await this.loadMarkets();
|
|
4228
4228
|
const stop = this.safeValue2(params, 'is_stop_order', 'stop', false);
|
|
@@ -4264,7 +4264,7 @@ export default class gate extends Exchange {
|
|
|
4264
4264
|
* @param {bool} [params.stop] true for fetching stop orders
|
|
4265
4265
|
* @param {string} [params.type] spot, margin, swap or future, if not provided this.options['defaultType'] is used
|
|
4266
4266
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for type='margin', if not provided this.options['defaultMarginMode'] is used
|
|
4267
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
4267
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4268
4268
|
*/
|
|
4269
4269
|
return await this.fetchOrdersByStatus('open', symbol, since, limit, params);
|
|
4270
4270
|
}
|
|
@@ -4280,7 +4280,7 @@ export default class gate extends Exchange {
|
|
|
4280
4280
|
* @param {bool} [params.stop] true for fetching stop orders
|
|
4281
4281
|
* @param {string} [params.type] spot, swap or future, if not provided this.options['defaultType'] is used
|
|
4282
4282
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
|
|
4283
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
4283
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4284
4284
|
*/
|
|
4285
4285
|
return await this.fetchOrdersByStatus('finished', symbol, since, limit, params);
|
|
4286
4286
|
}
|
|
@@ -4485,7 +4485,7 @@ export default class gate extends Exchange {
|
|
|
4485
4485
|
* @param {string} symbol Unified market symbol
|
|
4486
4486
|
* @param {object} [params] Parameters specified by the exchange api
|
|
4487
4487
|
* @param {bool} [params.stop] True if the order to be cancelled is a trigger order
|
|
4488
|
-
* @returns An [order structure]{@link https://
|
|
4488
|
+
* @returns An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4489
4489
|
*/
|
|
4490
4490
|
await this.loadMarkets();
|
|
4491
4491
|
const market = (symbol === undefined) ? undefined : this.market(symbol);
|
|
@@ -4593,7 +4593,7 @@ export default class gate extends Exchange {
|
|
|
4593
4593
|
* @description cancel all open orders
|
|
4594
4594
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
4595
4595
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4596
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
4596
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4597
4597
|
*/
|
|
4598
4598
|
await this.loadMarkets();
|
|
4599
4599
|
const market = (symbol === undefined) ? undefined : this.market(symbol);
|
|
@@ -4652,7 +4652,7 @@ export default class gate extends Exchange {
|
|
|
4652
4652
|
* @param {string} toAccount the account to transfer currency to
|
|
4653
4653
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4654
4654
|
* @param {string} [params.symbol] Unified market symbol *required for type == margin*
|
|
4655
|
-
* @returns A [transfer structure]{@link https://
|
|
4655
|
+
* @returns A [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
4656
4656
|
*/
|
|
4657
4657
|
await this.loadMarkets();
|
|
4658
4658
|
const currency = this.currency(code);
|
|
@@ -4988,7 +4988,7 @@ export default class gate extends Exchange {
|
|
|
4988
4988
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4989
4989
|
* @param {string} [params.settle] 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
|
4990
4990
|
* @param {string} [params.type] swap, future or option, if not provided this.options['defaultType'] is used
|
|
4991
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
4991
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
4992
4992
|
*/
|
|
4993
4993
|
await this.loadMarkets();
|
|
4994
4994
|
let market = undefined;
|
|
@@ -5088,7 +5088,7 @@ export default class gate extends Exchange {
|
|
|
5088
5088
|
* @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
|
5089
5089
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
5090
5090
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5091
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://
|
|
5091
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
|
|
5092
5092
|
*/
|
|
5093
5093
|
await this.loadMarkets();
|
|
5094
5094
|
const [type, query] = this.handleMarketTypeAndParams('fetchLeverageTiers', undefined, params);
|
|
@@ -5330,7 +5330,7 @@ export default class gate extends Exchange {
|
|
|
5330
5330
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5331
5331
|
* @param {string} [params.mode] 'all' or 'partial' payment mode, extra parameter required for isolated margin
|
|
5332
5332
|
* @param {string} [params.id] '34267567' loan id, extra parameter required for isolated margin
|
|
5333
|
-
* @returns {object} a [margin loan structure]{@link https://
|
|
5333
|
+
* @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
|
|
5334
5334
|
*/
|
|
5335
5335
|
const marginMode = this.safeString(params, 'marginMode'); // cross or isolated
|
|
5336
5336
|
params = this.omit(params, 'marginMode');
|
|
@@ -5413,7 +5413,7 @@ export default class gate extends Exchange {
|
|
|
5413
5413
|
* @param {string} symbol unified market symbol, required for isolated margin
|
|
5414
5414
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5415
5415
|
* @param {string} [params.rate] '0.0002' or '0.002' extra parameter required for isolated margin
|
|
5416
|
-
* @returns {object} a [margin loan structure]{@link https://
|
|
5416
|
+
* @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
|
|
5417
5417
|
*/
|
|
5418
5418
|
const marginMode = this.safeString(params, 'marginMode'); // cross or isolated
|
|
5419
5419
|
params = this.omit(params, 'marginMode');
|
|
@@ -5657,7 +5657,7 @@ export default class gate extends Exchange {
|
|
|
5657
5657
|
* @param {string} symbol unified market symbol
|
|
5658
5658
|
* @param {float} amount the amount of margin to remove
|
|
5659
5659
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
5660
|
-
* @returns {object} a [margin structure]{@link https://
|
|
5660
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
|
|
5661
5661
|
*/
|
|
5662
5662
|
return await this.modifyMarginHelper(symbol, -amount, params);
|
|
5663
5663
|
}
|
|
@@ -5669,7 +5669,7 @@ export default class gate extends Exchange {
|
|
|
5669
5669
|
* @param {string} symbol unified market symbol
|
|
5670
5670
|
* @param {float} amount amount of margin to add
|
|
5671
5671
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
5672
|
-
* @returns {object} a [margin structure]{@link https://
|
|
5672
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
|
|
5673
5673
|
*/
|
|
5674
5674
|
return await this.modifyMarginHelper(symbol, amount, params);
|
|
5675
5675
|
}
|
|
@@ -5684,7 +5684,7 @@ export default class gate extends Exchange {
|
|
|
5684
5684
|
* @param {int} [since] the time(ms) of the earliest record to retrieve as a unix timestamp
|
|
5685
5685
|
* @param {int} [limit] default 30
|
|
5686
5686
|
* @param {object} [params] exchange specific parameters
|
|
5687
|
-
* @returns {object} an open interest structure{@link https://
|
|
5687
|
+
* @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
|
|
5688
5688
|
*/
|
|
5689
5689
|
await this.loadMarkets();
|
|
5690
5690
|
const market = this.market(symbol);
|
|
@@ -5945,7 +5945,7 @@ export default class gate extends Exchange {
|
|
|
5945
5945
|
* @param {int} [since] timestamp in ms of the earliest ledger entry
|
|
5946
5946
|
* @param {int} [limit] max number of ledger entries to return
|
|
5947
5947
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5948
|
-
* @returns {object} a [ledger structure]{@link https://
|
|
5948
|
+
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
5949
5949
|
*/
|
|
5950
5950
|
await this.loadMarkets();
|
|
5951
5951
|
let type = undefined;
|
package/js/src/gemini.js
CHANGED
|
@@ -655,7 +655,7 @@ export default class gemini extends Exchange {
|
|
|
655
655
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
656
656
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
657
657
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
658
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
658
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
659
659
|
*/
|
|
660
660
|
await this.loadMarkets();
|
|
661
661
|
const market = this.market(symbol);
|
|
@@ -733,7 +733,7 @@ export default class gemini extends Exchange {
|
|
|
733
733
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
734
734
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
735
735
|
* @param {object} [params.fetchTickerMethod] 'fetchTickerV2', 'fetchTickerV1' or 'fetchTickerV1AndV2' - 'fetchTickerV1' for original ccxt.gemini.fetchTicker - 'fetchTickerV1AndV2' for 2 api calls to get the result of both fetchTicker methods - default = 'fetchTickerV1'
|
|
736
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
736
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
737
737
|
*/
|
|
738
738
|
const method = this.safeValue(this.options, 'fetchTickerMethod', 'fetchTickerV1');
|
|
739
739
|
return await this[method](symbol, params);
|
|
@@ -839,7 +839,7 @@ export default class gemini extends Exchange {
|
|
|
839
839
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
840
840
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
841
841
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
842
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
842
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
843
843
|
*/
|
|
844
844
|
await this.loadMarkets();
|
|
845
845
|
const response = await this.publicGetV1Pricefeed(params);
|
|
@@ -980,7 +980,7 @@ export default class gemini extends Exchange {
|
|
|
980
980
|
* @name gemini#fetchTradingFees
|
|
981
981
|
* @description fetch the trading fees for multiple markets
|
|
982
982
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
983
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
983
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
984
984
|
*/
|
|
985
985
|
await this.loadMarkets();
|
|
986
986
|
const response = await this.privatePostV1Notionalvolume(params);
|
|
@@ -1220,7 +1220,7 @@ export default class gemini extends Exchange {
|
|
|
1220
1220
|
* @description fetches information on an order made by the user
|
|
1221
1221
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1222
1222
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1223
|
-
* @returns {object} An [order structure]{@link https://
|
|
1223
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1224
1224
|
*/
|
|
1225
1225
|
await this.loadMarkets();
|
|
1226
1226
|
const request = {
|
|
@@ -1261,7 +1261,7 @@ export default class gemini extends Exchange {
|
|
|
1261
1261
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1262
1262
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1263
1263
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1264
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1264
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1265
1265
|
*/
|
|
1266
1266
|
await this.loadMarkets();
|
|
1267
1267
|
const response = await this.privatePostV1Orders(params);
|
|
@@ -1306,9 +1306,9 @@ export default class gemini extends Exchange {
|
|
|
1306
1306
|
* @param {string} type must be 'limit'
|
|
1307
1307
|
* @param {string} side 'buy' or 'sell'
|
|
1308
1308
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1309
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1309
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1310
1310
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1311
|
-
* @returns {object} an [order structure]{@link https://
|
|
1311
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1312
1312
|
*/
|
|
1313
1313
|
await this.loadMarkets();
|
|
1314
1314
|
if (type !== 'limit') {
|
|
@@ -1402,7 +1402,7 @@ export default class gemini extends Exchange {
|
|
|
1402
1402
|
* @param {string} id order id
|
|
1403
1403
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1404
1404
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1405
|
-
* @returns {object} An [order structure]{@link https://
|
|
1405
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1406
1406
|
*/
|
|
1407
1407
|
await this.loadMarkets();
|
|
1408
1408
|
const request = {
|
|
@@ -1444,7 +1444,7 @@ export default class gemini extends Exchange {
|
|
|
1444
1444
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1445
1445
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1446
1446
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1447
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1447
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1448
1448
|
*/
|
|
1449
1449
|
if (symbol === undefined) {
|
|
1450
1450
|
throw new ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
|
|
@@ -1473,7 +1473,7 @@ export default class gemini extends Exchange {
|
|
|
1473
1473
|
* @param {string} address the address to withdraw to
|
|
1474
1474
|
* @param {string} tag
|
|
1475
1475
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1476
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1476
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1477
1477
|
*/
|
|
1478
1478
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1479
1479
|
this.checkAddress(address);
|
|
@@ -1530,7 +1530,7 @@ export default class gemini extends Exchange {
|
|
|
1530
1530
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1531
1531
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1532
1532
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1533
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
1533
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1534
1534
|
*/
|
|
1535
1535
|
await this.loadMarkets();
|
|
1536
1536
|
const request = {};
|
|
@@ -1650,7 +1650,7 @@ export default class gemini extends Exchange {
|
|
|
1650
1650
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1651
1651
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1652
1652
|
* @param {string} [params.network] *required* The chain of currency
|
|
1653
|
-
* @returns {object} a dictionary of [address structures]{@link https://
|
|
1653
|
+
* @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
|
|
1654
1654
|
*/
|
|
1655
1655
|
await this.loadMarkets();
|
|
1656
1656
|
const currency = this.currency(code);
|
|
@@ -1737,7 +1737,7 @@ export default class gemini extends Exchange {
|
|
|
1737
1737
|
* @description create a currency deposit address
|
|
1738
1738
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1739
1739
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1740
|
-
* @returns {object} an [address structure]{@link https://
|
|
1740
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1741
1741
|
*/
|
|
1742
1742
|
await this.loadMarkets();
|
|
1743
1743
|
const currency = this.currency(code);
|