ccxt 4.4.85 → 4.4.86
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 +6 -7
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +6 -9
- package/dist/cjs/src/abstract/bittrade.js +9 -0
- package/dist/cjs/src/ascendex.js +189 -155
- package/dist/cjs/src/bequant.js +1 -1
- package/dist/cjs/src/bitget.js +5 -4
- package/dist/cjs/src/bitmart.js +1 -1
- package/dist/cjs/src/bittrade.js +2049 -0
- package/dist/cjs/src/coinbase.js +2 -6
- package/dist/cjs/src/deribit.js +4 -5
- package/dist/cjs/src/hollaex.js +107 -49
- package/dist/cjs/src/htx.js +20 -44
- package/dist/cjs/src/hyperliquid.js +4 -4
- package/dist/cjs/src/mexc.js +2 -2
- package/dist/cjs/src/ndax.js +25 -24
- package/dist/cjs/src/okcoin.js +12 -31
- package/dist/cjs/src/okx.js +9 -0
- package/dist/cjs/src/onetrading.js +9 -6
- package/dist/cjs/src/oxfun.js +42 -114
- package/dist/cjs/src/paradex.js +5 -1
- package/dist/cjs/src/pro/binance.js +1 -0
- package/dist/cjs/src/pro/bittrade.js +605 -0
- package/dist/cjs/src/pro/luno.js +6 -5
- package/dist/cjs/src/pro/mexc.js +3 -0
- package/js/ccxt.d.ts +8 -11
- package/js/ccxt.js +6 -8
- package/js/src/abstract/myokx.d.ts +2 -0
- package/js/src/abstract/okx.d.ts +2 -0
- package/js/src/ascendex.d.ts +2 -0
- package/js/src/ascendex.js +189 -155
- package/js/src/bequant.js +1 -1
- package/js/src/bitget.js +5 -4
- package/js/src/bitmart.js +1 -1
- package/js/src/{huobijp.d.ts → bittrade.d.ts} +29 -29
- package/js/src/{huobijp.js → bittrade.js} +35 -35
- package/js/src/coinbase.js +2 -6
- package/js/src/deribit.js +4 -5
- package/js/src/hollaex.js +107 -49
- package/js/src/htx.js +20 -44
- package/js/src/hyperliquid.js +4 -4
- package/js/src/mexc.js +2 -2
- package/js/src/ndax.js +25 -24
- package/js/src/okcoin.js +12 -31
- package/js/src/okx.js +9 -0
- package/js/src/onetrading.js +9 -6
- package/js/src/oxfun.js +42 -114
- package/js/src/paradex.js +5 -1
- package/js/src/pro/binance.js +1 -0
- package/js/src/pro/{huobijp.d.ts → bittrade.d.ts} +6 -6
- package/js/src/pro/{huobijp.js → bittrade.js} +7 -7
- package/js/src/pro/luno.js +6 -5
- package/js/src/pro/mexc.js +3 -0
- package/package.json +1 -1
- package/js/src/abstract/kuna.d.ts +0 -185
- package/js/src/abstract/kuna.js +0 -11
- package/js/src/kuna.d.ts +0 -335
- package/js/src/kuna.js +0 -2006
- /package/js/src/abstract/{huobijp.d.ts → bittrade.d.ts} +0 -0
- /package/js/src/abstract/{huobijp.js → bittrade.js} +0 -0
package/js/src/oxfun.js
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
// ---------------------------------------------------------------------------
|
|
8
8
|
import Exchange from './abstract/oxfun.js';
|
|
9
|
-
import { Precise } from './base/Precise.js';
|
|
10
9
|
import { AccountNotEnabled, ArgumentsRequired, AuthenticationError, BadRequest, BadSymbol, ExchangeError, InvalidOrder, InsufficientFunds, OrderNotFound, MarketClosed, NetworkError, NotSupported, OperationFailed, RateLimitExceeded, RequestTimeout } from './base/errors.js';
|
|
11
10
|
import { TICK_SIZE } from './base/functions/number.js';
|
|
12
11
|
import { sha256 } from './static_dependencies/noble-hashes/sha256.js';
|
|
@@ -602,66 +601,7 @@ export default class oxfun extends Exchange {
|
|
|
602
601
|
// "minDeposit": "0.00010",
|
|
603
602
|
// "minWithdrawal": "0.00010"
|
|
604
603
|
// },
|
|
605
|
-
//
|
|
606
|
-
// "network": "Arbitrum",
|
|
607
|
-
// "tokenId": "0xba0Dda8762C24dA9487f5FA026a9B64b695A07Ea",
|
|
608
|
-
// "transactionPrecision": "18",
|
|
609
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
610
|
-
// "canDeposit": true,
|
|
611
|
-
// "canWithdraw": true,
|
|
612
|
-
// "minDeposit": "0.00010",
|
|
613
|
-
// "minWithdrawal": "0.00010"
|
|
614
|
-
// },
|
|
615
|
-
// {
|
|
616
|
-
// "network": "Ethereum",
|
|
617
|
-
// "tokenId": "0xba0Dda8762C24dA9487f5FA026a9B64b695A07Ea",
|
|
618
|
-
// "transactionPrecision": "18",
|
|
619
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
620
|
-
// "canDeposit": true,
|
|
621
|
-
// "canWithdraw": true,
|
|
622
|
-
// "minDeposit": "0.00010",
|
|
623
|
-
// "minWithdrawal": "0.00010"
|
|
624
|
-
// },
|
|
625
|
-
// {
|
|
626
|
-
// "network": "Arbitrum",
|
|
627
|
-
// "tokenId": "0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6f",
|
|
628
|
-
// "transactionPrecision": "18",
|
|
629
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
630
|
-
// "canDeposit": true,
|
|
631
|
-
// "canWithdraw": false,
|
|
632
|
-
// "minDeposit": "0.00010",
|
|
633
|
-
// "minWithdrawal": "0.00010"
|
|
634
|
-
// },
|
|
635
|
-
// {
|
|
636
|
-
// "network": "Avalanche",
|
|
637
|
-
// "tokenId": "0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6f",
|
|
638
|
-
// "transactionPrecision": "18",
|
|
639
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
640
|
-
// "canDeposit": true,
|
|
641
|
-
// "canWithdraw": false,
|
|
642
|
-
// "minDeposit": "0.00010",
|
|
643
|
-
// "minWithdrawal": "0.00010"
|
|
644
|
-
// },
|
|
645
|
-
// {
|
|
646
|
-
// "network": "Solana",
|
|
647
|
-
// "tokenId": "DV3845GEAVXfwpyVGGgWbqBVCtzHdCXNCGfcdboSEuZz",
|
|
648
|
-
// "transactionPrecision": "8",
|
|
649
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
650
|
-
// "canDeposit": true,
|
|
651
|
-
// "canWithdraw": true,
|
|
652
|
-
// "minDeposit": "0.00010",
|
|
653
|
-
// "minWithdrawal": "0.00010"
|
|
654
|
-
// },
|
|
655
|
-
// {
|
|
656
|
-
// "network": "Ethereum",
|
|
657
|
-
// "tokenId": "0x78a0A62Fba6Fb21A83FE8a3433d44C73a4017A6f",
|
|
658
|
-
// "transactionPrecision": "18",
|
|
659
|
-
// "isWithdrawalFeeChargedToUser": true,
|
|
660
|
-
// "canDeposit": true,
|
|
661
|
-
// "canWithdraw": false,
|
|
662
|
-
// "minDeposit": "0.00010",
|
|
663
|
-
// "minWithdrawal": "0.00010"
|
|
664
|
-
// }
|
|
604
|
+
// ...
|
|
665
605
|
// ]
|
|
666
606
|
// },
|
|
667
607
|
// {
|
|
@@ -711,79 +651,67 @@ export default class oxfun extends Exchange {
|
|
|
711
651
|
const parts = fullId.split('.');
|
|
712
652
|
const id = parts[0];
|
|
713
653
|
const code = this.safeCurrencyCode(id);
|
|
714
|
-
|
|
654
|
+
if (!(code in result)) {
|
|
655
|
+
result[code] = {
|
|
656
|
+
'id': id,
|
|
657
|
+
'code': code,
|
|
658
|
+
'precision': undefined,
|
|
659
|
+
'type': undefined,
|
|
660
|
+
'name': undefined,
|
|
661
|
+
'active': undefined,
|
|
662
|
+
'deposit': undefined,
|
|
663
|
+
'withdraw': undefined,
|
|
664
|
+
'fee': undefined,
|
|
665
|
+
'limits': {
|
|
666
|
+
'withdraw': {
|
|
667
|
+
'min': undefined,
|
|
668
|
+
'max': undefined,
|
|
669
|
+
},
|
|
670
|
+
'deposit': {
|
|
671
|
+
'min': undefined,
|
|
672
|
+
'max': undefined,
|
|
673
|
+
},
|
|
674
|
+
},
|
|
675
|
+
'networks': {},
|
|
676
|
+
'info': [],
|
|
677
|
+
};
|
|
678
|
+
}
|
|
715
679
|
const chains = this.safeList(currency, 'networkList', []);
|
|
716
|
-
let currencyMaxPrecision = undefined;
|
|
717
|
-
let currencyDepositEnabled = undefined;
|
|
718
|
-
let currencyWithdrawEnabled = undefined;
|
|
719
680
|
for (let j = 0; j < chains.length; j++) {
|
|
720
681
|
const chain = chains[j];
|
|
721
682
|
const networkId = this.safeString(chain, 'network');
|
|
722
683
|
const networkCode = this.networkIdToCode(networkId);
|
|
723
|
-
|
|
724
|
-
const withdraw = this.safeBool(chain, 'canWithdraw');
|
|
725
|
-
const active = (deposit && withdraw);
|
|
726
|
-
const minDeposit = this.safeString(chain, 'minDeposit');
|
|
727
|
-
const minWithdrawal = this.safeString(chain, 'minWithdrawal');
|
|
728
|
-
const precision = this.parsePrecision(this.safeString(chain, 'transactionPrecision'));
|
|
729
|
-
networks[networkCode] = {
|
|
684
|
+
result[code]['networks'][networkCode] = {
|
|
730
685
|
'id': networkId,
|
|
731
686
|
'network': networkCode,
|
|
732
687
|
'margin': undefined,
|
|
733
|
-
'deposit':
|
|
734
|
-
'withdraw':
|
|
735
|
-
'active':
|
|
688
|
+
'deposit': this.safeBool(chain, 'canDeposit'),
|
|
689
|
+
'withdraw': this.safeBool(chain, 'canWithdraw'),
|
|
690
|
+
'active': undefined,
|
|
736
691
|
'fee': undefined,
|
|
737
|
-
'precision': this.parseNumber(
|
|
692
|
+
'precision': this.parseNumber(this.parsePrecision(this.safeString(chain, 'transactionPrecision'))),
|
|
738
693
|
'limits': {
|
|
739
694
|
'deposit': {
|
|
740
|
-
'min': minDeposit,
|
|
695
|
+
'min': this.safeNumber(chain, 'minDeposit'),
|
|
741
696
|
'max': undefined,
|
|
742
697
|
},
|
|
743
698
|
'withdraw': {
|
|
744
|
-
'min': minWithdrawal,
|
|
699
|
+
'min': this.safeNumber(chain, 'minWithdrawal'),
|
|
745
700
|
'max': undefined,
|
|
746
701
|
},
|
|
747
702
|
},
|
|
748
703
|
'info': chain,
|
|
749
704
|
};
|
|
750
|
-
if ((currencyDepositEnabled === undefined) || deposit) {
|
|
751
|
-
currencyDepositEnabled = deposit;
|
|
752
|
-
}
|
|
753
|
-
if ((currencyWithdrawEnabled === undefined) || withdraw) {
|
|
754
|
-
currencyWithdrawEnabled = withdraw;
|
|
755
|
-
}
|
|
756
|
-
if ((currencyMaxPrecision === undefined) || Precise.stringGt(currencyMaxPrecision, precision)) {
|
|
757
|
-
currencyMaxPrecision = precision;
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
if (code in result) {
|
|
761
|
-
// checking for specific ids as USDC.ARB
|
|
762
|
-
networks = this.extend(result[code]['networks'], networks);
|
|
763
705
|
}
|
|
764
|
-
result[code]
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
'precision': this.parseNumber(currencyMaxPrecision),
|
|
774
|
-
'limits': {
|
|
775
|
-
'amount': {
|
|
776
|
-
'min': undefined,
|
|
777
|
-
'max': undefined,
|
|
778
|
-
},
|
|
779
|
-
'withdraw': {
|
|
780
|
-
'min': undefined,
|
|
781
|
-
'max': undefined,
|
|
782
|
-
},
|
|
783
|
-
},
|
|
784
|
-
'networks': networks,
|
|
785
|
-
'info': currency,
|
|
786
|
-
};
|
|
706
|
+
const infos = this.safeList(result[code], 'info', []);
|
|
707
|
+
infos.push(currency);
|
|
708
|
+
result[code]['info'] = infos;
|
|
709
|
+
}
|
|
710
|
+
// only after all entries are formed in currencies, restructure each entry
|
|
711
|
+
const allKeys = Object.keys(result);
|
|
712
|
+
for (let i = 0; i < allKeys.length; i++) {
|
|
713
|
+
const code = allKeys[i];
|
|
714
|
+
result[code] = this.safeCurrencyStructure(result[code]); // this is needed after adding network entry
|
|
787
715
|
}
|
|
788
716
|
return result;
|
|
789
717
|
}
|
package/js/src/paradex.js
CHANGED
|
@@ -1260,7 +1260,11 @@ export default class paradex extends Exchange {
|
|
|
1260
1260
|
const price = this.safeString(order, 'price');
|
|
1261
1261
|
const amount = this.safeString(order, 'size');
|
|
1262
1262
|
const orderType = this.safeString(order, 'type');
|
|
1263
|
-
const
|
|
1263
|
+
const cancelReason = this.safeString(order, 'cancel_reason');
|
|
1264
|
+
let status = this.safeString(order, 'status');
|
|
1265
|
+
if (cancelReason !== undefined) {
|
|
1266
|
+
status = 'canceled';
|
|
1267
|
+
}
|
|
1264
1268
|
const side = this.safeStringLower(order, 'side');
|
|
1265
1269
|
const average = this.omitZero(this.safeString(order, 'avg_fill_price'));
|
|
1266
1270
|
const remaining = this.omitZero(this.safeString(order, 'remaining_size'));
|
package/js/src/pro/binance.js
CHANGED
|
@@ -830,6 +830,7 @@ export default class binance extends binanceRest {
|
|
|
830
830
|
orderbook.reset(snapshot);
|
|
831
831
|
// unroll the accumulated deltas
|
|
832
832
|
const messages = orderbook.cache;
|
|
833
|
+
orderbook.cache = [];
|
|
833
834
|
for (let i = 0; i < messages.length; i++) {
|
|
834
835
|
const messageItem = messages[i];
|
|
835
836
|
const U = this.safeInteger(messageItem, 'U');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import bittradeRest from '../bittrade.js';
|
|
2
2
|
import type { Int, OrderBook, Trade, Ticker, OHLCV } from '../base/types.js';
|
|
3
3
|
import Client from '../base/ws/Client.js';
|
|
4
|
-
export default class
|
|
4
|
+
export default class bittrade extends bittradeRest {
|
|
5
5
|
describe(): any;
|
|
6
6
|
requestId(): any;
|
|
7
7
|
/**
|
|
8
8
|
* @method
|
|
9
|
-
* @name
|
|
9
|
+
* @name bittrade#watchTicker
|
|
10
10
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
11
11
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
12
12
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -16,7 +16,7 @@ export default class huobijp extends huobijpRest {
|
|
|
16
16
|
handleTicker(client: Client, message: any): any;
|
|
17
17
|
/**
|
|
18
18
|
* @method
|
|
19
|
-
* @name
|
|
19
|
+
* @name bittrade#watchTrades
|
|
20
20
|
* @description get the list of most recent trades for a particular symbol
|
|
21
21
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
22
22
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
@@ -28,7 +28,7 @@ export default class huobijp extends huobijpRest {
|
|
|
28
28
|
handleTrades(client: Client, message: any): any;
|
|
29
29
|
/**
|
|
30
30
|
* @method
|
|
31
|
-
* @name
|
|
31
|
+
* @name bittrade#watchOHLCV
|
|
32
32
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
33
33
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
34
34
|
* @param {string} timeframe the length of time each candle represents
|
|
@@ -41,7 +41,7 @@ export default class huobijp extends huobijpRest {
|
|
|
41
41
|
handleOHLCV(client: Client, message: any): void;
|
|
42
42
|
/**
|
|
43
43
|
* @method
|
|
44
|
-
* @name
|
|
44
|
+
* @name bittrade#watchOrderBook
|
|
45
45
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
46
46
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
47
47
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
// EDIT THE CORRESPONDENT .ts FILE INSTEAD
|
|
6
6
|
|
|
7
7
|
// ----------------------------------------------------------------------------
|
|
8
|
-
import
|
|
8
|
+
import bittradeRest from '../bittrade.js';
|
|
9
9
|
import { ExchangeError } from '../base/errors.js';
|
|
10
10
|
import { ArrayCache, ArrayCacheByTimestamp } from '../base/ws/Cache.js';
|
|
11
11
|
// ----------------------------------------------------------------------------
|
|
12
|
-
export default class
|
|
12
|
+
export default class bittrade extends bittradeRest {
|
|
13
13
|
describe() {
|
|
14
14
|
return this.deepExtend(super.describe(), {
|
|
15
15
|
'has': {
|
|
@@ -49,7 +49,7 @@ export default class huobijp extends huobijpRest {
|
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* @method
|
|
52
|
-
* @name
|
|
52
|
+
* @name bittrade#watchTicker
|
|
53
53
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
54
54
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
55
55
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -111,7 +111,7 @@ export default class huobijp extends huobijpRest {
|
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
113
|
* @method
|
|
114
|
-
* @name
|
|
114
|
+
* @name bittrade#watchTrades
|
|
115
115
|
* @description get the list of most recent trades for a particular symbol
|
|
116
116
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
117
117
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
@@ -188,7 +188,7 @@ export default class huobijp extends huobijpRest {
|
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
190
|
* @method
|
|
191
|
-
* @name
|
|
191
|
+
* @name bittrade#watchOHLCV
|
|
192
192
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
193
193
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
194
194
|
* @param {string} timeframe the length of time each candle represents
|
|
@@ -262,7 +262,7 @@ export default class huobijp extends huobijpRest {
|
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
264
|
* @method
|
|
265
|
-
* @name
|
|
265
|
+
* @name bittrade#watchOrderBook
|
|
266
266
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
267
267
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
268
268
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
@@ -585,7 +585,7 @@ export default class huobijp extends huobijpRest {
|
|
|
585
585
|
//
|
|
586
586
|
// ________________________
|
|
587
587
|
//
|
|
588
|
-
// sometimes
|
|
588
|
+
// sometimes bittrade responds with half of a JSON response like
|
|
589
589
|
//
|
|
590
590
|
// " {"ch":"market.ethbtc.m "
|
|
591
591
|
//
|
package/js/src/pro/luno.js
CHANGED
|
@@ -198,17 +198,18 @@ export default class luno extends lunoRest {
|
|
|
198
198
|
if (!(symbol in this.orderbooks)) {
|
|
199
199
|
this.orderbooks[symbol] = this.indexedOrderBook({});
|
|
200
200
|
}
|
|
201
|
-
const orderbook = this.orderbooks[symbol];
|
|
202
201
|
const asks = this.safeValue(message, 'asks');
|
|
203
202
|
if (asks !== undefined) {
|
|
204
203
|
const snapshot = this.customParseOrderBook(message, symbol, timestamp, 'bids', 'asks', 'price', 'volume', 'id');
|
|
205
|
-
|
|
204
|
+
this.orderbooks[symbol] = this.indexedOrderBook(snapshot);
|
|
206
205
|
}
|
|
207
206
|
else {
|
|
208
|
-
this.
|
|
209
|
-
|
|
210
|
-
|
|
207
|
+
const ob = this.orderbooks[symbol];
|
|
208
|
+
this.handleDelta(ob, message);
|
|
209
|
+
ob['timestamp'] = timestamp;
|
|
210
|
+
ob['datetime'] = this.iso8601(timestamp);
|
|
211
211
|
}
|
|
212
|
+
const orderbook = this.orderbooks[symbol];
|
|
212
213
|
const nonce = this.safeInteger(message, 'sequence');
|
|
213
214
|
orderbook['nonce'] = nonce;
|
|
214
215
|
client.resolve(orderbook, messageHash);
|
package/js/src/pro/mexc.js
CHANGED
|
@@ -797,6 +797,9 @@ export default class mexc extends mexcRest {
|
|
|
797
797
|
const messageHash = 'orderbook:' + symbol;
|
|
798
798
|
const subscription = this.safeValue(client.subscriptions, messageHash);
|
|
799
799
|
const limit = this.safeInteger(subscription, 'limit');
|
|
800
|
+
if (!(symbol in this.orderbooks)) {
|
|
801
|
+
this.orderbooks[symbol] = this.orderBook();
|
|
802
|
+
}
|
|
800
803
|
const storedOrderBook = this.orderbooks[symbol];
|
|
801
804
|
const nonce = this.safeInteger(storedOrderBook, 'nonce');
|
|
802
805
|
if (nonce === undefined) {
|
package/package.json
CHANGED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { implicitReturnType } from '../base/types.js';
|
|
2
|
-
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
-
interface Exchange {
|
|
4
|
-
xreserveGetNonce(params?: {}): Promise<implicitReturnType>;
|
|
5
|
-
xreserveGetFee(params?: {}): Promise<implicitReturnType>;
|
|
6
|
-
xreserveGetDelegatedTransactions(params?: {}): Promise<implicitReturnType>;
|
|
7
|
-
xreservePostDelegateTransfer(params?: {}): Promise<implicitReturnType>;
|
|
8
|
-
v4PrivateGetPrivateMe(params?: {}): Promise<implicitReturnType>;
|
|
9
|
-
v4PrivateGetPrivateGetBalance(params?: {}): Promise<implicitReturnType>;
|
|
10
|
-
v4PrivateGetOrderPrivateActive(params?: {}): Promise<implicitReturnType>;
|
|
11
|
-
v4PrivateGetOrderPrivateHistory(params?: {}): Promise<implicitReturnType>;
|
|
12
|
-
v4PrivateGetOrderPrivateIdTrades(params?: {}): Promise<implicitReturnType>;
|
|
13
|
-
v4PrivateGetOrderPrivateDetailsId(params?: {}): Promise<implicitReturnType>;
|
|
14
|
-
v4PrivateGetTradePrivateHistory(params?: {}): Promise<implicitReturnType>;
|
|
15
|
-
v4PrivateGetTransactionPrivateHash(params?: {}): Promise<implicitReturnType>;
|
|
16
|
-
v4PrivateGetDepositPrivatePreRequest(params?: {}): Promise<implicitReturnType>;
|
|
17
|
-
v4PrivateGetDepositPrivateCryptoAddress(params?: {}): Promise<implicitReturnType>;
|
|
18
|
-
v4PrivateGetDepositPrivateCryptoGetMerchantAddress(params?: {}): Promise<implicitReturnType>;
|
|
19
|
-
v4PrivateGetDepositPrivateHistory(params?: {}): Promise<implicitReturnType>;
|
|
20
|
-
v4PrivateGetDepositPrivateDetailsDepositId(params?: {}): Promise<implicitReturnType>;
|
|
21
|
-
v4PrivateGetWithdrawPrivatePreRequest(params?: {}): Promise<implicitReturnType>;
|
|
22
|
-
v4PrivateGetWithdrawPrivateHistory(params?: {}): Promise<implicitReturnType>;
|
|
23
|
-
v4PrivateGetWithdrawPrivateDetailsWithdrawId(params?: {}): Promise<implicitReturnType>;
|
|
24
|
-
v4PrivateGetKunaCodeId(params?: {}): Promise<implicitReturnType>;
|
|
25
|
-
v4PrivateGetKunaCodeCodeCheck(params?: {}): Promise<implicitReturnType>;
|
|
26
|
-
v4PrivateGetKunaCodeIssuedByMe(params?: {}): Promise<implicitReturnType>;
|
|
27
|
-
v4PrivateGetKunaCodeRedeemedByMe(params?: {}): Promise<implicitReturnType>;
|
|
28
|
-
v4PrivatePostOrderPrivateCreate(params?: {}): Promise<implicitReturnType>;
|
|
29
|
-
v4PrivatePostOrderPrivateCancel(params?: {}): Promise<implicitReturnType>;
|
|
30
|
-
v4PrivatePostOrderPrivateCancelMulti(params?: {}): Promise<implicitReturnType>;
|
|
31
|
-
v4PrivatePostDepositPrivateCryptoGenerateAddress(params?: {}): Promise<implicitReturnType>;
|
|
32
|
-
v4PrivatePostDepositPrivateCryptoGenerateMerchantAddress(params?: {}): Promise<implicitReturnType>;
|
|
33
|
-
v4PrivatePostWithdrawPrivateCreate(params?: {}): Promise<implicitReturnType>;
|
|
34
|
-
v4PrivatePostKunaCode(params?: {}): Promise<implicitReturnType>;
|
|
35
|
-
v4PrivatePutKunaCodeRedeem(params?: {}): Promise<implicitReturnType>;
|
|
36
|
-
v4PublicGetPublicTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
37
|
-
v4PublicGetPublicFees(params?: {}): Promise<implicitReturnType>;
|
|
38
|
-
v4PublicGetPublicCurrenciesTypeType(params?: {}): Promise<implicitReturnType>;
|
|
39
|
-
v4PublicGetPublicCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
40
|
-
v4PublicGetMarketsPublicGetAll(params?: {}): Promise<implicitReturnType>;
|
|
41
|
-
v4PublicGetMarketsPublicTickersPairsPairs(params?: {}): Promise<implicitReturnType>;
|
|
42
|
-
v4PublicGetOrderPublicBookPairs(params?: {}): Promise<implicitReturnType>;
|
|
43
|
-
v4PublicGetTradePublicBookPairs(params?: {}): Promise<implicitReturnType>;
|
|
44
|
-
v3PublicGetTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
45
|
-
v3PublicGetCurrencies(params?: {}): Promise<implicitReturnType>;
|
|
46
|
-
v3PublicGetMarkets(params?: {}): Promise<implicitReturnType>;
|
|
47
|
-
v3PublicGetTickers(params?: {}): Promise<implicitReturnType>;
|
|
48
|
-
v3PublicGetK(params?: {}): Promise<implicitReturnType>;
|
|
49
|
-
v3PublicGetTradesHistory(params?: {}): Promise<implicitReturnType>;
|
|
50
|
-
v3PublicGetFees(params?: {}): Promise<implicitReturnType>;
|
|
51
|
-
v3PublicGetExchangeRates(params?: {}): Promise<implicitReturnType>;
|
|
52
|
-
v3PublicGetExchangeRatesCurrency(params?: {}): Promise<implicitReturnType>;
|
|
53
|
-
v3PublicGetBookMarket(params?: {}): Promise<implicitReturnType>;
|
|
54
|
-
v3PublicGetKunaCodesCodeCheck(params?: {}): Promise<implicitReturnType>;
|
|
55
|
-
v3PublicGetLandingPageStatistic(params?: {}): Promise<implicitReturnType>;
|
|
56
|
-
v3PublicGetTranslationsLocale(params?: {}): Promise<implicitReturnType>;
|
|
57
|
-
v3PublicGetTradesMarketHist(params?: {}): Promise<implicitReturnType>;
|
|
58
|
-
v3PublicPostHttpTest(params?: {}): Promise<implicitReturnType>;
|
|
59
|
-
v3PublicPostDepositChannels(params?: {}): Promise<implicitReturnType>;
|
|
60
|
-
v3PublicPostWithdrawChannels(params?: {}): Promise<implicitReturnType>;
|
|
61
|
-
v3PublicPostSubscriptionPlans(params?: {}): Promise<implicitReturnType>;
|
|
62
|
-
v3PublicPostSendTo(params?: {}): Promise<implicitReturnType>;
|
|
63
|
-
v3PublicPostConfirmToken(params?: {}): Promise<implicitReturnType>;
|
|
64
|
-
v3PublicPostKunaid(params?: {}): Promise<implicitReturnType>;
|
|
65
|
-
v3PublicPostWithdrawPrerequest(params?: {}): Promise<implicitReturnType>;
|
|
66
|
-
v3PublicPostDepositPrerequest(params?: {}): Promise<implicitReturnType>;
|
|
67
|
-
v3PublicPostDepositExchangeRates(params?: {}): Promise<implicitReturnType>;
|
|
68
|
-
v3SignGetResetPasswordToken(params?: {}): Promise<implicitReturnType>;
|
|
69
|
-
v3SignPostSignupGoogle(params?: {}): Promise<implicitReturnType>;
|
|
70
|
-
v3SignPostSignupResendConfirmation(params?: {}): Promise<implicitReturnType>;
|
|
71
|
-
v3SignPostSignup(params?: {}): Promise<implicitReturnType>;
|
|
72
|
-
v3SignPostSignin(params?: {}): Promise<implicitReturnType>;
|
|
73
|
-
v3SignPostSigninTwoFactor(params?: {}): Promise<implicitReturnType>;
|
|
74
|
-
v3SignPostSigninResendConfirmDevice(params?: {}): Promise<implicitReturnType>;
|
|
75
|
-
v3SignPostSigninConfirmDevice(params?: {}): Promise<implicitReturnType>;
|
|
76
|
-
v3SignPostResetPassword(params?: {}): Promise<implicitReturnType>;
|
|
77
|
-
v3SignPostCoolSignin(params?: {}): Promise<implicitReturnType>;
|
|
78
|
-
v3SignPutResetPasswordToken(params?: {}): Promise<implicitReturnType>;
|
|
79
|
-
v3SignPutSignupCodeConfirm(params?: {}): Promise<implicitReturnType>;
|
|
80
|
-
v3PrivatePostAuthWOrderSubmit(params?: {}): Promise<implicitReturnType>;
|
|
81
|
-
v3PrivatePostAuthROrders(params?: {}): Promise<implicitReturnType>;
|
|
82
|
-
v3PrivatePostAuthROrdersMarket(params?: {}): Promise<implicitReturnType>;
|
|
83
|
-
v3PrivatePostAuthROrdersMarkets(params?: {}): Promise<implicitReturnType>;
|
|
84
|
-
v3PrivatePostAuthApiTokensDelete(params?: {}): Promise<implicitReturnType>;
|
|
85
|
-
v3PrivatePostAuthApiTokensCreate(params?: {}): Promise<implicitReturnType>;
|
|
86
|
-
v3PrivatePostAuthApiTokens(params?: {}): Promise<implicitReturnType>;
|
|
87
|
-
v3PrivatePostAuthSigninHistoryUniq(params?: {}): Promise<implicitReturnType>;
|
|
88
|
-
v3PrivatePostAuthSigninHistory(params?: {}): Promise<implicitReturnType>;
|
|
89
|
-
v3PrivatePostAuthDisableWithdrawConfirmation(params?: {}): Promise<implicitReturnType>;
|
|
90
|
-
v3PrivatePostAuthChangePassword(params?: {}): Promise<implicitReturnType>;
|
|
91
|
-
v3PrivatePostAuthDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
92
|
-
v3PrivatePostAuthAnnouncementsAccept(params?: {}): Promise<implicitReturnType>;
|
|
93
|
-
v3PrivatePostAuthAnnouncementsUnaccepted(params?: {}): Promise<implicitReturnType>;
|
|
94
|
-
v3PrivatePostAuthOtpDeactivate(params?: {}): Promise<implicitReturnType>;
|
|
95
|
-
v3PrivatePostAuthOtpActivate(params?: {}): Promise<implicitReturnType>;
|
|
96
|
-
v3PrivatePostAuthOtpSecret(params?: {}): Promise<implicitReturnType>;
|
|
97
|
-
v3PrivatePostAuthROrderMarketOrderIdTrades(params?: {}): Promise<implicitReturnType>;
|
|
98
|
-
v3PrivatePostAuthROrdersMarketHist(params?: {}): Promise<implicitReturnType>;
|
|
99
|
-
v3PrivatePostAuthROrdersHist(params?: {}): Promise<implicitReturnType>;
|
|
100
|
-
v3PrivatePostAuthROrdersHistMarkets(params?: {}): Promise<implicitReturnType>;
|
|
101
|
-
v3PrivatePostAuthROrdersDetails(params?: {}): Promise<implicitReturnType>;
|
|
102
|
-
v3PrivatePostAuthAssetsHistory(params?: {}): Promise<implicitReturnType>;
|
|
103
|
-
v3PrivatePostAuthAssetsHistoryWithdraws(params?: {}): Promise<implicitReturnType>;
|
|
104
|
-
v3PrivatePostAuthAssetsHistoryDeposits(params?: {}): Promise<implicitReturnType>;
|
|
105
|
-
v3PrivatePostAuthRWallets(params?: {}): Promise<implicitReturnType>;
|
|
106
|
-
v3PrivatePostAuthMarketsFavorites(params?: {}): Promise<implicitReturnType>;
|
|
107
|
-
v3PrivatePostAuthMarketsFavoritesList(params?: {}): Promise<implicitReturnType>;
|
|
108
|
-
v3PrivatePostAuthMeUpdate(params?: {}): Promise<implicitReturnType>;
|
|
109
|
-
v3PrivatePostAuthMe(params?: {}): Promise<implicitReturnType>;
|
|
110
|
-
v3PrivatePostAuthFundSources(params?: {}): Promise<implicitReturnType>;
|
|
111
|
-
v3PrivatePostAuthFundSourcesList(params?: {}): Promise<implicitReturnType>;
|
|
112
|
-
v3PrivatePostAuthWithdrawResendConfirmation(params?: {}): Promise<implicitReturnType>;
|
|
113
|
-
v3PrivatePostAuthWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
114
|
-
v3PrivatePostAuthWithdrawDetails(params?: {}): Promise<implicitReturnType>;
|
|
115
|
-
v3PrivatePostAuthWithdrawInfo(params?: {}): Promise<implicitReturnType>;
|
|
116
|
-
v3PrivatePostAuthPaymentAddresses(params?: {}): Promise<implicitReturnType>;
|
|
117
|
-
v3PrivatePostAuthDepositPrerequest(params?: {}): Promise<implicitReturnType>;
|
|
118
|
-
v3PrivatePostAuthDepositExchangeRates(params?: {}): Promise<implicitReturnType>;
|
|
119
|
-
v3PrivatePostAuthDeposit(params?: {}): Promise<implicitReturnType>;
|
|
120
|
-
v3PrivatePostAuthDepositDetails(params?: {}): Promise<implicitReturnType>;
|
|
121
|
-
v3PrivatePostAuthDepositInfo(params?: {}): Promise<implicitReturnType>;
|
|
122
|
-
v3PrivatePostAuthKunaCodesCount(params?: {}): Promise<implicitReturnType>;
|
|
123
|
-
v3PrivatePostAuthKunaCodesDetails(params?: {}): Promise<implicitReturnType>;
|
|
124
|
-
v3PrivatePostAuthKunaCodesEdit(params?: {}): Promise<implicitReturnType>;
|
|
125
|
-
v3PrivatePostAuthKunaCodesSendPdf(params?: {}): Promise<implicitReturnType>;
|
|
126
|
-
v3PrivatePostAuthKunaCodes(params?: {}): Promise<implicitReturnType>;
|
|
127
|
-
v3PrivatePostAuthKunaCodesRedeemedByMe(params?: {}): Promise<implicitReturnType>;
|
|
128
|
-
v3PrivatePostAuthKunaCodesIssuedByMe(params?: {}): Promise<implicitReturnType>;
|
|
129
|
-
v3PrivatePostAuthPaymentRequestsInvoice(params?: {}): Promise<implicitReturnType>;
|
|
130
|
-
v3PrivatePostAuthPaymentRequestsType(params?: {}): Promise<implicitReturnType>;
|
|
131
|
-
v3PrivatePostAuthReferralProgramWeeklyEarnings(params?: {}): Promise<implicitReturnType>;
|
|
132
|
-
v3PrivatePostAuthReferralProgramStats(params?: {}): Promise<implicitReturnType>;
|
|
133
|
-
v3PrivatePostAuthMerchantPayoutServices(params?: {}): Promise<implicitReturnType>;
|
|
134
|
-
v3PrivatePostAuthMerchantWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
135
|
-
v3PrivatePostAuthMerchantPaymentServices(params?: {}): Promise<implicitReturnType>;
|
|
136
|
-
v3PrivatePostAuthMerchantDeposit(params?: {}): Promise<implicitReturnType>;
|
|
137
|
-
v3PrivatePostAuthVerificationAuthToken(params?: {}): Promise<implicitReturnType>;
|
|
138
|
-
v3PrivatePostAuthKunaidPurchaseCreate(params?: {}): Promise<implicitReturnType>;
|
|
139
|
-
v3PrivatePostAuthDevicesList(params?: {}): Promise<implicitReturnType>;
|
|
140
|
-
v3PrivatePostAuthSessionsList(params?: {}): Promise<implicitReturnType>;
|
|
141
|
-
v3PrivatePostAuthSubscriptionsReactivate(params?: {}): Promise<implicitReturnType>;
|
|
142
|
-
v3PrivatePostAuthSubscriptionsCancel(params?: {}): Promise<implicitReturnType>;
|
|
143
|
-
v3PrivatePostAuthSubscriptionsProlong(params?: {}): Promise<implicitReturnType>;
|
|
144
|
-
v3PrivatePostAuthSubscriptionsCreate(params?: {}): Promise<implicitReturnType>;
|
|
145
|
-
v3PrivatePostAuthSubscriptionsList(params?: {}): Promise<implicitReturnType>;
|
|
146
|
-
v3PrivatePostAuthKunaIdsList(params?: {}): Promise<implicitReturnType>;
|
|
147
|
-
v3PrivatePostOrderCancelMulti(params?: {}): Promise<implicitReturnType>;
|
|
148
|
-
v3PrivatePostOrderCancel(params?: {}): Promise<implicitReturnType>;
|
|
149
|
-
v3PrivatePutAuthFundSourcesId(params?: {}): Promise<implicitReturnType>;
|
|
150
|
-
v3PrivatePutAuthKunaCodesRedeem(params?: {}): Promise<implicitReturnType>;
|
|
151
|
-
v3PrivateDeleteAuthMarketsFavorites(params?: {}): Promise<implicitReturnType>;
|
|
152
|
-
v3PrivateDeleteAuthFundSources(params?: {}): Promise<implicitReturnType>;
|
|
153
|
-
v3PrivateDeleteAuthDevices(params?: {}): Promise<implicitReturnType>;
|
|
154
|
-
v3PrivateDeleteAuthDevicesList(params?: {}): Promise<implicitReturnType>;
|
|
155
|
-
v3PrivateDeleteAuthSessionsList(params?: {}): Promise<implicitReturnType>;
|
|
156
|
-
v3PrivateDeleteAuthSessions(params?: {}): Promise<implicitReturnType>;
|
|
157
|
-
publicGetDepth(params?: {}): Promise<implicitReturnType>;
|
|
158
|
-
publicGetKWithPendingTrades(params?: {}): Promise<implicitReturnType>;
|
|
159
|
-
publicGetK(params?: {}): Promise<implicitReturnType>;
|
|
160
|
-
publicGetMarkets(params?: {}): Promise<implicitReturnType>;
|
|
161
|
-
publicGetOrderBook(params?: {}): Promise<implicitReturnType>;
|
|
162
|
-
publicGetOrderBookMarket(params?: {}): Promise<implicitReturnType>;
|
|
163
|
-
publicGetTickers(params?: {}): Promise<implicitReturnType>;
|
|
164
|
-
publicGetTickersMarket(params?: {}): Promise<implicitReturnType>;
|
|
165
|
-
publicGetTimestamp(params?: {}): Promise<implicitReturnType>;
|
|
166
|
-
publicGetTrades(params?: {}): Promise<implicitReturnType>;
|
|
167
|
-
publicGetTradesMarket(params?: {}): Promise<implicitReturnType>;
|
|
168
|
-
privateGetMembersMe(params?: {}): Promise<implicitReturnType>;
|
|
169
|
-
privateGetDeposits(params?: {}): Promise<implicitReturnType>;
|
|
170
|
-
privateGetDeposit(params?: {}): Promise<implicitReturnType>;
|
|
171
|
-
privateGetDepositAddress(params?: {}): Promise<implicitReturnType>;
|
|
172
|
-
privateGetOrders(params?: {}): Promise<implicitReturnType>;
|
|
173
|
-
privateGetOrder(params?: {}): Promise<implicitReturnType>;
|
|
174
|
-
privateGetTradesMy(params?: {}): Promise<implicitReturnType>;
|
|
175
|
-
privateGetWithdraws(params?: {}): Promise<implicitReturnType>;
|
|
176
|
-
privateGetWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
177
|
-
privatePostOrders(params?: {}): Promise<implicitReturnType>;
|
|
178
|
-
privatePostOrdersMulti(params?: {}): Promise<implicitReturnType>;
|
|
179
|
-
privatePostOrdersClear(params?: {}): Promise<implicitReturnType>;
|
|
180
|
-
privatePostOrderDelete(params?: {}): Promise<implicitReturnType>;
|
|
181
|
-
privatePostWithdraw(params?: {}): Promise<implicitReturnType>;
|
|
182
|
-
}
|
|
183
|
-
declare abstract class Exchange extends _Exchange {
|
|
184
|
-
}
|
|
185
|
-
export default Exchange;
|
package/js/src/abstract/kuna.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// ----------------------------------------------------------------------------
|
|
2
|
-
|
|
3
|
-
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
|
4
|
-
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
|
|
5
|
-
// EDIT THE CORRESPONDENT .ts FILE INSTEAD
|
|
6
|
-
|
|
7
|
-
// -------------------------------------------------------------------------------
|
|
8
|
-
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
9
|
-
class Exchange extends _Exchange {
|
|
10
|
-
}
|
|
11
|
-
export default Exchange;
|