ccxt-ir 4.17.0 → 4.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/373.ccxt.browser.js +1 -1
- package/dist/373.ccxt.browser.min.js +1 -1
- package/dist/ccxt.browser.min.js +15 -15
- package/dist/cjs/ccxt.js +34 -1
- package/dist/cjs/package.json +1 -1
- package/dist/cjs/src/baazar.js +160 -0
- package/dist/cjs/src/daric.js +181 -0
- package/dist/cjs/src/digikalagold.js +178 -0
- package/dist/cjs/src/goldcore.js +155 -0
- package/dist/cjs/src/goldika.js +163 -0
- package/dist/cjs/src/goldis.js +157 -0
- package/dist/cjs/src/hamrahgold.js +171 -0
- package/dist/cjs/src/talapp.js +156 -0
- package/dist/cjs/src/zarafza.js +159 -0
- package/dist/cjs/src/zarminex.js +162 -0
- package/dist/cjs/src/zarniv.js +178 -0
- package/js/ccxt.d.ts +35 -2
- package/js/ccxt.js +24 -2
- package/js/src/abstract/baazar.d.ts +8 -0
- package/js/src/abstract/baazar.js +11 -0
- package/js/src/abstract/daric.d.ts +8 -0
- package/js/src/abstract/daric.js +11 -0
- package/js/src/abstract/digikalagold.d.ts +8 -0
- package/js/src/abstract/digikalagold.js +11 -0
- package/js/src/abstract/goldcore.d.ts +8 -0
- package/js/src/abstract/goldcore.js +11 -0
- package/js/src/abstract/goldika.d.ts +8 -0
- package/js/src/abstract/goldika.js +11 -0
- package/js/src/abstract/goldis.d.ts +8 -0
- package/js/src/abstract/goldis.js +11 -0
- package/js/src/abstract/hamrahgold.d.ts +8 -0
- package/js/src/abstract/hamrahgold.js +11 -0
- package/js/src/abstract/talapp.d.ts +8 -0
- package/js/src/abstract/talapp.js +11 -0
- package/js/src/abstract/zarafza.d.ts +8 -0
- package/js/src/abstract/zarafza.js +11 -0
- package/js/src/abstract/zarminex.d.ts +8 -0
- package/js/src/abstract/zarminex.js +11 -0
- package/js/src/abstract/zarniv.d.ts +9 -0
- package/js/src/abstract/zarniv.js +11 -0
- package/js/src/baazar.d.ts +20 -0
- package/js/src/baazar.js +159 -0
- package/js/src/daric.d.ts +22 -0
- package/js/src/daric.js +180 -0
- package/js/src/digikalagold.d.ts +21 -0
- package/js/src/digikalagold.js +177 -0
- package/js/src/goldcore.d.ts +20 -0
- package/js/src/goldcore.js +154 -0
- package/js/src/goldika.d.ts +20 -0
- package/js/src/goldika.js +162 -0
- package/js/src/goldis.d.ts +21 -0
- package/js/src/goldis.js +156 -0
- package/js/src/hamrahgold.d.ts +21 -0
- package/js/src/hamrahgold.js +170 -0
- package/js/src/talapp.d.ts +20 -0
- package/js/src/talapp.js +155 -0
- package/js/src/zarafza.d.ts +20 -0
- package/js/src/zarafza.js +158 -0
- package/js/src/zarminex.d.ts +20 -0
- package/js/src/zarminex.js +161 -0
- package/js/src/zarniv.d.ts +21 -0
- package/js/src/zarniv.js +177 -0
- package/js/test.js +50 -43
- package/package.json +1 -1
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.
|
|
7
|
+
declare const version = "4.18.0";
|
|
8
8
|
import abantether from './src/abantether.js';
|
|
9
9
|
import afratether from './src/afratether.js';
|
|
10
10
|
import alpaca from './src/alpaca.js';
|
|
@@ -14,6 +14,7 @@ import arzplus from './src/arzplus.js';
|
|
|
14
14
|
import asacoine from './src/asacoine.js';
|
|
15
15
|
import ascendex from './src/ascendex.js';
|
|
16
16
|
import asretether from './src/asretether.js';
|
|
17
|
+
import baazar from './src/baazar.js';
|
|
17
18
|
import bequant from './src/bequant.js';
|
|
18
19
|
import bidarz from './src/bidarz.js';
|
|
19
20
|
import bigone from './src/bigone.js';
|
|
@@ -70,11 +71,13 @@ import coinsph from './src/coinsph.js';
|
|
|
70
71
|
import coinspot from './src/coinspot.js';
|
|
71
72
|
import cryptocom from './src/cryptocom.js';
|
|
72
73
|
import cryptomus from './src/cryptomus.js';
|
|
74
|
+
import daric from './src/daric.js';
|
|
73
75
|
import defx from './src/defx.js';
|
|
74
76
|
import delta from './src/delta.js';
|
|
75
77
|
import deribit from './src/deribit.js';
|
|
76
78
|
import derive from './src/derive.js';
|
|
77
79
|
import digifinex from './src/digifinex.js';
|
|
80
|
+
import digikalagold from './src/digikalagold.js';
|
|
78
81
|
import ellipx from './src/ellipx.js';
|
|
79
82
|
import eterex from './src/eterex.js';
|
|
80
83
|
import excoino from './src/excoino.js';
|
|
@@ -87,6 +90,10 @@ import foxbit from './src/foxbit.js';
|
|
|
87
90
|
import gate from './src/gate.js';
|
|
88
91
|
import gateio from './src/gateio.js';
|
|
89
92
|
import gemini from './src/gemini.js';
|
|
93
|
+
import goldcore from './src/goldcore.js';
|
|
94
|
+
import goldika from './src/goldika.js';
|
|
95
|
+
import goldis from './src/goldis.js';
|
|
96
|
+
import hamrahgold from './src/hamrahgold.js';
|
|
90
97
|
import hamtapay from './src/hamtapay.js';
|
|
91
98
|
import hashkey from './src/hashkey.js';
|
|
92
99
|
import hibachi from './src/hibachi.js';
|
|
@@ -142,6 +149,7 @@ import saraf from './src/saraf.js';
|
|
|
142
149
|
import sarmayex from './src/sarmayex.js';
|
|
143
150
|
import sarrafex from './src/sarrafex.js';
|
|
144
151
|
import tabdeal from './src/tabdeal.js';
|
|
152
|
+
import talapp from './src/talapp.js';
|
|
145
153
|
import talasea from './src/talasea.js';
|
|
146
154
|
import technogold from './src/technogold.js';
|
|
147
155
|
import tehran_exchange from './src/tehran_exchange.js';
|
|
@@ -163,6 +171,9 @@ import woofipro from './src/woofipro.js';
|
|
|
163
171
|
import xt from './src/xt.js';
|
|
164
172
|
import yobit from './src/yobit.js';
|
|
165
173
|
import zaif from './src/zaif.js';
|
|
174
|
+
import zarafza from './src/zarafza.js';
|
|
175
|
+
import zarminex from './src/zarminex.js';
|
|
176
|
+
import zarniv from './src/zarniv.js';
|
|
166
177
|
import zonda from './src/zonda.js';
|
|
167
178
|
import alpacaPro from './src/pro/alpaca.js';
|
|
168
179
|
import apexPro from './src/pro/apex.js';
|
|
@@ -247,6 +258,7 @@ declare const exchanges: {
|
|
|
247
258
|
asacoine: typeof asacoine;
|
|
248
259
|
ascendex: typeof ascendex;
|
|
249
260
|
asretether: typeof asretether;
|
|
261
|
+
baazar: typeof baazar;
|
|
250
262
|
bequant: typeof bequant;
|
|
251
263
|
bidarz: typeof bidarz;
|
|
252
264
|
bigone: typeof bigone;
|
|
@@ -303,11 +315,13 @@ declare const exchanges: {
|
|
|
303
315
|
coinspot: typeof coinspot;
|
|
304
316
|
cryptocom: typeof cryptocom;
|
|
305
317
|
cryptomus: typeof cryptomus;
|
|
318
|
+
daric: typeof daric;
|
|
306
319
|
defx: typeof defx;
|
|
307
320
|
delta: typeof delta;
|
|
308
321
|
deribit: typeof deribit;
|
|
309
322
|
derive: typeof derive;
|
|
310
323
|
digifinex: typeof digifinex;
|
|
324
|
+
digikalagold: typeof digikalagold;
|
|
311
325
|
ellipx: typeof ellipx;
|
|
312
326
|
eterex: typeof eterex;
|
|
313
327
|
excoino: typeof excoino;
|
|
@@ -320,6 +334,10 @@ declare const exchanges: {
|
|
|
320
334
|
gate: typeof gate;
|
|
321
335
|
gateio: typeof gateio;
|
|
322
336
|
gemini: typeof gemini;
|
|
337
|
+
goldcore: typeof goldcore;
|
|
338
|
+
goldika: typeof goldika;
|
|
339
|
+
goldis: typeof goldis;
|
|
340
|
+
hamrahgold: typeof hamrahgold;
|
|
323
341
|
hamtapay: typeof hamtapay;
|
|
324
342
|
hashkey: typeof hashkey;
|
|
325
343
|
hibachi: typeof hibachi;
|
|
@@ -375,6 +393,7 @@ declare const exchanges: {
|
|
|
375
393
|
sarmayex: typeof sarmayex;
|
|
376
394
|
sarrafex: typeof sarrafex;
|
|
377
395
|
tabdeal: typeof tabdeal;
|
|
396
|
+
talapp: typeof talapp;
|
|
378
397
|
talasea: typeof talasea;
|
|
379
398
|
technogold: typeof technogold;
|
|
380
399
|
tehran_exchange: typeof tehran_exchange;
|
|
@@ -396,6 +415,9 @@ declare const exchanges: {
|
|
|
396
415
|
xt: typeof xt;
|
|
397
416
|
yobit: typeof yobit;
|
|
398
417
|
zaif: typeof zaif;
|
|
418
|
+
zarafza: typeof zarafza;
|
|
419
|
+
zarminex: typeof zarminex;
|
|
420
|
+
zarniv: typeof zarniv;
|
|
399
421
|
zonda: typeof zonda;
|
|
400
422
|
};
|
|
401
423
|
declare const pro: {
|
|
@@ -563,6 +585,7 @@ declare const ccxt: {
|
|
|
563
585
|
asacoine: typeof asacoine;
|
|
564
586
|
ascendex: typeof ascendex;
|
|
565
587
|
asretether: typeof asretether;
|
|
588
|
+
baazar: typeof baazar;
|
|
566
589
|
bequant: typeof bequant;
|
|
567
590
|
bidarz: typeof bidarz;
|
|
568
591
|
bigone: typeof bigone;
|
|
@@ -619,11 +642,13 @@ declare const ccxt: {
|
|
|
619
642
|
coinspot: typeof coinspot;
|
|
620
643
|
cryptocom: typeof cryptocom;
|
|
621
644
|
cryptomus: typeof cryptomus;
|
|
645
|
+
daric: typeof daric;
|
|
622
646
|
defx: typeof defx;
|
|
623
647
|
delta: typeof delta;
|
|
624
648
|
deribit: typeof deribit;
|
|
625
649
|
derive: typeof derive;
|
|
626
650
|
digifinex: typeof digifinex;
|
|
651
|
+
digikalagold: typeof digikalagold;
|
|
627
652
|
ellipx: typeof ellipx;
|
|
628
653
|
eterex: typeof eterex;
|
|
629
654
|
excoino: typeof excoino;
|
|
@@ -636,6 +661,10 @@ declare const ccxt: {
|
|
|
636
661
|
gate: typeof gate;
|
|
637
662
|
gateio: typeof gateio;
|
|
638
663
|
gemini: typeof gemini;
|
|
664
|
+
goldcore: typeof goldcore;
|
|
665
|
+
goldika: typeof goldika;
|
|
666
|
+
goldis: typeof goldis;
|
|
667
|
+
hamrahgold: typeof hamrahgold;
|
|
639
668
|
hamtapay: typeof hamtapay;
|
|
640
669
|
hashkey: typeof hashkey;
|
|
641
670
|
hibachi: typeof hibachi;
|
|
@@ -691,6 +720,7 @@ declare const ccxt: {
|
|
|
691
720
|
sarmayex: typeof sarmayex;
|
|
692
721
|
sarrafex: typeof sarrafex;
|
|
693
722
|
tabdeal: typeof tabdeal;
|
|
723
|
+
talapp: typeof talapp;
|
|
694
724
|
talasea: typeof talasea;
|
|
695
725
|
technogold: typeof technogold;
|
|
696
726
|
tehran_exchange: typeof tehran_exchange;
|
|
@@ -712,7 +742,10 @@ declare const ccxt: {
|
|
|
712
742
|
xt: typeof xt;
|
|
713
743
|
yobit: typeof yobit;
|
|
714
744
|
zaif: typeof zaif;
|
|
745
|
+
zarafza: typeof zarafza;
|
|
746
|
+
zarminex: typeof zarminex;
|
|
747
|
+
zarniv: typeof zarniv;
|
|
715
748
|
zonda: typeof zonda;
|
|
716
749
|
} & typeof functions & typeof errors;
|
|
717
|
-
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, asacoine, ascendex, asretether, bequant, bidarz, 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, bitwana, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, bydfi, cafearz, cex, changefa, 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, iranexchange, jibitex, kcex, kifpoolme, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mazdax, melligold, mercado, mexc, milligold, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, ourbit, oxfun, p2b, paradex, paymium, phemex, pingi, poloniex, pooleno, probit, raastin, ramzinex, saraf, sarmayex, sarrafex, tabdeal, talasea, technogold, tehran_exchange, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wallgold, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
750
|
+
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, asacoine, ascendex, asretether, baazar, bequant, bidarz, 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, bitwana, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, bydfi, cafearz, cex, changefa, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, daric, defx, delta, deribit, derive, digifinex, digikalagold, ellipx, eterex, excoino, exir, exmo, exnovin, farhadexchange, fmfwio, foxbit, gate, gateio, gemini, goldcore, goldika, goldis, hamrahgold, hamtapay, hashkey, hibachi, hitbtc, hitobit, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, iranexchange, jibitex, kcex, kifpoolme, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mazdax, melligold, mercado, mexc, milligold, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, ourbit, oxfun, p2b, paradex, paymium, phemex, pingi, poloniex, pooleno, probit, raastin, ramzinex, saraf, sarmayex, sarrafex, tabdeal, talapp, talasea, technogold, tehran_exchange, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wallgold, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zarafza, zarminex, zarniv, zonda, };
|
|
718
751
|
export default ccxt;
|
package/js/ccxt.js
CHANGED
|
@@ -38,7 +38,7 @@ import * as errors from './src/base/errors.js';
|
|
|
38
38
|
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';
|
|
39
39
|
//-----------------------------------------------------------------------------
|
|
40
40
|
// this is updated by vss.js when building
|
|
41
|
-
const version = '4.
|
|
41
|
+
const version = '4.18.0';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import abantether from './src/abantether.js';
|
|
@@ -50,6 +50,7 @@ import arzplus from './src/arzplus.js';
|
|
|
50
50
|
import asacoine from './src/asacoine.js';
|
|
51
51
|
import ascendex from './src/ascendex.js';
|
|
52
52
|
import asretether from './src/asretether.js';
|
|
53
|
+
import baazar from './src/baazar.js';
|
|
53
54
|
import bequant from './src/bequant.js';
|
|
54
55
|
import bidarz from './src/bidarz.js';
|
|
55
56
|
import bigone from './src/bigone.js';
|
|
@@ -106,11 +107,13 @@ import coinsph from './src/coinsph.js';
|
|
|
106
107
|
import coinspot from './src/coinspot.js';
|
|
107
108
|
import cryptocom from './src/cryptocom.js';
|
|
108
109
|
import cryptomus from './src/cryptomus.js';
|
|
110
|
+
import daric from './src/daric.js';
|
|
109
111
|
import defx from './src/defx.js';
|
|
110
112
|
import delta from './src/delta.js';
|
|
111
113
|
import deribit from './src/deribit.js';
|
|
112
114
|
import derive from './src/derive.js';
|
|
113
115
|
import digifinex from './src/digifinex.js';
|
|
116
|
+
import digikalagold from './src/digikalagold.js';
|
|
114
117
|
import ellipx from './src/ellipx.js';
|
|
115
118
|
import eterex from './src/eterex.js';
|
|
116
119
|
import excoino from './src/excoino.js';
|
|
@@ -123,6 +126,10 @@ import foxbit from './src/foxbit.js';
|
|
|
123
126
|
import gate from './src/gate.js';
|
|
124
127
|
import gateio from './src/gateio.js';
|
|
125
128
|
import gemini from './src/gemini.js';
|
|
129
|
+
import goldcore from './src/goldcore.js';
|
|
130
|
+
import goldika from './src/goldika.js';
|
|
131
|
+
import goldis from './src/goldis.js';
|
|
132
|
+
import hamrahgold from './src/hamrahgold.js';
|
|
126
133
|
import hamtapay from './src/hamtapay.js';
|
|
127
134
|
import hashkey from './src/hashkey.js';
|
|
128
135
|
import hibachi from './src/hibachi.js';
|
|
@@ -178,6 +185,7 @@ import saraf from './src/saraf.js';
|
|
|
178
185
|
import sarmayex from './src/sarmayex.js';
|
|
179
186
|
import sarrafex from './src/sarrafex.js';
|
|
180
187
|
import tabdeal from './src/tabdeal.js';
|
|
188
|
+
import talapp from './src/talapp.js';
|
|
181
189
|
import talasea from './src/talasea.js';
|
|
182
190
|
import technogold from './src/technogold.js';
|
|
183
191
|
import tehran_exchange from './src/tehran_exchange.js';
|
|
@@ -199,6 +207,9 @@ import woofipro from './src/woofipro.js';
|
|
|
199
207
|
import xt from './src/xt.js';
|
|
200
208
|
import yobit from './src/yobit.js';
|
|
201
209
|
import zaif from './src/zaif.js';
|
|
210
|
+
import zarafza from './src/zarafza.js';
|
|
211
|
+
import zarminex from './src/zarminex.js';
|
|
212
|
+
import zarniv from './src/zarniv.js';
|
|
202
213
|
import zonda from './src/zonda.js';
|
|
203
214
|
// pro exchanges
|
|
204
215
|
import alpacaPro from './src/pro/alpaca.js';
|
|
@@ -284,6 +295,7 @@ const exchanges = {
|
|
|
284
295
|
'asacoine': asacoine,
|
|
285
296
|
'ascendex': ascendex,
|
|
286
297
|
'asretether': asretether,
|
|
298
|
+
'baazar': baazar,
|
|
287
299
|
'bequant': bequant,
|
|
288
300
|
'bidarz': bidarz,
|
|
289
301
|
'bigone': bigone,
|
|
@@ -340,11 +352,13 @@ const exchanges = {
|
|
|
340
352
|
'coinspot': coinspot,
|
|
341
353
|
'cryptocom': cryptocom,
|
|
342
354
|
'cryptomus': cryptomus,
|
|
355
|
+
'daric': daric,
|
|
343
356
|
'defx': defx,
|
|
344
357
|
'delta': delta,
|
|
345
358
|
'deribit': deribit,
|
|
346
359
|
'derive': derive,
|
|
347
360
|
'digifinex': digifinex,
|
|
361
|
+
'digikalagold': digikalagold,
|
|
348
362
|
'ellipx': ellipx,
|
|
349
363
|
'eterex': eterex,
|
|
350
364
|
'excoino': excoino,
|
|
@@ -357,6 +371,10 @@ const exchanges = {
|
|
|
357
371
|
'gate': gate,
|
|
358
372
|
'gateio': gateio,
|
|
359
373
|
'gemini': gemini,
|
|
374
|
+
'goldcore': goldcore,
|
|
375
|
+
'goldika': goldika,
|
|
376
|
+
'goldis': goldis,
|
|
377
|
+
'hamrahgold': hamrahgold,
|
|
360
378
|
'hamtapay': hamtapay,
|
|
361
379
|
'hashkey': hashkey,
|
|
362
380
|
'hibachi': hibachi,
|
|
@@ -412,6 +430,7 @@ const exchanges = {
|
|
|
412
430
|
'sarmayex': sarmayex,
|
|
413
431
|
'sarrafex': sarrafex,
|
|
414
432
|
'tabdeal': tabdeal,
|
|
433
|
+
'talapp': talapp,
|
|
415
434
|
'talasea': talasea,
|
|
416
435
|
'technogold': technogold,
|
|
417
436
|
'tehran_exchange': tehran_exchange,
|
|
@@ -433,6 +452,9 @@ const exchanges = {
|
|
|
433
452
|
'xt': xt,
|
|
434
453
|
'yobit': yobit,
|
|
435
454
|
'zaif': zaif,
|
|
455
|
+
'zarafza': zarafza,
|
|
456
|
+
'zarminex': zarminex,
|
|
457
|
+
'zarniv': zarniv,
|
|
436
458
|
'zonda': zonda,
|
|
437
459
|
};
|
|
438
460
|
const pro = {
|
|
@@ -522,6 +544,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
522
544
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
523
545
|
//-----------------------------------------------------------------------------
|
|
524
546
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
525
|
-
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, abantether, afratether, alpaca, apex, arzinja, arzplus, asacoine, ascendex, asretether, bequant, bidarz, 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, bitwana, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, bydfi, cafearz, cex, changefa, 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, iranexchange, jibitex, kcex, kifpoolme, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mazdax, melligold, mercado, mexc, milligold, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, ourbit, oxfun, p2b, paradex, paymium, phemex, pingi, poloniex, pooleno, probit, raastin, ramzinex, saraf, sarmayex, sarrafex, tabdeal, talasea, technogold, tehran_exchange, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wallgold, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
547
|
+
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, abantether, afratether, alpaca, apex, arzinja, arzplus, asacoine, ascendex, asretether, baazar, bequant, bidarz, 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, bitwana, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, bydfi, cafearz, cex, changefa, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, daric, defx, delta, deribit, derive, digifinex, digikalagold, ellipx, eterex, excoino, exir, exmo, exnovin, farhadexchange, fmfwio, foxbit, gate, gateio, gemini, goldcore, goldika, goldis, hamrahgold, hamtapay, hashkey, hibachi, hitbtc, hitobit, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, iranexchange, jibitex, kcex, kifpoolme, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mazdax, melligold, mercado, mexc, milligold, modetrade, myokx, ndax, nobitex, novadax, oceanex, okcoin, okexchange, okx, okxus, ompfinex, onetrading, ourbit, oxfun, p2b, paradex, paymium, phemex, pingi, poloniex, pooleno, probit, raastin, ramzinex, saraf, sarmayex, sarrafex, tabdeal, talapp, talasea, technogold, tehran_exchange, tetherland, timex, tokocrypto, toobit, tradeogre, twox, ubitex, upbit, vertex, wallex, wallgold, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zarafza, zarminex, zarniv, zonda, };
|
|
526
548
|
export default ccxt;
|
|
527
549
|
//-----------------------------------------------------------------------------
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetLandingV1PriceDAILY30(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetPublicGeneralPairList(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetNonInventoryV1Prices(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetV1Price(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetApiV2PublicPrice(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetBackendApiV1PricingSpot(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetApiV1MarketPriceXauChanges(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetWpJsonTalappV1GoldPrices(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetV2Prices(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetFunctionUrl(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
}
|
|
6
|
+
declare abstract class Exchange extends _Exchange {
|
|
7
|
+
}
|
|
8
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
publicGetUserGetGoldPrice(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
publicGetUserGetSilverPrice(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
}
|
|
7
|
+
declare abstract class Exchange extends _Exchange {
|
|
8
|
+
}
|
|
9
|
+
export default Exchange;
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Exchange from './base/Exchange.js';
|
|
2
|
+
import { Market, Strings, Ticker, Tickers } from './base/types.js';
|
|
3
|
+
/**
|
|
4
|
+
* @class baazar
|
|
5
|
+
* @augments Exchange
|
|
6
|
+
*/
|
|
7
|
+
export default class baazar extends Exchange {
|
|
8
|
+
describe(): any;
|
|
9
|
+
fetchMarkets(params?: {}): Promise<Market[]>;
|
|
10
|
+
parseMarket(response: any): Market;
|
|
11
|
+
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
12
|
+
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
13
|
+
parseTicker(response: any, market?: Market): Ticker;
|
|
14
|
+
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
|
15
|
+
url: string;
|
|
16
|
+
method: string;
|
|
17
|
+
body: any;
|
|
18
|
+
headers: any;
|
|
19
|
+
};
|
|
20
|
+
}
|