ccxt 4.0.74 → 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 +4 -4
- package/dist/ccxt.browser.js +2047 -1932
- 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 +21 -21
- 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 +5 -5
- 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 +21 -21
- 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.js +5 -5
- 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/dist/cjs/src/gate.js
CHANGED
|
@@ -1628,7 +1628,7 @@ class gate extends gate$1 {
|
|
|
1628
1628
|
* @description fetch the current funding rate
|
|
1629
1629
|
* @param {string} symbol unified market symbol
|
|
1630
1630
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1631
|
-
* @returns {object} a [funding rate structure]{@link https://
|
|
1631
|
+
* @returns {object} a [funding rate structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rate-structure}
|
|
1632
1632
|
*/
|
|
1633
1633
|
await this.loadMarkets();
|
|
1634
1634
|
const market = this.market(symbol);
|
|
@@ -1690,7 +1690,7 @@ class gate extends gate$1 {
|
|
|
1690
1690
|
* @description fetch the funding rate for multiple markets
|
|
1691
1691
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
1692
1692
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1693
|
-
* @returns {object} a dictionary of [funding rates structures]{@link https://
|
|
1693
|
+
* @returns {object} a dictionary of [funding rates structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure}, indexe by market symbols
|
|
1694
1694
|
*/
|
|
1695
1695
|
await this.loadMarkets();
|
|
1696
1696
|
symbols = this.marketSymbols(symbols);
|
|
@@ -1861,7 +1861,7 @@ class gate extends gate$1 {
|
|
|
1861
1861
|
* @see https://www.gate.io/docs/developers/apiv4/en/#generate-currency-deposit-address
|
|
1862
1862
|
* @param {string} code unified currency code
|
|
1863
1863
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1864
|
-
* @returns {object} an [address structure]{@link https://
|
|
1864
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1865
1865
|
*/
|
|
1866
1866
|
await this.loadMarkets();
|
|
1867
1867
|
const currency = this.currency(code);
|
|
@@ -1920,7 +1920,7 @@ class gate extends gate$1 {
|
|
|
1920
1920
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
|
1921
1921
|
* @param {string} symbol unified market symbol
|
|
1922
1922
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1923
|
-
* @returns {object} a [fee structure]{@link https://
|
|
1923
|
+
* @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
1924
1924
|
*/
|
|
1925
1925
|
await this.loadMarkets();
|
|
1926
1926
|
const market = this.market(symbol);
|
|
@@ -1951,7 +1951,7 @@ class gate extends gate$1 {
|
|
|
1951
1951
|
* @description fetch the trading fees for multiple markets
|
|
1952
1952
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-personal-trading-fee
|
|
1953
1953
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
1954
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
1954
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
1955
1955
|
*/
|
|
1956
1956
|
await this.loadMarkets();
|
|
1957
1957
|
const response = await this.privateWalletGetFee(params);
|
|
@@ -2017,7 +2017,7 @@ class gate extends gate$1 {
|
|
|
2017
2017
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
2018
2018
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2019
2019
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2020
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2020
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2021
2021
|
*/
|
|
2022
2022
|
await this.loadMarkets();
|
|
2023
2023
|
const response = await this.privateWalletGetWithdrawStatus(params);
|
|
@@ -2075,7 +2075,7 @@ class gate extends gate$1 {
|
|
|
2075
2075
|
* @see https://www.gate.io/docs/developers/apiv4/en/#retrieve-withdrawal-status
|
|
2076
2076
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2077
2077
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2078
|
-
* @returns {object} a list of [fee structures]{@link https://
|
|
2078
|
+
* @returns {object} a list of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
|
|
2079
2079
|
*/
|
|
2080
2080
|
await this.loadMarkets();
|
|
2081
2081
|
const response = await this.privateWalletGetWithdrawStatus(params);
|
|
@@ -2158,7 +2158,7 @@ class gate extends gate$1 {
|
|
|
2158
2158
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
2159
2159
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
2160
2160
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2161
|
-
* @returns {object} a [funding history structure]{@link https://
|
|
2161
|
+
* @returns {object} a [funding history structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
|
|
2162
2162
|
*/
|
|
2163
2163
|
await this.loadMarkets();
|
|
2164
2164
|
// let defaultType = 'future';
|
|
@@ -2240,7 +2240,7 @@ class gate extends gate$1 {
|
|
|
2240
2240
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
2241
2241
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
2242
2242
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2243
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
2243
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
2244
2244
|
*/
|
|
2245
2245
|
await this.loadMarkets();
|
|
2246
2246
|
const market = this.market(symbol);
|
|
@@ -2351,7 +2351,7 @@ class gate extends gate$1 {
|
|
|
2351
2351
|
* @see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
|
2352
2352
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
2353
2353
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2354
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
2354
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
2355
2355
|
*/
|
|
2356
2356
|
await this.loadMarkets();
|
|
2357
2357
|
const market = this.market(symbol);
|
|
@@ -2507,7 +2507,7 @@ class gate extends gate$1 {
|
|
|
2507
2507
|
* @see https://www.gate.io/docs/developers/apiv4/en/#list-tickers-of-options-contracts
|
|
2508
2508
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
2509
2509
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
2510
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
2510
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
2511
2511
|
*/
|
|
2512
2512
|
await this.loadMarkets();
|
|
2513
2513
|
symbols = this.marketSymbols(symbols);
|
|
@@ -3036,7 +3036,7 @@ class gate extends gate$1 {
|
|
|
3036
3036
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
3037
3037
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
3038
3038
|
* @param {object} [params] extra parameters specific to the binance api endpoint
|
|
3039
|
-
* @returns {object[]} a list of [trade structures]{@link https://
|
|
3039
|
+
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3040
3040
|
*/
|
|
3041
3041
|
await this.loadMarkets();
|
|
3042
3042
|
this.checkRequiredSymbol('fetchOrderTrades', symbol);
|
|
@@ -3084,7 +3084,7 @@ class gate extends gate$1 {
|
|
|
3084
3084
|
* @param {int} [params.offset] *contract only* list offset, starting from 0
|
|
3085
3085
|
* @param {string} [params.last_id] *contract only* specify list staring point using the id of last record in previous list-query results
|
|
3086
3086
|
* @param {int} [params.count_total] *contract only* whether to return total number matched, default to 0(no return)
|
|
3087
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
3087
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
3088
3088
|
*/
|
|
3089
3089
|
await this.loadMarkets();
|
|
3090
3090
|
let type = undefined;
|
|
@@ -3346,7 +3346,7 @@ class gate extends gate$1 {
|
|
|
3346
3346
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
3347
3347
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
3348
3348
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3349
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
3349
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3350
3350
|
*/
|
|
3351
3351
|
await this.loadMarkets();
|
|
3352
3352
|
const request = {};
|
|
@@ -3375,7 +3375,7 @@ class gate extends gate$1 {
|
|
|
3375
3375
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
3376
3376
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
3377
3377
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3378
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
3378
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3379
3379
|
*/
|
|
3380
3380
|
await this.loadMarkets();
|
|
3381
3381
|
const request = {};
|
|
@@ -3405,7 +3405,7 @@ class gate extends gate$1 {
|
|
|
3405
3405
|
* @param {string} address the address to withdraw to
|
|
3406
3406
|
* @param {string} tag
|
|
3407
3407
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3408
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
3408
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
3409
3409
|
*/
|
|
3410
3410
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
3411
3411
|
this.checkAddress(address);
|
|
@@ -3542,7 +3542,7 @@ class gate extends gate$1 {
|
|
|
3542
3542
|
* @param {string} type 'limit' or 'market' *"market" is contract only*
|
|
3543
3543
|
* @param {string} side 'buy' or 'sell'
|
|
3544
3544
|
* @param {float} amount the amount of currency to trade
|
|
3545
|
-
* @param {float} price *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
3545
|
+
* @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
3546
3546
|
* @param {object} [params] Extra parameters specific to the exchange API endpoint
|
|
3547
3547
|
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
3548
3548
|
* @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
|
|
@@ -3556,7 +3556,7 @@ class gate extends gate$1 {
|
|
|
3556
3556
|
* @param {bool} [params.close] *contract only* Set as true to close the position, with size set to 0
|
|
3557
3557
|
* @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
|
|
3558
3558
|
* @param {int} [params.price_type] *contract only* 0 latest deal price, 1 mark price, 2 index price
|
|
3559
|
-
* @returns {object|undefined} [An order structure]{@link https://
|
|
3559
|
+
* @returns {object|undefined} [An order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3560
3560
|
*/
|
|
3561
3561
|
await this.loadMarkets();
|
|
3562
3562
|
const market = this.market(symbol);
|
|
@@ -3877,9 +3877,9 @@ class gate extends gate$1 {
|
|
|
3877
3877
|
* @param {string} type 'market' or 'limit'
|
|
3878
3878
|
* @param {string} side 'buy' or 'sell'
|
|
3879
3879
|
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
3880
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
|
|
3880
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
|
|
3881
3881
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
3882
|
-
* @returns {object} an [order structure]{@link https://
|
|
3882
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
3883
3883
|
*/
|
|
3884
3884
|
await this.loadMarkets();
|
|
3885
3885
|
const market = this.market(symbol);
|
|
@@ -4219,7 +4219,7 @@ class gate extends gate$1 {
|
|
|
4219
4219
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
|
|
4220
4220
|
* @param {string} [params.type] 'spot', 'swap', or 'future', if not provided this.options['defaultMarginMode'] is used
|
|
4221
4221
|
* @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
|
|
4222
|
-
* @returns An [order structure]{@link https://
|
|
4222
|
+
* @returns An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4223
4223
|
*/
|
|
4224
4224
|
await this.loadMarkets();
|
|
4225
4225
|
const stop = this.safeValue2(params, 'is_stop_order', 'stop', false);
|
|
@@ -4261,7 +4261,7 @@ class gate extends gate$1 {
|
|
|
4261
4261
|
* @param {bool} [params.stop] true for fetching stop orders
|
|
4262
4262
|
* @param {string} [params.type] spot, margin, swap or future, if not provided this.options['defaultType'] is used
|
|
4263
4263
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for type='margin', if not provided this.options['defaultMarginMode'] is used
|
|
4264
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
4264
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4265
4265
|
*/
|
|
4266
4266
|
return await this.fetchOrdersByStatus('open', symbol, since, limit, params);
|
|
4267
4267
|
}
|
|
@@ -4277,7 +4277,7 @@ class gate extends gate$1 {
|
|
|
4277
4277
|
* @param {bool} [params.stop] true for fetching stop orders
|
|
4278
4278
|
* @param {string} [params.type] spot, swap or future, if not provided this.options['defaultType'] is used
|
|
4279
4279
|
* @param {string} [params.marginMode] 'cross' or 'isolated' - marginMode for margin trading if not provided this.options['defaultMarginMode'] is used
|
|
4280
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
4280
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4281
4281
|
*/
|
|
4282
4282
|
return await this.fetchOrdersByStatus('finished', symbol, since, limit, params);
|
|
4283
4283
|
}
|
|
@@ -4482,7 +4482,7 @@ class gate extends gate$1 {
|
|
|
4482
4482
|
* @param {string} symbol Unified market symbol
|
|
4483
4483
|
* @param {object} [params] Parameters specified by the exchange api
|
|
4484
4484
|
* @param {bool} [params.stop] True if the order to be cancelled is a trigger order
|
|
4485
|
-
* @returns An [order structure]{@link https://
|
|
4485
|
+
* @returns An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4486
4486
|
*/
|
|
4487
4487
|
await this.loadMarkets();
|
|
4488
4488
|
const market = (symbol === undefined) ? undefined : this.market(symbol);
|
|
@@ -4590,7 +4590,7 @@ class gate extends gate$1 {
|
|
|
4590
4590
|
* @description cancel all open orders
|
|
4591
4591
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
4592
4592
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4593
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
4593
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
4594
4594
|
*/
|
|
4595
4595
|
await this.loadMarkets();
|
|
4596
4596
|
const market = (symbol === undefined) ? undefined : this.market(symbol);
|
|
@@ -4649,7 +4649,7 @@ class gate extends gate$1 {
|
|
|
4649
4649
|
* @param {string} toAccount the account to transfer currency to
|
|
4650
4650
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4651
4651
|
* @param {string} [params.symbol] Unified market symbol *required for type == margin*
|
|
4652
|
-
* @returns A [transfer structure]{@link https://
|
|
4652
|
+
* @returns A [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
4653
4653
|
*/
|
|
4654
4654
|
await this.loadMarkets();
|
|
4655
4655
|
const currency = this.currency(code);
|
|
@@ -4985,7 +4985,7 @@ class gate extends gate$1 {
|
|
|
4985
4985
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
4986
4986
|
* @param {string} [params.settle] 'btc' or 'usdt' - settle currency for perpetual swap and future - default="usdt" for swap and "btc" for future
|
|
4987
4987
|
* @param {string} [params.type] swap, future or option, if not provided this.options['defaultType'] is used
|
|
4988
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
4988
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
4989
4989
|
*/
|
|
4990
4990
|
await this.loadMarkets();
|
|
4991
4991
|
let market = undefined;
|
|
@@ -5085,7 +5085,7 @@ class gate extends gate$1 {
|
|
|
5085
5085
|
* @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
|
5086
5086
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
5087
5087
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5088
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://
|
|
5088
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
|
|
5089
5089
|
*/
|
|
5090
5090
|
await this.loadMarkets();
|
|
5091
5091
|
const [type, query] = this.handleMarketTypeAndParams('fetchLeverageTiers', undefined, params);
|
|
@@ -5327,7 +5327,7 @@ class gate extends gate$1 {
|
|
|
5327
5327
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5328
5328
|
* @param {string} [params.mode] 'all' or 'partial' payment mode, extra parameter required for isolated margin
|
|
5329
5329
|
* @param {string} [params.id] '34267567' loan id, extra parameter required for isolated margin
|
|
5330
|
-
* @returns {object} a [margin loan structure]{@link https://
|
|
5330
|
+
* @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
|
|
5331
5331
|
*/
|
|
5332
5332
|
const marginMode = this.safeString(params, 'marginMode'); // cross or isolated
|
|
5333
5333
|
params = this.omit(params, 'marginMode');
|
|
@@ -5410,7 +5410,7 @@ class gate extends gate$1 {
|
|
|
5410
5410
|
* @param {string} symbol unified market symbol, required for isolated margin
|
|
5411
5411
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5412
5412
|
* @param {string} [params.rate] '0.0002' or '0.002' extra parameter required for isolated margin
|
|
5413
|
-
* @returns {object} a [margin loan structure]{@link https://
|
|
5413
|
+
* @returns {object} a [margin loan structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#margin-loan-structure}
|
|
5414
5414
|
*/
|
|
5415
5415
|
const marginMode = this.safeString(params, 'marginMode'); // cross or isolated
|
|
5416
5416
|
params = this.omit(params, 'marginMode');
|
|
@@ -5654,7 +5654,7 @@ class gate extends gate$1 {
|
|
|
5654
5654
|
* @param {string} symbol unified market symbol
|
|
5655
5655
|
* @param {float} amount the amount of margin to remove
|
|
5656
5656
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
5657
|
-
* @returns {object} a [margin structure]{@link https://
|
|
5657
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
|
|
5658
5658
|
*/
|
|
5659
5659
|
return await this.modifyMarginHelper(symbol, -amount, params);
|
|
5660
5660
|
}
|
|
@@ -5666,7 +5666,7 @@ class gate extends gate$1 {
|
|
|
5666
5666
|
* @param {string} symbol unified market symbol
|
|
5667
5667
|
* @param {float} amount amount of margin to add
|
|
5668
5668
|
* @param {object} [params] extra parameters specific to the exmo api endpoint
|
|
5669
|
-
* @returns {object} a [margin structure]{@link https://
|
|
5669
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
|
|
5670
5670
|
*/
|
|
5671
5671
|
return await this.modifyMarginHelper(symbol, amount, params);
|
|
5672
5672
|
}
|
|
@@ -5681,7 +5681,7 @@ class gate extends gate$1 {
|
|
|
5681
5681
|
* @param {int} [since] the time(ms) of the earliest record to retrieve as a unix timestamp
|
|
5682
5682
|
* @param {int} [limit] default 30
|
|
5683
5683
|
* @param {object} [params] exchange specific parameters
|
|
5684
|
-
* @returns {object} an open interest structure{@link https://
|
|
5684
|
+
* @returns {object} an open interest structure{@link https://github.com/ccxt/ccxt/wiki/Manual#interest-history-structure}
|
|
5685
5685
|
*/
|
|
5686
5686
|
await this.loadMarkets();
|
|
5687
5687
|
const market = this.market(symbol);
|
|
@@ -5942,7 +5942,7 @@ class gate extends gate$1 {
|
|
|
5942
5942
|
* @param {int} [since] timestamp in ms of the earliest ledger entry
|
|
5943
5943
|
* @param {int} [limit] max number of ledger entries to return
|
|
5944
5944
|
* @param {object} [params] extra parameters specific to the gate api endpoint
|
|
5945
|
-
* @returns {object} a [ledger structure]{@link https://
|
|
5945
|
+
* @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
|
|
5946
5946
|
*/
|
|
5947
5947
|
await this.loadMarkets();
|
|
5948
5948
|
let type = undefined;
|
package/dist/cjs/src/gemini.js
CHANGED
|
@@ -652,7 +652,7 @@ class gemini extends gemini$1 {
|
|
|
652
652
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
653
653
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
654
654
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
655
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
655
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
656
656
|
*/
|
|
657
657
|
await this.loadMarkets();
|
|
658
658
|
const market = this.market(symbol);
|
|
@@ -730,7 +730,7 @@ class gemini extends gemini$1 {
|
|
|
730
730
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
731
731
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
732
732
|
* @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'
|
|
733
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
733
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
734
734
|
*/
|
|
735
735
|
const method = this.safeValue(this.options, 'fetchTickerMethod', 'fetchTickerV1');
|
|
736
736
|
return await this[method](symbol, params);
|
|
@@ -836,7 +836,7 @@ class gemini extends gemini$1 {
|
|
|
836
836
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
837
837
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
838
838
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
839
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
839
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
840
840
|
*/
|
|
841
841
|
await this.loadMarkets();
|
|
842
842
|
const response = await this.publicGetV1Pricefeed(params);
|
|
@@ -977,7 +977,7 @@ class gemini extends gemini$1 {
|
|
|
977
977
|
* @name gemini#fetchTradingFees
|
|
978
978
|
* @description fetch the trading fees for multiple markets
|
|
979
979
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
980
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
980
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
981
981
|
*/
|
|
982
982
|
await this.loadMarkets();
|
|
983
983
|
const response = await this.privatePostV1Notionalvolume(params);
|
|
@@ -1217,7 +1217,7 @@ class gemini extends gemini$1 {
|
|
|
1217
1217
|
* @description fetches information on an order made by the user
|
|
1218
1218
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1219
1219
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1220
|
-
* @returns {object} An [order structure]{@link https://
|
|
1220
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1221
1221
|
*/
|
|
1222
1222
|
await this.loadMarkets();
|
|
1223
1223
|
const request = {
|
|
@@ -1258,7 +1258,7 @@ class gemini extends gemini$1 {
|
|
|
1258
1258
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1259
1259
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1260
1260
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1261
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1261
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1262
1262
|
*/
|
|
1263
1263
|
await this.loadMarkets();
|
|
1264
1264
|
const response = await this.privatePostV1Orders(params);
|
|
@@ -1303,9 +1303,9 @@ class gemini extends gemini$1 {
|
|
|
1303
1303
|
* @param {string} type must be 'limit'
|
|
1304
1304
|
* @param {string} side 'buy' or 'sell'
|
|
1305
1305
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1306
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1306
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1307
1307
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1308
|
-
* @returns {object} an [order structure]{@link https://
|
|
1308
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1309
1309
|
*/
|
|
1310
1310
|
await this.loadMarkets();
|
|
1311
1311
|
if (type !== 'limit') {
|
|
@@ -1399,7 +1399,7 @@ class gemini extends gemini$1 {
|
|
|
1399
1399
|
* @param {string} id order id
|
|
1400
1400
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1401
1401
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1402
|
-
* @returns {object} An [order structure]{@link https://
|
|
1402
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1403
1403
|
*/
|
|
1404
1404
|
await this.loadMarkets();
|
|
1405
1405
|
const request = {
|
|
@@ -1441,7 +1441,7 @@ class gemini extends gemini$1 {
|
|
|
1441
1441
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1442
1442
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1443
1443
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1444
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1444
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1445
1445
|
*/
|
|
1446
1446
|
if (symbol === undefined) {
|
|
1447
1447
|
throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
|
|
@@ -1470,7 +1470,7 @@ class gemini extends gemini$1 {
|
|
|
1470
1470
|
* @param {string} address the address to withdraw to
|
|
1471
1471
|
* @param {string} tag
|
|
1472
1472
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1473
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1473
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1474
1474
|
*/
|
|
1475
1475
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1476
1476
|
this.checkAddress(address);
|
|
@@ -1527,7 +1527,7 @@ class gemini extends gemini$1 {
|
|
|
1527
1527
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1528
1528
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1529
1529
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1530
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
1530
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1531
1531
|
*/
|
|
1532
1532
|
await this.loadMarkets();
|
|
1533
1533
|
const request = {};
|
|
@@ -1647,7 +1647,7 @@ class gemini extends gemini$1 {
|
|
|
1647
1647
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1648
1648
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1649
1649
|
* @param {string} [params.network] *required* The chain of currency
|
|
1650
|
-
* @returns {object} a dictionary of [address structures]{@link https://
|
|
1650
|
+
* @returns {object} a dictionary of [address structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure} indexed by the network
|
|
1651
1651
|
*/
|
|
1652
1652
|
await this.loadMarkets();
|
|
1653
1653
|
const currency = this.currency(code);
|
|
@@ -1734,7 +1734,7 @@ class gemini extends gemini$1 {
|
|
|
1734
1734
|
* @description create a currency deposit address
|
|
1735
1735
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1736
1736
|
* @param {object} [params] extra parameters specific to the gemini api endpoint
|
|
1737
|
-
* @returns {object} an [address structure]{@link https://
|
|
1737
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1738
1738
|
*/
|
|
1739
1739
|
await this.loadMarkets();
|
|
1740
1740
|
const currency = this.currency(code);
|