ccxt-ir 4.9.4 → 4.9.10
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 +7 -7
- package/dist/ccxt.browser.min.js +4 -4
- package/dist/cjs/ccxt.js +22 -1
- package/dist/cjs/src/abantether.js +88 -69
- package/dist/cjs/src/abstract/bitbarg.js +11 -0
- package/dist/cjs/src/abstract/bydfi.js +11 -0
- package/dist/cjs/src/abstract/cafearz.js +11 -0
- package/dist/cjs/src/abstract/kifpoolme.js +11 -0
- package/dist/cjs/src/abstract/mazdax.js +11 -0
- package/dist/cjs/src/abstract/pingi.js +11 -0
- package/dist/cjs/src/abstract/pooleno.js +11 -0
- package/dist/cjs/src/afratether.js +84 -36
- package/dist/cjs/src/arzplus.js +32 -15
- package/dist/cjs/src/bitbarg.js +313 -0
- package/dist/cjs/src/bydfi.js +435 -0
- package/dist/cjs/src/cafearz.js +347 -0
- package/dist/cjs/src/kifpoolme.js +411 -0
- package/dist/cjs/src/mazdax.js +536 -0
- package/dist/cjs/src/pingi.js +448 -0
- package/dist/cjs/src/pooleno.js +348 -0
- package/dist/cjs/src/tetherland.js +8 -4
- package/dist/cjs/src/twox.js +55 -28
- package/js/ccxt.d.ts +23 -2
- package/js/ccxt.js +16 -2
- package/js/src/abantether.js +88 -69
- package/js/src/abstract/abantether.d.ts +1 -1
- package/js/src/abstract/bitbarg.d.ts +8 -0
- package/js/src/abstract/bitbarg.js +11 -0
- package/js/src/abstract/bydfi.d.ts +11 -0
- package/js/src/abstract/bydfi.js +11 -0
- package/js/src/abstract/cafearz.d.ts +8 -0
- package/js/src/abstract/cafearz.js +11 -0
- package/js/src/abstract/kifpoolme.d.ts +9 -0
- package/js/src/abstract/kifpoolme.js +11 -0
- package/js/src/abstract/mazdax.d.ts +11 -0
- package/js/src/abstract/mazdax.js +11 -0
- package/js/src/abstract/pingi.d.ts +9 -0
- package/js/src/abstract/pingi.js +11 -0
- package/js/src/abstract/pooleno.d.ts +8 -0
- package/js/src/abstract/pooleno.js +11 -0
- package/js/src/afratether.js +84 -36
- package/js/src/arzplus.d.ts +3 -2
- package/js/src/arzplus.js +32 -15
- package/js/src/base/Exchange.d.ts +2 -2
- package/js/src/bitbarg.d.ts +21 -0
- package/js/src/bitbarg.js +312 -0
- package/js/src/bydfi.d.ts +23 -0
- package/js/src/bydfi.js +434 -0
- package/js/src/cafearz.d.ts +21 -0
- package/js/src/cafearz.js +346 -0
- package/js/src/coinbaseexchange.d.ts +1 -1
- package/js/src/kifpoolme.d.ts +23 -0
- package/js/src/kifpoolme.js +410 -0
- package/js/src/mazdax.d.ts +23 -0
- package/js/src/mazdax.js +535 -0
- package/js/src/pingi.d.ts +22 -0
- package/js/src/pingi.js +447 -0
- package/js/src/pooleno.d.ts +21 -0
- package/js/src/pooleno.js +347 -0
- package/js/src/protobuf/mexc/compiled.d.cts +0 -6
- package/js/src/static_dependencies/fflake/browser.d.ts +5 -5
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/asn1.d.ts +2 -2
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
- package/js/src/static_dependencies/qs/formats.d.cts +0 -6
- package/js/src/static_dependencies/qs/index.d.cts +0 -6
- package/js/src/static_dependencies/qs/parse.d.cts +0 -6
- package/js/src/static_dependencies/qs/stringify.d.cts +0 -6
- package/js/src/static_dependencies/qs/utils.d.cts +0 -6
- package/js/src/static_dependencies/starknet/utils/calldata/parser/index.d.ts +1 -1
- package/js/src/tetherland.js +5 -4
- package/js/src/twox.js +55 -28
- package/package.json +1 -1
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var pooleno$1 = require('./abstract/pooleno.js');
|
|
6
|
+
|
|
7
|
+
// ----------------------------------------------------------------------------
|
|
8
|
+
// ---------------------------------------------------------------------------
|
|
9
|
+
/**
|
|
10
|
+
* @class pooleno
|
|
11
|
+
* @augments Exchange
|
|
12
|
+
* @description Set rateLimit to 1000 if fully verified
|
|
13
|
+
*/
|
|
14
|
+
class pooleno extends pooleno$1["default"] {
|
|
15
|
+
describe() {
|
|
16
|
+
return this.deepExtend(super.describe(), {
|
|
17
|
+
'id': 'pooleno',
|
|
18
|
+
'name': 'Pooleno',
|
|
19
|
+
'countries': ['IR'],
|
|
20
|
+
'rateLimit': 1000,
|
|
21
|
+
'version': '1',
|
|
22
|
+
'certified': false,
|
|
23
|
+
'pro': false,
|
|
24
|
+
'has': {
|
|
25
|
+
'CORS': undefined,
|
|
26
|
+
'spot': true,
|
|
27
|
+
'margin': false,
|
|
28
|
+
'swap': false,
|
|
29
|
+
'future': false,
|
|
30
|
+
'option': false,
|
|
31
|
+
'addMargin': false,
|
|
32
|
+
'cancelAllOrders': false,
|
|
33
|
+
'cancelOrder': false,
|
|
34
|
+
'cancelOrders': false,
|
|
35
|
+
'createDepositAddress': false,
|
|
36
|
+
'createOrder': false,
|
|
37
|
+
'createStopLimitOrder': false,
|
|
38
|
+
'createStopMarketOrder': false,
|
|
39
|
+
'createStopOrder': false,
|
|
40
|
+
'editOrder': false,
|
|
41
|
+
'fetchBalance': false,
|
|
42
|
+
'fetchBorrowInterest': false,
|
|
43
|
+
'fetchBorrowRateHistories': false,
|
|
44
|
+
'fetchBorrowRateHistory': false,
|
|
45
|
+
'fetchClosedOrders': false,
|
|
46
|
+
'fetchCrossBorrowRate': false,
|
|
47
|
+
'fetchCrossBorrowRates': false,
|
|
48
|
+
'fetchCurrencies': false,
|
|
49
|
+
'fetchDepositAddress': false,
|
|
50
|
+
'fetchDeposits': false,
|
|
51
|
+
'fetchFundingHistory': false,
|
|
52
|
+
'fetchFundingRate': false,
|
|
53
|
+
'fetchFundingRateHistory': false,
|
|
54
|
+
'fetchFundingRates': false,
|
|
55
|
+
'fetchIndexOHLCV': false,
|
|
56
|
+
'fetchIsolatedBorrowRate': false,
|
|
57
|
+
'fetchIsolatedBorrowRates': false,
|
|
58
|
+
'fetchL2OrderBook': false,
|
|
59
|
+
'fetchL3OrderBook': false,
|
|
60
|
+
'fetchLedger': false,
|
|
61
|
+
'fetchLedgerEntry': false,
|
|
62
|
+
'fetchLeverageTiers': false,
|
|
63
|
+
'fetchMarkets': true,
|
|
64
|
+
'fetchMarkOHLCV': false,
|
|
65
|
+
'fetchMyTrades': false,
|
|
66
|
+
'fetchOHLCV': false,
|
|
67
|
+
'fetchOpenInterestHistory': false,
|
|
68
|
+
'fetchOpenOrders': false,
|
|
69
|
+
'fetchOrder': false,
|
|
70
|
+
'fetchOrderBook': false,
|
|
71
|
+
'fetchOrders': false,
|
|
72
|
+
'fetchOrderTrades': 'emulated',
|
|
73
|
+
'fetchPositions': false,
|
|
74
|
+
'fetchPremiumIndexOHLCV': false,
|
|
75
|
+
'fetchTicker': true,
|
|
76
|
+
'fetchTickers': true,
|
|
77
|
+
'fetchTime': false,
|
|
78
|
+
'fetchTrades': false,
|
|
79
|
+
'fetchTradingFee': false,
|
|
80
|
+
'fetchTradingFees': false,
|
|
81
|
+
'fetchWithdrawals': false,
|
|
82
|
+
'setLeverage': false,
|
|
83
|
+
'setMarginMode': false,
|
|
84
|
+
'transfer': false,
|
|
85
|
+
'withdraw': false,
|
|
86
|
+
},
|
|
87
|
+
'comment': 'This comment is optional',
|
|
88
|
+
'urls': {
|
|
89
|
+
'logo': 'https://cdn.arz.digital/cr-odin/img/exchanges/pooleno/64x64.png',
|
|
90
|
+
'api': {
|
|
91
|
+
'public': 'https://api-beta.pooleno.ir',
|
|
92
|
+
},
|
|
93
|
+
'www': 'https://pooleno.ir',
|
|
94
|
+
'doc': [
|
|
95
|
+
'https://pooleno.ir',
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
'api': {
|
|
99
|
+
'public': {
|
|
100
|
+
'get': {
|
|
101
|
+
'api/v1/tokens/public': 1,
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
'fees': {
|
|
106
|
+
'trading': {
|
|
107
|
+
'tierBased': false,
|
|
108
|
+
'percentage': true,
|
|
109
|
+
'maker': this.parseNumber('0.001'),
|
|
110
|
+
'taker': this.parseNumber('0.001'),
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
async fetchMarkets(params = {}) {
|
|
116
|
+
/**
|
|
117
|
+
* @method
|
|
118
|
+
* @name pooleno#fetchMarkets
|
|
119
|
+
* @description retrieves data on all markets for pooleno
|
|
120
|
+
* @see https://api-beta.pooleno.ir/api/v1/tokens/public
|
|
121
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
122
|
+
* @returns {object[]} an array of objects representing market data
|
|
123
|
+
*/
|
|
124
|
+
const response = await this.publicGetApiV1TokensPublic(params);
|
|
125
|
+
const payload = this.safeList(response, 'payload', []);
|
|
126
|
+
const result = [];
|
|
127
|
+
for (let i = 0; i < payload.length; i++) {
|
|
128
|
+
const token = payload[i];
|
|
129
|
+
const baseAsset = this.safeString(token, 'baseAsset');
|
|
130
|
+
const quoteAsset = this.safeString(token, 'quoteAsset');
|
|
131
|
+
// Skip if base equals quote
|
|
132
|
+
if (baseAsset === quoteAsset) {
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
const market = this.parseMarket(token);
|
|
136
|
+
result.push(market);
|
|
137
|
+
}
|
|
138
|
+
return result;
|
|
139
|
+
}
|
|
140
|
+
parseMarket(market) {
|
|
141
|
+
// {
|
|
142
|
+
// "baseAsset": "USDT",
|
|
143
|
+
// "quoteAsset": "TMN",
|
|
144
|
+
// "symbolName": "USDT",
|
|
145
|
+
// "longEnName": "Tether",
|
|
146
|
+
// "longFaName": "تتر",
|
|
147
|
+
// "createdAt": "2025-02-25T13:47:27.102Z",
|
|
148
|
+
// "id": "cm43t74jo00000hrm8tw9aspo",
|
|
149
|
+
// "price": "1",
|
|
150
|
+
// "priceTMN": "112950",
|
|
151
|
+
// "sparkline": {
|
|
152
|
+
// "data": [...],
|
|
153
|
+
// "change": -538,
|
|
154
|
+
// "percentage": -0.48,
|
|
155
|
+
// "isPositive": false
|
|
156
|
+
// },
|
|
157
|
+
// "market": {
|
|
158
|
+
// "totalSupply": null,
|
|
159
|
+
// "maxSupply": null,
|
|
160
|
+
// "circulatingSupply": null,
|
|
161
|
+
// "volume24hBase": null,
|
|
162
|
+
// "high24h": null,
|
|
163
|
+
// "low24h": null,
|
|
164
|
+
// "volume24h": null,
|
|
165
|
+
// "marketCap": null
|
|
166
|
+
// },
|
|
167
|
+
// "blockchains": [...]
|
|
168
|
+
// }
|
|
169
|
+
let baseId = this.safeString(market, 'baseAsset');
|
|
170
|
+
let quoteId = this.safeString(market, 'quoteAsset');
|
|
171
|
+
const base = this.safeCurrencyCode(baseId);
|
|
172
|
+
const quote = this.safeCurrencyCode(quoteId);
|
|
173
|
+
const id = base + quote;
|
|
174
|
+
baseId = baseId.toLowerCase();
|
|
175
|
+
quoteId = quoteId.toLowerCase();
|
|
176
|
+
return {
|
|
177
|
+
'id': id,
|
|
178
|
+
'symbol': base + '/' + quote,
|
|
179
|
+
'base': base,
|
|
180
|
+
'quote': quote,
|
|
181
|
+
'settle': undefined,
|
|
182
|
+
'baseId': baseId,
|
|
183
|
+
'quoteId': quoteId,
|
|
184
|
+
'settleId': undefined,
|
|
185
|
+
'type': 'spot',
|
|
186
|
+
'spot': true,
|
|
187
|
+
'margin': false,
|
|
188
|
+
'swap': false,
|
|
189
|
+
'future': false,
|
|
190
|
+
'option': false,
|
|
191
|
+
'active': true,
|
|
192
|
+
'contract': false,
|
|
193
|
+
'linear': undefined,
|
|
194
|
+
'inverse': undefined,
|
|
195
|
+
'contractSize': undefined,
|
|
196
|
+
'expiry': undefined,
|
|
197
|
+
'expiryDatetime': undefined,
|
|
198
|
+
'strike': undefined,
|
|
199
|
+
'optionType': undefined,
|
|
200
|
+
'precision': {
|
|
201
|
+
'amount': undefined,
|
|
202
|
+
'price': undefined,
|
|
203
|
+
},
|
|
204
|
+
'limits': {
|
|
205
|
+
'leverage': {
|
|
206
|
+
'min': undefined,
|
|
207
|
+
'max': undefined,
|
|
208
|
+
},
|
|
209
|
+
'amount': {
|
|
210
|
+
'min': undefined,
|
|
211
|
+
'max': undefined,
|
|
212
|
+
},
|
|
213
|
+
'price': {
|
|
214
|
+
'min': undefined,
|
|
215
|
+
'max': undefined,
|
|
216
|
+
},
|
|
217
|
+
'cost': {
|
|
218
|
+
'min': undefined,
|
|
219
|
+
'max': undefined,
|
|
220
|
+
},
|
|
221
|
+
},
|
|
222
|
+
'created': undefined,
|
|
223
|
+
'info': market,
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
async fetchTickers(symbols = undefined, params = {}) {
|
|
227
|
+
/**
|
|
228
|
+
* @method
|
|
229
|
+
* @name pooleno#fetchTickers
|
|
230
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
231
|
+
* @see https://api-beta.pooleno.ir/api/v1/tokens/public
|
|
232
|
+
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
233
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
234
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
235
|
+
*/
|
|
236
|
+
await this.loadMarkets();
|
|
237
|
+
if (symbols !== undefined) {
|
|
238
|
+
symbols = this.marketSymbols(symbols);
|
|
239
|
+
}
|
|
240
|
+
const response = await this.publicGetApiV1TokensPublic(params);
|
|
241
|
+
const payload = this.safeList(response, 'payload', []);
|
|
242
|
+
const result = {};
|
|
243
|
+
for (let i = 0; i < payload.length; i++) {
|
|
244
|
+
const token = payload[i];
|
|
245
|
+
const ticker = this.parseTicker(token);
|
|
246
|
+
const symbol = ticker['symbol'];
|
|
247
|
+
result[symbol] = ticker;
|
|
248
|
+
}
|
|
249
|
+
return this.filterByArrayTickers(result, 'symbol', symbols);
|
|
250
|
+
}
|
|
251
|
+
async fetchTicker(symbol, params = {}) {
|
|
252
|
+
/**
|
|
253
|
+
* @method
|
|
254
|
+
* @name pooleno#fetchTicker
|
|
255
|
+
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
256
|
+
* @see https://api-beta.pooleno.ir/api/v1/tokens/public
|
|
257
|
+
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
258
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
259
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
260
|
+
*/
|
|
261
|
+
const ticker = await this.fetchTickers([symbol]);
|
|
262
|
+
return ticker[symbol];
|
|
263
|
+
}
|
|
264
|
+
parseTicker(ticker, market = undefined) {
|
|
265
|
+
// {
|
|
266
|
+
// "baseAsset": "BTC",
|
|
267
|
+
// "quoteAsset": "USDT",
|
|
268
|
+
// "symbolName": "BTC",
|
|
269
|
+
// "longEnName": "Bitcoin",
|
|
270
|
+
// "longFaName": "بیتکوین",
|
|
271
|
+
// "createdAt": "2025-02-25T13:47:27.103Z",
|
|
272
|
+
// "id": "cm43t74jp00010hrmed9i7l76",
|
|
273
|
+
// "price": "115024.7",
|
|
274
|
+
// "priceTMN": "12980537395",
|
|
275
|
+
// "sparkline": {
|
|
276
|
+
// "data": [...],
|
|
277
|
+
// "change": -538,
|
|
278
|
+
// "percentage": -0.48,
|
|
279
|
+
// "isPositive": false
|
|
280
|
+
// },
|
|
281
|
+
// "market": {
|
|
282
|
+
// "totalSupply": null,
|
|
283
|
+
// "maxSupply": null,
|
|
284
|
+
// "circulatingSupply": null,
|
|
285
|
+
// "volume24hBase": null,
|
|
286
|
+
// "high24h": null,
|
|
287
|
+
// "low24h": null,
|
|
288
|
+
// "volume24h": null,
|
|
289
|
+
// "marketCap": null
|
|
290
|
+
// },
|
|
291
|
+
// "blockchains": [...]
|
|
292
|
+
// }
|
|
293
|
+
const marketType = 'spot';
|
|
294
|
+
const baseAsset = this.safeString(ticker, 'baseAsset');
|
|
295
|
+
const quoteAsset = this.safeString(ticker, 'quoteAsset');
|
|
296
|
+
const marketId = baseAsset + '/' + quoteAsset;
|
|
297
|
+
const symbol = this.safeSymbol(marketId, market, undefined, marketType);
|
|
298
|
+
const price = this.safeFloat(ticker, 'price');
|
|
299
|
+
const priceTMN = this.safeFloat(ticker, 'priceTMN');
|
|
300
|
+
const sparkline = this.safeDict(ticker, 'sparkline', {});
|
|
301
|
+
const change = this.safeFloat(sparkline, 'change');
|
|
302
|
+
const percentage = this.safeFloat(sparkline, 'percentage');
|
|
303
|
+
const marketData = this.safeDict(ticker, 'market', {});
|
|
304
|
+
const high24h = this.safeFloat(marketData, 'high24h');
|
|
305
|
+
const low24h = this.safeFloat(marketData, 'low24h');
|
|
306
|
+
const volume24h = this.safeFloat(marketData, 'volume24h');
|
|
307
|
+
let last = undefined;
|
|
308
|
+
let baseVolume = undefined;
|
|
309
|
+
if (quoteAsset === 'TMN' || quoteAsset === 'IRT') {
|
|
310
|
+
// For TMN/IRT pairs, use priceTMN
|
|
311
|
+
last = priceTMN;
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
// For other pairs (like USDT), use price
|
|
315
|
+
last = price;
|
|
316
|
+
baseVolume = volume24h;
|
|
317
|
+
}
|
|
318
|
+
return this.safeTicker({
|
|
319
|
+
'symbol': symbol,
|
|
320
|
+
'timestamp': undefined,
|
|
321
|
+
'datetime': undefined,
|
|
322
|
+
'high': high24h,
|
|
323
|
+
'low': low24h,
|
|
324
|
+
'bid': last,
|
|
325
|
+
'bidVolume': undefined,
|
|
326
|
+
'ask': last,
|
|
327
|
+
'askVolume': undefined,
|
|
328
|
+
'vwap': undefined,
|
|
329
|
+
'open': undefined,
|
|
330
|
+
'close': last,
|
|
331
|
+
'last': last,
|
|
332
|
+
'previousClose': undefined,
|
|
333
|
+
'change': change,
|
|
334
|
+
'percentage': percentage,
|
|
335
|
+
'average': undefined,
|
|
336
|
+
'baseVolume': baseVolume,
|
|
337
|
+
'quoteVolume': undefined,
|
|
338
|
+
'info': ticker,
|
|
339
|
+
}, market);
|
|
340
|
+
}
|
|
341
|
+
sign(path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
|
|
342
|
+
const url = this.urls['api']['public'] + '/' + path;
|
|
343
|
+
headers = { 'Content-Type': 'application/json' };
|
|
344
|
+
return { 'url': url, 'method': method, 'body': body, 'headers': headers };
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
exports["default"] = pooleno;
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var tetherland$1 = require('./abstract/tetherland.js');
|
|
6
|
+
require('./base/functions/platform.js');
|
|
7
|
+
var type = require('./base/functions/type.js');
|
|
8
|
+
require('./base/functions/encode.js');
|
|
9
|
+
require('./base/functions/crypto.js');
|
|
6
10
|
|
|
7
11
|
// ----------------------------------------------------------------------------
|
|
8
12
|
// ---------------------------------------------------------------------------
|
|
@@ -88,7 +92,7 @@ class tetherland extends tetherland$1["default"] {
|
|
|
88
92
|
'urls': {
|
|
89
93
|
'logo': 'https://cdn.arz.digital/cr-odin/img/exchanges/tetherland/64x64.png',
|
|
90
94
|
'api': {
|
|
91
|
-
'public': 'https://
|
|
95
|
+
'public': 'https://service.tetherland.com',
|
|
92
96
|
},
|
|
93
97
|
'www': 'https://tetherland.org',
|
|
94
98
|
'doc': [
|
|
@@ -122,7 +126,7 @@ class tetherland extends tetherland$1["default"] {
|
|
|
122
126
|
* @returns {object[]} an array of objects representing market data
|
|
123
127
|
*/
|
|
124
128
|
const response = await this.publicGetApiV5Currencies(params);
|
|
125
|
-
const markets = this.
|
|
129
|
+
const markets = this.safeList(response, 'data');
|
|
126
130
|
const result = [];
|
|
127
131
|
const quotes = ['USDT', 'IRT'];
|
|
128
132
|
for (let i = 0; i < markets.length; i++) {
|
|
@@ -252,7 +256,7 @@ class tetherland extends tetherland$1["default"] {
|
|
|
252
256
|
symbols = this.marketSymbols(symbols);
|
|
253
257
|
}
|
|
254
258
|
const response = await this.publicGetApiV5Currencies(params);
|
|
255
|
-
const markets = this.
|
|
259
|
+
const markets = this.safeList(response, 'data');
|
|
256
260
|
const result = [];
|
|
257
261
|
const quotes = ['USDT', 'IRT'];
|
|
258
262
|
for (let i = 0; i < markets.length; i++) {
|
|
@@ -330,7 +334,7 @@ class tetherland extends tetherland$1["default"] {
|
|
|
330
334
|
const marketId = this.safeString(ticker, 'id');
|
|
331
335
|
const quote = this.safeString(ticker, 'quote');
|
|
332
336
|
const symbol = this.safeSymbol(marketId, market, undefined, marketType);
|
|
333
|
-
let last = this.
|
|
337
|
+
let last = type.asFloat(this.safeString(ticker, 'price', '').replace(',', ''));
|
|
334
338
|
if (quote === 'IRT') {
|
|
335
339
|
last = this.safeFloat(ticker, 'toman_amount', 0);
|
|
336
340
|
}
|
package/dist/cjs/src/twox.js
CHANGED
|
@@ -23,7 +23,7 @@ class twox extends twox$1["default"] {
|
|
|
23
23
|
'pro': false,
|
|
24
24
|
'has': {
|
|
25
25
|
'CORS': undefined,
|
|
26
|
-
'spot':
|
|
26
|
+
'spot': false,
|
|
27
27
|
'margin': false,
|
|
28
28
|
'swap': false,
|
|
29
29
|
'future': false,
|
|
@@ -79,6 +79,7 @@ class twox extends twox$1["default"] {
|
|
|
79
79
|
'fetchTradingFee': false,
|
|
80
80
|
'fetchTradingFees': false,
|
|
81
81
|
'fetchWithdrawals': false,
|
|
82
|
+
'otc': true,
|
|
82
83
|
'setLeverage': false,
|
|
83
84
|
'setMarginMode': false,
|
|
84
85
|
'transfer': false,
|
|
@@ -276,51 +277,77 @@ class twox extends twox$1["default"] {
|
|
|
276
277
|
}
|
|
277
278
|
parseTicker(ticker, market = undefined) {
|
|
278
279
|
// {
|
|
279
|
-
// sellPrice: 0,
|
|
280
|
-
// buyPrice: 0,
|
|
281
|
-
// latestPrice: 0,
|
|
282
|
-
// weeklyChart: "https://cdn.twox.
|
|
283
|
-
// priceChangePercent: 0,
|
|
284
|
-
//
|
|
280
|
+
// sellPrice: 113201.0,
|
|
281
|
+
// buyPrice: 112151.0,
|
|
282
|
+
// latestPrice: 1.0,
|
|
283
|
+
// weeklyChart: "https://cdn.twox.info/resource/w/tether.webp?v=101313",
|
|
284
|
+
// priceChangePercent: 0.0,
|
|
285
|
+
// sellPriceChange: 0.00,
|
|
286
|
+
// buyPriceChange: 0.00,
|
|
287
|
+
// minAmount: 2.0,
|
|
285
288
|
// tags: [ ],
|
|
286
289
|
// marketCategories: [ ],
|
|
287
|
-
// id:
|
|
288
|
-
// symbol: "
|
|
289
|
-
// name: "
|
|
290
|
-
// icon: "https://cdn.twox.
|
|
291
|
-
// persianName: "
|
|
292
|
-
// isStableCoin:
|
|
290
|
+
// id: 2,
|
|
291
|
+
// symbol: "USDT",
|
|
292
|
+
// name: "Tether USDt",
|
|
293
|
+
// icon: "https://cdn.twox.info/resource/c/tether.webp",
|
|
294
|
+
// persianName: "تتر",
|
|
295
|
+
// isStableCoin: true,
|
|
293
296
|
// isActive: true,
|
|
294
|
-
//
|
|
295
|
-
// type: 0,
|
|
297
|
+
// type: 2,
|
|
296
298
|
// isNeedRiskWarning: false,
|
|
297
|
-
// assetPrecision:
|
|
298
|
-
// isLeveragedToken: false,
|
|
299
|
-
// commissionPrecision: 0,
|
|
299
|
+
// assetPrecision: 2,
|
|
300
300
|
// isDepositAllEnable: true,
|
|
301
|
-
//
|
|
301
|
+
// tradeStatus: 1,
|
|
302
302
|
// isWithdrawAllEnable: true,
|
|
303
|
-
// currencySlug: "
|
|
304
|
-
// marketCurrencyId:
|
|
305
|
-
// order:
|
|
303
|
+
// currencySlug: "tether",
|
|
304
|
+
// marketCurrencyId: 825,
|
|
305
|
+
// order: 1,
|
|
306
|
+
// isTrading: true,
|
|
307
|
+
// commissionPrecision: 8,
|
|
308
|
+
// isDepositNeedManualConfirm: false,
|
|
309
|
+
// supportedBy: [ ]
|
|
306
310
|
// },
|
|
307
311
|
const marketType = 'otc';
|
|
308
312
|
const marketId = this.safeString(ticker, 'symbol');
|
|
309
313
|
const symbol = this.safeSymbol(marketId, market, undefined, marketType);
|
|
310
|
-
|
|
314
|
+
const sellPrice = this.safeFloat(ticker, 'sellPrice');
|
|
315
|
+
const buyPrice = this.safeFloat(ticker, 'buyPrice');
|
|
316
|
+
const latestPrice = this.safeFloat(ticker, 'latestPrice');
|
|
317
|
+
let last = undefined;
|
|
318
|
+
let bid = undefined;
|
|
319
|
+
let ask = undefined;
|
|
320
|
+
if (ticker['quote'] === 'IRT') {
|
|
321
|
+
// For IRT pairs, sellPrice is what user pays (ask), buyPrice is what user receives (bid)
|
|
322
|
+
last = sellPrice;
|
|
323
|
+
bid = buyPrice;
|
|
324
|
+
ask = sellPrice;
|
|
325
|
+
}
|
|
326
|
+
else {
|
|
327
|
+
// For USDT pairs, use latestPrice
|
|
328
|
+
last = latestPrice;
|
|
329
|
+
bid = buyPrice;
|
|
330
|
+
ask = sellPrice;
|
|
331
|
+
}
|
|
332
|
+
const percentage = this.safeFloat(ticker, 'priceChangePercent');
|
|
333
|
+
const sellPriceChange = this.safeFloat(ticker, 'sellPriceChange');
|
|
334
|
+
const buyPriceChange = this.safeFloat(ticker, 'buyPriceChange');
|
|
335
|
+
let change = undefined;
|
|
311
336
|
if (ticker['quote'] === 'IRT') {
|
|
312
|
-
|
|
337
|
+
change = sellPriceChange;
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
change = buyPriceChange;
|
|
313
341
|
}
|
|
314
|
-
const change = this.safeFloat(ticker, 'priceChangePercent', 0);
|
|
315
342
|
return this.safeTicker({
|
|
316
343
|
'symbol': symbol,
|
|
317
344
|
'timestamp': undefined,
|
|
318
345
|
'datetime': undefined,
|
|
319
346
|
'high': undefined,
|
|
320
347
|
'low': undefined,
|
|
321
|
-
'bid':
|
|
348
|
+
'bid': bid,
|
|
322
349
|
'bidVolume': undefined,
|
|
323
|
-
'ask':
|
|
350
|
+
'ask': ask,
|
|
324
351
|
'askVolume': undefined,
|
|
325
352
|
'vwap': undefined,
|
|
326
353
|
'open': undefined,
|
|
@@ -328,7 +355,7 @@ class twox extends twox$1["default"] {
|
|
|
328
355
|
'last': last,
|
|
329
356
|
'previousClose': undefined,
|
|
330
357
|
'change': change,
|
|
331
|
-
'percentage':
|
|
358
|
+
'percentage': percentage,
|
|
332
359
|
'average': undefined,
|
|
333
360
|
'baseVolume': undefined,
|
|
334
361
|
'quoteVolume': undefined,
|
package/js/ccxt.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as functions from './src/base/functions.js';
|
|
|
4
4
|
import * as errors from './src/base/errors.js';
|
|
5
5
|
import type { Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, LongShortRatio, OrderBooks, OpenInterests, ConstructorArgs } from './src/base/types.js';
|
|
6
6
|
import { BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError } from './src/base/errors.js';
|
|
7
|
-
declare const version = "4.9.
|
|
7
|
+
declare const version = "4.9.10";
|
|
8
8
|
import abantether from './src/abantether.js';
|
|
9
9
|
import afratether from './src/afratether.js';
|
|
10
10
|
import alpaca from './src/alpaca.js';
|
|
@@ -22,6 +22,7 @@ import bingx from './src/bingx.js';
|
|
|
22
22
|
import bit24 from './src/bit24.js';
|
|
23
23
|
import bit2c from './src/bit2c.js';
|
|
24
24
|
import bitbank from './src/bitbank.js';
|
|
25
|
+
import bitbarg from './src/bitbarg.js';
|
|
25
26
|
import bitbns from './src/bitbns.js';
|
|
26
27
|
import bitfinex from './src/bitfinex.js';
|
|
27
28
|
import bitflyer from './src/bitflyer.js';
|
|
@@ -47,6 +48,8 @@ import btcbox from './src/btcbox.js';
|
|
|
47
48
|
import btcmarkets from './src/btcmarkets.js';
|
|
48
49
|
import btcturk from './src/btcturk.js';
|
|
49
50
|
import bybit from './src/bybit.js';
|
|
51
|
+
import bydfi from './src/bydfi.js';
|
|
52
|
+
import cafearz from './src/cafearz.js';
|
|
50
53
|
import cex from './src/cex.js';
|
|
51
54
|
import coinbase from './src/coinbase.js';
|
|
52
55
|
import coinbaseadvanced from './src/coinbaseadvanced.js';
|
|
@@ -92,6 +95,7 @@ import independentreserve from './src/independentreserve.js';
|
|
|
92
95
|
import indodax from './src/indodax.js';
|
|
93
96
|
import jibitex from './src/jibitex.js';
|
|
94
97
|
import kcex from './src/kcex.js';
|
|
98
|
+
import kifpoolme from './src/kifpoolme.js';
|
|
95
99
|
import kraken from './src/kraken.js';
|
|
96
100
|
import krakenfutures from './src/krakenfutures.js';
|
|
97
101
|
import kucoin from './src/kucoin.js';
|
|
@@ -99,6 +103,7 @@ import kucoinfutures from './src/kucoinfutures.js';
|
|
|
99
103
|
import latoken from './src/latoken.js';
|
|
100
104
|
import lbank from './src/lbank.js';
|
|
101
105
|
import luno from './src/luno.js';
|
|
106
|
+
import mazdax from './src/mazdax.js';
|
|
102
107
|
import mercado from './src/mercado.js';
|
|
103
108
|
import mexc from './src/mexc.js';
|
|
104
109
|
import modetrade from './src/modetrade.js';
|
|
@@ -118,7 +123,9 @@ import p2b from './src/p2b.js';
|
|
|
118
123
|
import paradex from './src/paradex.js';
|
|
119
124
|
import paymium from './src/paymium.js';
|
|
120
125
|
import phemex from './src/phemex.js';
|
|
126
|
+
import pingi from './src/pingi.js';
|
|
121
127
|
import poloniex from './src/poloniex.js';
|
|
128
|
+
import pooleno from './src/pooleno.js';
|
|
122
129
|
import probit from './src/probit.js';
|
|
123
130
|
import ramzinex from './src/ramzinex.js';
|
|
124
131
|
import sarmayex from './src/sarmayex.js';
|
|
@@ -233,6 +240,7 @@ declare const exchanges: {
|
|
|
233
240
|
bit24: typeof bit24;
|
|
234
241
|
bit2c: typeof bit2c;
|
|
235
242
|
bitbank: typeof bitbank;
|
|
243
|
+
bitbarg: typeof bitbarg;
|
|
236
244
|
bitbns: typeof bitbns;
|
|
237
245
|
bitfinex: typeof bitfinex;
|
|
238
246
|
bitflyer: typeof bitflyer;
|
|
@@ -258,6 +266,8 @@ declare const exchanges: {
|
|
|
258
266
|
btcmarkets: typeof btcmarkets;
|
|
259
267
|
btcturk: typeof btcturk;
|
|
260
268
|
bybit: typeof bybit;
|
|
269
|
+
bydfi: typeof bydfi;
|
|
270
|
+
cafearz: typeof cafearz;
|
|
261
271
|
cex: typeof cex;
|
|
262
272
|
coinbase: typeof coinbase;
|
|
263
273
|
coinbaseadvanced: typeof coinbaseadvanced;
|
|
@@ -303,6 +313,7 @@ declare const exchanges: {
|
|
|
303
313
|
indodax: typeof indodax;
|
|
304
314
|
jibitex: typeof jibitex;
|
|
305
315
|
kcex: typeof kcex;
|
|
316
|
+
kifpoolme: typeof kifpoolme;
|
|
306
317
|
kraken: typeof kraken;
|
|
307
318
|
krakenfutures: typeof krakenfutures;
|
|
308
319
|
kucoin: typeof kucoin;
|
|
@@ -310,6 +321,7 @@ declare const exchanges: {
|
|
|
310
321
|
latoken: typeof latoken;
|
|
311
322
|
lbank: typeof lbank;
|
|
312
323
|
luno: typeof luno;
|
|
324
|
+
mazdax: typeof mazdax;
|
|
313
325
|
mercado: typeof mercado;
|
|
314
326
|
mexc: typeof mexc;
|
|
315
327
|
modetrade: typeof modetrade;
|
|
@@ -329,7 +341,9 @@ declare const exchanges: {
|
|
|
329
341
|
paradex: typeof paradex;
|
|
330
342
|
paymium: typeof paymium;
|
|
331
343
|
phemex: typeof phemex;
|
|
344
|
+
pingi: typeof pingi;
|
|
332
345
|
poloniex: typeof poloniex;
|
|
346
|
+
pooleno: typeof pooleno;
|
|
333
347
|
probit: typeof probit;
|
|
334
348
|
ramzinex: typeof ramzinex;
|
|
335
349
|
sarmayex: typeof sarmayex;
|
|
@@ -527,6 +541,7 @@ declare const ccxt: {
|
|
|
527
541
|
bit24: typeof bit24;
|
|
528
542
|
bit2c: typeof bit2c;
|
|
529
543
|
bitbank: typeof bitbank;
|
|
544
|
+
bitbarg: typeof bitbarg;
|
|
530
545
|
bitbns: typeof bitbns;
|
|
531
546
|
bitfinex: typeof bitfinex;
|
|
532
547
|
bitflyer: typeof bitflyer;
|
|
@@ -552,6 +567,8 @@ declare const ccxt: {
|
|
|
552
567
|
btcmarkets: typeof btcmarkets;
|
|
553
568
|
btcturk: typeof btcturk;
|
|
554
569
|
bybit: typeof bybit;
|
|
570
|
+
bydfi: typeof bydfi;
|
|
571
|
+
cafearz: typeof cafearz;
|
|
555
572
|
cex: typeof cex;
|
|
556
573
|
coinbase: typeof coinbase;
|
|
557
574
|
coinbaseadvanced: typeof coinbaseadvanced;
|
|
@@ -597,6 +614,7 @@ declare const ccxt: {
|
|
|
597
614
|
indodax: typeof indodax;
|
|
598
615
|
jibitex: typeof jibitex;
|
|
599
616
|
kcex: typeof kcex;
|
|
617
|
+
kifpoolme: typeof kifpoolme;
|
|
600
618
|
kraken: typeof kraken;
|
|
601
619
|
krakenfutures: typeof krakenfutures;
|
|
602
620
|
kucoin: typeof kucoin;
|
|
@@ -604,6 +622,7 @@ declare const ccxt: {
|
|
|
604
622
|
latoken: typeof latoken;
|
|
605
623
|
lbank: typeof lbank;
|
|
606
624
|
luno: typeof luno;
|
|
625
|
+
mazdax: typeof mazdax;
|
|
607
626
|
mercado: typeof mercado;
|
|
608
627
|
mexc: typeof mexc;
|
|
609
628
|
modetrade: typeof modetrade;
|
|
@@ -623,7 +642,9 @@ declare const ccxt: {
|
|
|
623
642
|
paradex: typeof paradex;
|
|
624
643
|
paymium: typeof paymium;
|
|
625
644
|
phemex: typeof phemex;
|
|
645
|
+
pingi: typeof pingi;
|
|
626
646
|
poloniex: typeof poloniex;
|
|
647
|
+
pooleno: typeof pooleno;
|
|
627
648
|
probit: typeof probit;
|
|
628
649
|
ramzinex: typeof ramzinex;
|
|
629
650
|
sarmayex: typeof sarmayex;
|
|
@@ -648,5 +669,5 @@ declare const ccxt: {
|
|
|
648
669
|
zaif: typeof zaif;
|
|
649
670
|
zonda: typeof zonda;
|
|
650
671
|
} & typeof functions & typeof errors;
|
|
651
|
-
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, abantether, afratether, alpaca, apex, arzinja, arzplus, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit24, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitimen, bitir, bitmart, bitmex, bitopro, bitpin, bitrue, bitso, bitstamp, bitteam, bittrade, bitunix, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, defx, delta, deribit, derive, digifinex, ellipx, eterex, excoino, exir, exmo, exnovin, farhadexchange, fmfwio, foxbit, gate, gateio, gemini, hamtapay, hashkey, hibachi, hitbtc, hitobit, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, jibitex, kcex, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, ramzinex, sarmayex, sarrafex, tabdeal, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
672
|
+
export { version, Exchange, exchanges, pro, Precise, functions, errors, BaseError, ExchangeError, AuthenticationError, PermissionDenied, AccountNotEnabled, AccountSuspended, ArgumentsRequired, BadRequest, BadSymbol, OperationRejected, NoChange, MarginModeAlreadySet, MarketClosed, ManualInteractionNeeded, RestrictedLocation, InsufficientFunds, InvalidAddress, AddressPending, InvalidOrder, OrderNotFound, OrderNotCached, OrderImmediatelyFillable, OrderNotFillable, DuplicateOrderId, ContractUnavailable, NotSupported, InvalidProxySettings, ExchangeClosedByUser, OperationFailed, NetworkError, DDoSProtection, RateLimitExceeded, ExchangeNotAvailable, OnMaintenance, InvalidNonce, ChecksumError, RequestTimeout, BadResponse, NullResponse, CancelPending, UnsubscribeError, Int, int, Str, Strings, Num, Bool, IndexType, OrderSide, OrderType, MarketType, SubType, Dict, NullableDict, List, NullableList, Fee, OHLCV, OHLCVC, implicitReturnType, Market, Currency, ConstructorArgs, Dictionary, MinMax, FeeInterface, TradingFeeInterface, MarketMarginModes, MarketInterface, Trade, Order, OrderBook, OrderBooks, Ticker, Transaction, Tickers, CurrencyInterface, Balance, BalanceAccount, Account, PartialBalances, Balances, DepositAddress, WithdrawalResponse, FundingRate, FundingRates, Position, BorrowInterest, LeverageTier, LedgerEntry, DepositWithdrawFeeNetwork, DepositWithdrawFee, TransferEntry, CrossBorrowRate, IsolatedBorrowRate, FundingRateHistory, OpenInterest, OpenInterests, Liquidation, OrderRequest, CancellationRequest, FundingHistory, MarginMode, Greeks, Conversion, Option, LastPrice, Leverage, LongShortRatio, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, abantether, afratether, alpaca, apex, arzinja, arzplus, ascendex, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit24, bit2c, bitbank, bitbarg, bitbns, bitfinex, bitflyer, bitget, bithumb, bitimen, bitir, bitmart, bitmex, bitopro, bitpin, bitrue, bitso, bitstamp, bitteam, bittrade, bitunix, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, bydfi, cafearz, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, defx, delta, deribit, derive, digifinex, ellipx, eterex, excoino, exir, exmo, exnovin, farhadexchange, fmfwio, foxbit, gate, gateio, gemini, hamtapay, hashkey, hibachi, hitbtc, hitobit, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, jibitex, kcex, kifpoolme, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mazdax, mercado, mexc, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, oxfun, p2b, paradex, paymium, phemex, pingi, poloniex, pooleno, probit, ramzinex, sarmayex, sarrafex, tabdeal, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
652
673
|
export default ccxt;
|