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/dist/cjs/ccxt.js
CHANGED
|
@@ -180,7 +180,7 @@ var woo$1 = require('./src/pro/woo.js');
|
|
|
180
180
|
|
|
181
181
|
//-----------------------------------------------------------------------------
|
|
182
182
|
// this is updated by vss.js when building
|
|
183
|
-
const version = '4.0.
|
|
183
|
+
const version = '4.0.75';
|
|
184
184
|
Exchange["default"].ccxtVersion = version;
|
|
185
185
|
const exchanges = {
|
|
186
186
|
'ace': ace,
|
package/dist/cjs/src/ace.js
CHANGED
|
@@ -288,7 +288,7 @@ class ace extends ace$1 {
|
|
|
288
288
|
* @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#oapi-api---trade-data
|
|
289
289
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
290
290
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
291
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
291
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
292
292
|
*/
|
|
293
293
|
await this.loadMarkets();
|
|
294
294
|
const market = this.market(symbol);
|
|
@@ -314,7 +314,7 @@ class ace extends ace$1 {
|
|
|
314
314
|
* @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#oapi-api---trade-data
|
|
315
315
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
316
316
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
317
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
317
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
318
318
|
*/
|
|
319
319
|
await this.loadMarkets();
|
|
320
320
|
const response = await this.publicGetOapiV2ListTradePrice();
|
|
@@ -347,7 +347,7 @@ class ace extends ace$1 {
|
|
|
347
347
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
348
348
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
349
349
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
350
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
350
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
351
351
|
*/
|
|
352
352
|
await this.loadMarkets();
|
|
353
353
|
const market = this.market(symbol);
|
|
@@ -591,9 +591,9 @@ class ace extends ace$1 {
|
|
|
591
591
|
* @param {string} type 'market' or 'limit'
|
|
592
592
|
* @param {string} side 'buy' or 'sell'
|
|
593
593
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
594
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
594
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
595
595
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
596
|
-
* @returns {object} an [order structure]{@link https://
|
|
596
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
597
597
|
*/
|
|
598
598
|
await this.loadMarkets();
|
|
599
599
|
const market = this.market(symbol);
|
|
@@ -630,7 +630,7 @@ class ace extends ace$1 {
|
|
|
630
630
|
* @param {string} id order id
|
|
631
631
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
632
632
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
633
|
-
* @returns {object} An [order structure]{@link https://
|
|
633
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
634
634
|
*/
|
|
635
635
|
await this.loadMarkets();
|
|
636
636
|
const request = {
|
|
@@ -655,7 +655,7 @@ class ace extends ace$1 {
|
|
|
655
655
|
* @see https://github.com/ace-exchange/ace-official-api-docs/blob/master/api_v2.md#open-api---order-status
|
|
656
656
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
657
657
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
658
|
-
* @returns {object} An [order structure]{@link https://
|
|
658
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
659
659
|
*/
|
|
660
660
|
await this.loadMarkets();
|
|
661
661
|
const request = {
|
|
@@ -697,7 +697,7 @@ class ace extends ace$1 {
|
|
|
697
697
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
698
698
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
699
699
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
700
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
700
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
701
701
|
*/
|
|
702
702
|
if (symbol === undefined) {
|
|
703
703
|
throw new errors.ArgumentsRequired(this.id + ' fetchOpenOrders() requires the symbol argument');
|
|
@@ -835,7 +835,7 @@ class ace extends ace$1 {
|
|
|
835
835
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
836
836
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
837
837
|
* @param {object} [params] extra parameters specific to the ace api endpoint
|
|
838
|
-
* @returns {object[]} a list of [trade structures]{@link https://
|
|
838
|
+
* @returns {object[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
839
839
|
*/
|
|
840
840
|
await this.loadMarkets();
|
|
841
841
|
const market = this.safeMarket(symbol);
|
package/dist/cjs/src/alpaca.js
CHANGED
|
@@ -364,7 +364,7 @@ class alpaca extends alpaca$1 {
|
|
|
364
364
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
365
365
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
366
366
|
* @param {object} [params] extra parameters specific to the alpaca api endpoint
|
|
367
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
367
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
368
368
|
*/
|
|
369
369
|
await this.loadMarkets();
|
|
370
370
|
const market = this.market(symbol);
|
|
@@ -507,10 +507,10 @@ class alpaca extends alpaca$1 {
|
|
|
507
507
|
* @param {string} type 'market', 'limit' or 'stop_limit'
|
|
508
508
|
* @param {string} side 'buy' or 'sell'
|
|
509
509
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
510
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
510
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
511
511
|
* @param {object} [params] extra parameters specific to the alpaca api endpoint
|
|
512
512
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
513
|
-
* @returns {object} an [order structure]{@link https://
|
|
513
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
514
514
|
*/
|
|
515
515
|
await this.loadMarkets();
|
|
516
516
|
const market = this.market(symbol);
|
|
@@ -594,7 +594,7 @@ class alpaca extends alpaca$1 {
|
|
|
594
594
|
* @param {string} id order id
|
|
595
595
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
596
596
|
* @param {object} [params] extra parameters specific to the alpaca api endpoint
|
|
597
|
-
* @returns {object} An [order structure]{@link https://
|
|
597
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
598
598
|
*/
|
|
599
599
|
const request = {
|
|
600
600
|
'order_id': id,
|
|
@@ -615,7 +615,7 @@ class alpaca extends alpaca$1 {
|
|
|
615
615
|
* @description fetches information on an order made by the user
|
|
616
616
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
617
617
|
* @param {object} [params] extra parameters specific to the alpaca api endpoint
|
|
618
|
-
* @returns {object} An [order structure]{@link https://
|
|
618
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
619
619
|
*/
|
|
620
620
|
await this.loadMarkets();
|
|
621
621
|
const request = {
|
|
@@ -635,7 +635,7 @@ class alpaca extends alpaca$1 {
|
|
|
635
635
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
636
636
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
637
637
|
* @param {object} [params] extra parameters specific to the alpaca api endpoint
|
|
638
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
638
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
639
639
|
*/
|
|
640
640
|
await this.loadMarkets();
|
|
641
641
|
let market = undefined;
|
package/dist/cjs/src/ascendex.js
CHANGED
|
@@ -701,7 +701,7 @@ class ascendex extends ascendex$1 {
|
|
|
701
701
|
* @name ascendex#fetchAccounts
|
|
702
702
|
* @description fetch all the accounts associated with a profile
|
|
703
703
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
704
|
-
* @returns {object} a dictionary of [account structures]{@link https://
|
|
704
|
+
* @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
|
|
705
705
|
*/
|
|
706
706
|
let accountGroup = this.safeString(this.options, 'account-group');
|
|
707
707
|
let response = undefined;
|
|
@@ -888,7 +888,7 @@ class ascendex extends ascendex$1 {
|
|
|
888
888
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
889
889
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
890
890
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
891
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
891
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
892
892
|
*/
|
|
893
893
|
await this.loadMarkets();
|
|
894
894
|
const market = this.market(symbol);
|
|
@@ -979,7 +979,7 @@ class ascendex extends ascendex$1 {
|
|
|
979
979
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
980
980
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
981
981
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
982
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
982
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
983
983
|
*/
|
|
984
984
|
await this.loadMarkets();
|
|
985
985
|
const market = this.market(symbol);
|
|
@@ -1015,7 +1015,7 @@ class ascendex extends ascendex$1 {
|
|
|
1015
1015
|
* @see https://ascendex.github.io/ascendex-futures-pro-api-v2/#ticker
|
|
1016
1016
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1017
1017
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
1018
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
1018
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
1019
1019
|
*/
|
|
1020
1020
|
await this.loadMarkets();
|
|
1021
1021
|
const request = {};
|
|
@@ -1416,7 +1416,7 @@ class ascendex extends ascendex$1 {
|
|
|
1416
1416
|
* @name ascendex#fetchTradingFees
|
|
1417
1417
|
* @description fetch the trading fees for multiple markets
|
|
1418
1418
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
1419
|
-
* @returns {object} a dictionary of [fee structures]{@link https://
|
|
1419
|
+
* @returns {object} a dictionary of [fee structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure} indexed by market symbols
|
|
1420
1420
|
*/
|
|
1421
1421
|
await this.loadMarkets();
|
|
1422
1422
|
await this.loadAccounts();
|
|
@@ -1468,12 +1468,12 @@ class ascendex extends ascendex$1 {
|
|
|
1468
1468
|
* @param {string} type "limit" or "market"
|
|
1469
1469
|
* @param {string} side "buy" or "sell"
|
|
1470
1470
|
* @param {float} amount the amount of currency to trade
|
|
1471
|
-
* @param {float} price *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
1471
|
+
* @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
|
|
1472
1472
|
* @param {object} [params] Extra parameters specific to the exchange API endpoint
|
|
1473
1473
|
* @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
|
|
1474
1474
|
* @param {bool} [params.postOnly] true or false
|
|
1475
1475
|
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
1476
|
-
* @returns [An order structure]{@link https://
|
|
1476
|
+
* @returns [An order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1477
1477
|
*/
|
|
1478
1478
|
await this.loadMarkets();
|
|
1479
1479
|
await this.loadAccounts();
|
|
@@ -1624,7 +1624,7 @@ class ascendex extends ascendex$1 {
|
|
|
1624
1624
|
* @description fetches information on an order made by the user
|
|
1625
1625
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1626
1626
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
1627
|
-
* @returns {object} An [order structure]{@link https://
|
|
1627
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1628
1628
|
*/
|
|
1629
1629
|
await this.loadMarkets();
|
|
1630
1630
|
await this.loadAccounts();
|
|
@@ -1737,7 +1737,7 @@ class ascendex extends ascendex$1 {
|
|
|
1737
1737
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1738
1738
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1739
1739
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
1740
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1740
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1741
1741
|
*/
|
|
1742
1742
|
await this.loadMarkets();
|
|
1743
1743
|
await this.loadAccounts();
|
|
@@ -1861,7 +1861,7 @@ class ascendex extends ascendex$1 {
|
|
|
1861
1861
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1862
1862
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
1863
1863
|
* @param {int} [params.until] the latest time in ms to fetch orders for
|
|
1864
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1864
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1865
1865
|
*/
|
|
1866
1866
|
await this.loadMarkets();
|
|
1867
1867
|
await this.loadAccounts();
|
|
@@ -2020,7 +2020,7 @@ class ascendex extends ascendex$1 {
|
|
|
2020
2020
|
* @param {string} id order id
|
|
2021
2021
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
2022
2022
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2023
|
-
* @returns {object} An [order structure]{@link https://
|
|
2023
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2024
2024
|
*/
|
|
2025
2025
|
if (symbol === undefined) {
|
|
2026
2026
|
throw new errors.ArgumentsRequired(this.id + ' cancelOrder() requires a symbol argument');
|
|
@@ -2138,7 +2138,7 @@ class ascendex extends ascendex$1 {
|
|
|
2138
2138
|
* @description cancel all open orders
|
|
2139
2139
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
2140
2140
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2141
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
2141
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
2142
2142
|
*/
|
|
2143
2143
|
await this.loadMarkets();
|
|
2144
2144
|
await this.loadAccounts();
|
|
@@ -2264,7 +2264,7 @@ class ascendex extends ascendex$1 {
|
|
|
2264
2264
|
* @description fetch the deposit address for a currency associated with this account
|
|
2265
2265
|
* @param {string} code unified currency code
|
|
2266
2266
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2267
|
-
* @returns {object} an [address structure]{@link https://
|
|
2267
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
2268
2268
|
*/
|
|
2269
2269
|
await this.loadMarkets();
|
|
2270
2270
|
const currency = this.currency(code);
|
|
@@ -2338,7 +2338,7 @@ class ascendex extends ascendex$1 {
|
|
|
2338
2338
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
2339
2339
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
2340
2340
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2341
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
2341
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
2342
2342
|
*/
|
|
2343
2343
|
const request = {
|
|
2344
2344
|
'txType': 'deposit',
|
|
@@ -2354,7 +2354,7 @@ class ascendex extends ascendex$1 {
|
|
|
2354
2354
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
2355
2355
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2356
2356
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2357
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
2357
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
2358
2358
|
*/
|
|
2359
2359
|
const request = {
|
|
2360
2360
|
'txType': 'withdrawal',
|
|
@@ -2370,7 +2370,7 @@ class ascendex extends ascendex$1 {
|
|
|
2370
2370
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
2371
2371
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
2372
2372
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2373
|
-
* @returns {object} a list of [transaction structure]{@link https://
|
|
2373
|
+
* @returns {object} a list of [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
2374
2374
|
*/
|
|
2375
2375
|
await this.loadMarkets();
|
|
2376
2376
|
const request = {
|
|
@@ -2492,7 +2492,7 @@ class ascendex extends ascendex$1 {
|
|
|
2492
2492
|
* @description fetch all open positions
|
|
2493
2493
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2494
2494
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2495
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
2495
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure}
|
|
2496
2496
|
*/
|
|
2497
2497
|
await this.loadMarkets();
|
|
2498
2498
|
await this.loadAccounts();
|
|
@@ -2658,7 +2658,7 @@ class ascendex extends ascendex$1 {
|
|
|
2658
2658
|
* @description fetch the funding rate for multiple markets
|
|
2659
2659
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2660
2660
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2661
|
-
* @returns {object} a dictionary of [funding rates structures]{@link https://
|
|
2661
|
+
* @returns {object} a dictionary of [funding rates structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-rates-structure}, indexe by market symbols
|
|
2662
2662
|
*/
|
|
2663
2663
|
await this.loadMarkets();
|
|
2664
2664
|
symbols = this.marketSymbols(symbols);
|
|
@@ -2740,7 +2740,7 @@ class ascendex extends ascendex$1 {
|
|
|
2740
2740
|
* @param {string} symbol unified market symbol
|
|
2741
2741
|
* @param {float} amount the amount of margin to remove
|
|
2742
2742
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2743
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2743
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#reduce-margin-structure}
|
|
2744
2744
|
*/
|
|
2745
2745
|
return await this.modifyMarginHelper(symbol, amount, 'reduce', params);
|
|
2746
2746
|
}
|
|
@@ -2752,7 +2752,7 @@ class ascendex extends ascendex$1 {
|
|
|
2752
2752
|
* @param {string} symbol unified market symbol
|
|
2753
2753
|
* @param {float} amount amount of margin to add
|
|
2754
2754
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2755
|
-
* @returns {object} a [margin structure]{@link https://
|
|
2755
|
+
* @returns {object} a [margin structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#add-margin-structure}
|
|
2756
2756
|
*/
|
|
2757
2757
|
return await this.modifyMarginHelper(symbol, amount, 'add', params);
|
|
2758
2758
|
}
|
|
@@ -2826,7 +2826,7 @@ class ascendex extends ascendex$1 {
|
|
|
2826
2826
|
* @description retrieve information on the maximum leverage, and maintenance margin for trades of varying trade sizes
|
|
2827
2827
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2828
2828
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2829
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://
|
|
2829
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#leverage-tiers-structure}, indexed by market symbols
|
|
2830
2830
|
*/
|
|
2831
2831
|
await this.loadMarkets();
|
|
2832
2832
|
const response = await this.v2PublicGetFuturesContract(params);
|
|
@@ -2984,7 +2984,7 @@ class ascendex extends ascendex$1 {
|
|
|
2984
2984
|
* @param {string} fromAccount account to transfer from
|
|
2985
2985
|
* @param {string} toAccount account to transfer to
|
|
2986
2986
|
* @param {object} [params] extra parameters specific to the ascendex api endpoint
|
|
2987
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
2987
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
2988
2988
|
*/
|
|
2989
2989
|
await this.loadMarkets();
|
|
2990
2990
|
await this.loadAccounts();
|
|
@@ -2769,7 +2769,7 @@ class Exchange {
|
|
|
2769
2769
|
* @description specifically fetches positions for specific symbol, unlike fetchPositions (which can work with multiple symbols, but because of that, it might be slower & more rate-limit consuming)
|
|
2770
2770
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
2771
2771
|
* @param {object} params extra parameters specific to the endpoint
|
|
2772
|
-
* @returns {object[]} a list of [position structure]{@link https://
|
|
2772
|
+
* @returns {object[]} a list of [position structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#position-structure} with maximum 3 items - one position for "one-way" mode, and two positions (long & short) for "two-way" (a.k.a. hedge) mode
|
|
2773
2773
|
*/
|
|
2774
2774
|
throw new errors.NotSupported(this.id + ' fetchPositionsBySymbol() is not supported yet');
|
|
2775
2775
|
}
|
|
@@ -3954,7 +3954,7 @@ class Exchange {
|
|
|
3954
3954
|
* @param {object} market ccxt market
|
|
3955
3955
|
* @param {int} [since] when defined, the response items are filtered to only include items after this timestamp
|
|
3956
3956
|
* @param {int} [limit] limits the number of items in the response
|
|
3957
|
-
* @returns {object[]} an array of [funding history structures]{@link https://
|
|
3957
|
+
* @returns {object[]} an array of [funding history structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#funding-history-structure}
|
|
3958
3958
|
*/
|
|
3959
3959
|
const result = [];
|
|
3960
3960
|
for (let i = 0; i < incomes.length; i++) {
|
package/dist/cjs/src/bigone.js
CHANGED
|
@@ -635,7 +635,7 @@ class bigone extends bigone$1 {
|
|
|
635
635
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
636
636
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
637
637
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
638
|
-
* @returns {object} a [ticker structure]{@link https://
|
|
638
|
+
* @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
639
639
|
*/
|
|
640
640
|
await this.loadMarkets();
|
|
641
641
|
const market = this.market(symbol);
|
|
@@ -669,7 +669,7 @@ class bigone extends bigone$1 {
|
|
|
669
669
|
* @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
|
|
670
670
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
671
671
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
672
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://
|
|
672
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
|
|
673
673
|
*/
|
|
674
674
|
await this.loadMarkets();
|
|
675
675
|
const request = {};
|
|
@@ -745,7 +745,7 @@ class bigone extends bigone$1 {
|
|
|
745
745
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
746
746
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
747
747
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
748
|
-
* @returns {object} A dictionary of [order book structures]{@link https://
|
|
748
|
+
* @returns {object} A dictionary of [order book structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-book-structure} indexed by market symbols
|
|
749
749
|
*/
|
|
750
750
|
await this.loadMarkets();
|
|
751
751
|
const market = this.market(symbol);
|
|
@@ -1153,9 +1153,9 @@ class bigone extends bigone$1 {
|
|
|
1153
1153
|
* @param {string} type 'market' or 'limit'
|
|
1154
1154
|
* @param {string} side 'buy' or 'sell'
|
|
1155
1155
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1156
|
-
* @param {float} price the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1156
|
+
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
1157
1157
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1158
|
-
* @returns {object} an [order structure]{@link https://
|
|
1158
|
+
* @returns {object} an [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1159
1159
|
*/
|
|
1160
1160
|
await this.loadMarkets();
|
|
1161
1161
|
const market = this.market(symbol);
|
|
@@ -1215,7 +1215,7 @@ class bigone extends bigone$1 {
|
|
|
1215
1215
|
* @param {string} id order id
|
|
1216
1216
|
* @param {string} symbol Not used by bigone cancelOrder ()
|
|
1217
1217
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1218
|
-
* @returns {object} An [order structure]{@link https://
|
|
1218
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1219
1219
|
*/
|
|
1220
1220
|
await this.loadMarkets();
|
|
1221
1221
|
const request = { 'id': id };
|
|
@@ -1242,7 +1242,7 @@ class bigone extends bigone$1 {
|
|
|
1242
1242
|
* @description cancel all open orders
|
|
1243
1243
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1244
1244
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1245
|
-
* @returns {object[]} a list of [order structures]{@link https://
|
|
1245
|
+
* @returns {object[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1246
1246
|
*/
|
|
1247
1247
|
await this.loadMarkets();
|
|
1248
1248
|
const market = this.market(symbol);
|
|
@@ -1271,7 +1271,7 @@ class bigone extends bigone$1 {
|
|
|
1271
1271
|
* @description fetches information on an order made by the user
|
|
1272
1272
|
* @param {string} symbol not used by bigone fetchOrder
|
|
1273
1273
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1274
|
-
* @returns {object} An [order structure]{@link https://
|
|
1274
|
+
* @returns {object} An [order structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1275
1275
|
*/
|
|
1276
1276
|
await this.loadMarkets();
|
|
1277
1277
|
const request = { 'id': id };
|
|
@@ -1288,7 +1288,7 @@ class bigone extends bigone$1 {
|
|
|
1288
1288
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1289
1289
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1290
1290
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1291
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1291
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1292
1292
|
*/
|
|
1293
1293
|
if (symbol === undefined) {
|
|
1294
1294
|
throw new errors.ArgumentsRequired(this.id + ' fetchOrders() requires a symbol argument');
|
|
@@ -1338,7 +1338,7 @@ class bigone extends bigone$1 {
|
|
|
1338
1338
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1339
1339
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1340
1340
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1341
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://
|
|
1341
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
|
|
1342
1342
|
*/
|
|
1343
1343
|
await this.loadMarkets();
|
|
1344
1344
|
if (symbol === undefined) {
|
|
@@ -1407,7 +1407,7 @@ class bigone extends bigone$1 {
|
|
|
1407
1407
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1408
1408
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1409
1409
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1410
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1410
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1411
1411
|
*/
|
|
1412
1412
|
const request = {
|
|
1413
1413
|
'state': 'PENDING',
|
|
@@ -1423,7 +1423,7 @@ class bigone extends bigone$1 {
|
|
|
1423
1423
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1424
1424
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1425
1425
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1426
|
-
* @returns {Order[]} a list of [order structures]{@link https://
|
|
1426
|
+
* @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
|
|
1427
1427
|
*/
|
|
1428
1428
|
const request = {
|
|
1429
1429
|
'state': 'FILLED',
|
|
@@ -1475,7 +1475,7 @@ class bigone extends bigone$1 {
|
|
|
1475
1475
|
* @description fetch the deposit address for a currency associated with this account
|
|
1476
1476
|
* @param {string} code unified currency code
|
|
1477
1477
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1478
|
-
* @returns {object} an [address structure]{@link https://
|
|
1478
|
+
* @returns {object} an [address structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#address-structure}
|
|
1479
1479
|
*/
|
|
1480
1480
|
await this.loadMarkets();
|
|
1481
1481
|
const currency = this.currency(code);
|
|
@@ -1624,7 +1624,7 @@ class bigone extends bigone$1 {
|
|
|
1624
1624
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1625
1625
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1626
1626
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1627
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1627
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1628
1628
|
*/
|
|
1629
1629
|
await this.loadMarkets();
|
|
1630
1630
|
const request = {
|
|
@@ -1675,7 +1675,7 @@ class bigone extends bigone$1 {
|
|
|
1675
1675
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1676
1676
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1677
1677
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1678
|
-
* @returns {object[]} a list of [transaction structures]{@link https://
|
|
1678
|
+
* @returns {object[]} a list of [transaction structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1679
1679
|
*/
|
|
1680
1680
|
await this.loadMarkets();
|
|
1681
1681
|
const request = {
|
|
@@ -1727,7 +1727,7 @@ class bigone extends bigone$1 {
|
|
|
1727
1727
|
* @param {string} fromAccount account to transfer from
|
|
1728
1728
|
* @param {string} toAccount account to transfer to
|
|
1729
1729
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1730
|
-
* @returns {object} a [transfer structure]{@link https://
|
|
1730
|
+
* @returns {object} a [transfer structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transfer-structure}
|
|
1731
1731
|
*/
|
|
1732
1732
|
await this.loadMarkets();
|
|
1733
1733
|
const currency = this.currency(code);
|
|
@@ -1798,7 +1798,7 @@ class bigone extends bigone$1 {
|
|
|
1798
1798
|
* @param {string} address the address to withdraw to
|
|
1799
1799
|
* @param {string} tag
|
|
1800
1800
|
* @param {object} [params] extra parameters specific to the bigone api endpoint
|
|
1801
|
-
* @returns {object} a [transaction structure]{@link https://
|
|
1801
|
+
* @returns {object} a [transaction structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#transaction-structure}
|
|
1802
1802
|
*/
|
|
1803
1803
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
1804
1804
|
await this.loadMarkets();
|