ccxt 4.5.18 → 4.5.20
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 -6
- package/dist/ccxt.browser.min.js +40 -16
- package/dist/cjs/_virtual/index.cjs.js +1459 -9
- package/dist/cjs/ccxt.js +8 -2
- package/dist/cjs/src/abstract/dydx.js +11 -0
- package/dist/cjs/src/base/Exchange.js +164 -10
- package/dist/cjs/src/base/ws/Client.js +3 -1
- package/dist/cjs/src/binance.js +8 -1
- package/dist/cjs/src/bingx.js +20 -0
- package/dist/cjs/src/bitget.js +43 -41
- package/dist/cjs/src/bybit.js +21 -23
- package/dist/cjs/src/deribit.js +6 -0
- package/dist/cjs/src/dydx.js +2454 -0
- package/dist/cjs/src/gate.js +4 -4
- package/dist/cjs/src/hibachi.js +1 -1
- package/dist/cjs/src/hyperliquid.js +207 -9
- package/dist/cjs/src/kucoin.js +711 -109
- package/dist/cjs/src/mexc.js +2 -3
- package/dist/cjs/src/pro/binance.js +59 -144
- package/dist/cjs/src/pro/dydx.js +418 -0
- package/dist/cjs/src/pro/kraken.js +4 -3
- package/dist/cjs/src/pro/xt.js +218 -4
- package/dist/cjs/src/protobuf/mexc/compiled.cjs.js +1 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/cosmos/base/v1beta1/coin.js +56 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/cosmos/crypto/multisig/v1beta1/multisig.js +56 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/cosmos/crypto/secp256k1/keys.js +48 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/cosmos/tx/signing/v1beta1/signing.js +343 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/cosmos/tx/v1beta1/tx.js +717 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/accountplus/tx.js +60 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/clob_pair.js +45 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order.js +380 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order_removals.js +72 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/tx.js +211 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/transfer.js +195 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/tx.js +49 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/subaccount.js +57 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/google/protobuf/any.js +56 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/helpers.js +79 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/long/index.cjs.js +9 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/onboarding.js +59 -0
- package/dist/cjs/src/static_dependencies/dydx-v4-client/registry.js +39 -0
- package/dist/cjs/src/static_dependencies/noble-hashes/pbkdf2.js +69 -0
- package/dist/cjs/src/static_dependencies/noble-hashes/ripemd160.js +108 -0
- package/dist/cjs/src/static_dependencies/noble-hashes/utils.js +50 -1
- package/dist/cjs/src/static_dependencies/scure-base/index.js +29 -0
- package/dist/cjs/src/static_dependencies/scure-bip32/index.js +278 -0
- package/dist/cjs/src/static_dependencies/scure-bip39/index.js +97 -0
- package/dist/cjs/src/static_dependencies/scure-bip39/wordlists/english.js +2060 -0
- package/dist/cjs/src/static_dependencies/zklink/zklink-sdk-web.js +2 -0
- package/dist/cjs/src/toobit.js +2 -1
- package/js/ccxt.d.ts +8 -2
- package/js/ccxt.js +6 -2
- package/js/src/abstract/binance.d.ts +7 -0
- package/js/src/abstract/binancecoinm.d.ts +7 -0
- package/js/src/abstract/binanceus.d.ts +7 -0
- package/js/src/abstract/binanceusdm.d.ts +7 -0
- package/js/src/abstract/bitget.d.ts +1 -0
- package/js/src/abstract/dydx.d.ts +61 -0
- package/js/src/abstract/dydx.js +11 -0
- package/js/src/abstract/kucoin.d.ts +1 -1
- package/js/src/abstract/kucoinfutures.d.ts +1 -1
- package/js/src/base/Exchange.d.ts +7 -0
- package/js/src/base/Exchange.js +163 -10
- package/js/src/base/ws/Client.js +3 -1
- package/js/src/binance.js +8 -1
- package/js/src/bingx.js +20 -0
- package/js/src/bitget.d.ts +3 -3
- package/js/src/bitget.js +43 -41
- package/js/src/bybit.d.ts +3 -3
- package/js/src/bybit.js +21 -23
- package/js/src/deribit.js +6 -0
- package/js/src/dydx.d.ts +364 -0
- package/js/src/dydx.js +2453 -0
- package/js/src/gate.d.ts +2 -2
- package/js/src/gate.js +4 -4
- package/js/src/hibachi.js +1 -1
- package/js/src/hyperliquid.d.ts +17 -0
- package/js/src/hyperliquid.js +207 -9
- package/js/src/kucoin.d.ts +48 -1
- package/js/src/kucoin.js +711 -109
- package/js/src/mexc.js +2 -3
- package/js/src/pro/binance.d.ts +2 -2
- package/js/src/pro/binance.js +59 -144
- package/js/src/pro/dydx.d.ts +81 -0
- package/js/src/pro/dydx.js +417 -0
- package/js/src/pro/kraken.js +4 -3
- package/js/src/pro/xt.d.ts +85 -2
- package/js/src/pro/xt.js +218 -4
- package/js/src/static_dependencies/dydx-v4-client/cosmos/base/v1beta1/coin.d.ts +90 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/base/v1beta1/coin.js +163 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/multisig/keys.d.ts +26 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/multisig/keys.js +51 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/multisig/v1beta1/multisig.d.ts +48 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/multisig/v1beta1/multisig.js +85 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/secp256k1/keys.d.ts +40 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/crypto/secp256k1/keys.js +77 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/tx/signing/v1beta1/signing.d.ts +162 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/tx/signing/v1beta1/signing.js +329 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/tx/v1beta1/tx.d.ts +460 -0
- package/js/src/static_dependencies/dydx-v4-client/cosmos/tx/v1beta1/tx.js +698 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/accountplus/tx.d.ts +127 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/accountplus/tx.js +286 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/block_rate_limit_config.d.ts +66 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/block_rate_limit_config.js +109 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/clob_pair.d.ts +127 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/clob_pair.js +257 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/equity_tier_limit_config.d.ts +48 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/equity_tier_limit_config.js +93 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/finalize_block.d.ts +23 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/finalize_block.js +43 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/liquidations.d.ts +92 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/liquidations.js +164 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/liquidations_config.d.ts +124 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/liquidations_config.js +196 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/matches.d.ts +159 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/matches.js +324 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order.d.ts +546 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order.js +872 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order_removals.d.ts +84 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/order_removals.js +181 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/tx.d.ts +397 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/clob/tx.js +757 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/transfer.d.ts +120 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/transfer.js +246 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/tx.d.ts +79 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/sending/tx.js +147 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/asset_position.d.ts +32 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/asset_position.js +59 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/perpetual_position.d.ts +34 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/perpetual_position.js +66 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/subaccount.d.ts +62 -0
- package/js/src/static_dependencies/dydx-v4-client/dydxprotocol/subaccounts/subaccount.js +111 -0
- package/js/src/static_dependencies/dydx-v4-client/google/protobuf/any.d.ts +207 -0
- package/js/src/static_dependencies/dydx-v4-client/google/protobuf/any.js +50 -0
- package/js/src/static_dependencies/dydx-v4-client/helpers.d.ts +82 -0
- package/js/src/static_dependencies/dydx-v4-client/helpers.js +172 -0
- package/js/src/static_dependencies/dydx-v4-client/long/index.cjs +1473 -0
- package/js/src/static_dependencies/dydx-v4-client/long/index.d.cts +2 -0
- package/js/src/static_dependencies/dydx-v4-client/onboarding.d.ts +35 -0
- package/js/src/static_dependencies/dydx-v4-client/onboarding.js +56 -0
- package/js/src/static_dependencies/dydx-v4-client/registry.d.ts +7 -0
- package/js/src/static_dependencies/dydx-v4-client/registry.js +36 -0
- package/js/src/static_dependencies/noble-hashes/utils.d.ts +1 -0
- package/js/src/static_dependencies/noble-hashes/utils.js +4 -0
- package/js/src/static_dependencies/scure-bip32/index.d.ts +49 -0
- package/js/src/static_dependencies/scure-bip32/index.js +295 -0
- package/js/src/static_dependencies/scure-bip39/index.d.ts +54 -0
- package/js/src/static_dependencies/scure-bip39/index.js +140 -0
- package/js/src/static_dependencies/scure-bip39/wordlists/english.d.ts +1 -0
- package/js/src/static_dependencies/scure-bip39/wordlists/english.js +2054 -0
- package/js/src/toobit.js +2 -1
- package/package.json +9 -3
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
require('../../../_virtual/_commonjsHelpers.js');
|
|
6
|
+
|
|
5
7
|
// ----------------------------------------------------------------------------
|
|
6
8
|
|
|
7
9
|
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
|
package/dist/cjs/src/toobit.js
CHANGED
|
@@ -63,7 +63,7 @@ class toobit extends toobit$1["default"] {
|
|
|
63
63
|
'withdraw': true,
|
|
64
64
|
},
|
|
65
65
|
'urls': {
|
|
66
|
-
'logo': 'https://github.com/user-attachments/assets/
|
|
66
|
+
'logo': 'https://github.com/user-attachments/assets/0c7a97d5-182c-492e-b921-23540c868e0e',
|
|
67
67
|
'api': {
|
|
68
68
|
'common': 'https://api.toobit.com',
|
|
69
69
|
'private': 'https://api.toobit.com',
|
|
@@ -2974,6 +2974,7 @@ class toobit extends toobit$1["default"] {
|
|
|
2974
2974
|
body += '&signature=' + signature;
|
|
2975
2975
|
}
|
|
2976
2976
|
headers = {
|
|
2977
|
+
'Referrer': 'CCXT',
|
|
2977
2978
|
'X-BB-APIKEY': this.apiKey,
|
|
2978
2979
|
'Content-Type': 'application/x-www-form-urlencoded',
|
|
2979
2980
|
};
|
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, 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, MarketMarginModes, 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.5.
|
|
7
|
+
declare const version = "4.5.19";
|
|
8
8
|
import alpaca from './src/alpaca.js';
|
|
9
9
|
import apex from './src/apex.js';
|
|
10
10
|
import arkham from './src/arkham.js';
|
|
@@ -61,6 +61,7 @@ import delta from './src/delta.js';
|
|
|
61
61
|
import deribit from './src/deribit.js';
|
|
62
62
|
import derive from './src/derive.js';
|
|
63
63
|
import digifinex from './src/digifinex.js';
|
|
64
|
+
import dydx from './src/dydx.js';
|
|
64
65
|
import exmo from './src/exmo.js';
|
|
65
66
|
import fmfwio from './src/fmfwio.js';
|
|
66
67
|
import foxbit from './src/foxbit.js';
|
|
@@ -150,6 +151,7 @@ import deepcoinPro from './src/pro/deepcoin.js';
|
|
|
150
151
|
import defxPro from './src/pro/defx.js';
|
|
151
152
|
import deribitPro from './src/pro/deribit.js';
|
|
152
153
|
import derivePro from './src/pro/derive.js';
|
|
154
|
+
import dydxPro from './src/pro/dydx.js';
|
|
153
155
|
import exmoPro from './src/pro/exmo.js';
|
|
154
156
|
import gatePro from './src/pro/gate.js';
|
|
155
157
|
import gateioPro from './src/pro/gateio.js';
|
|
@@ -243,6 +245,7 @@ declare const exchanges: {
|
|
|
243
245
|
deribit: typeof deribit;
|
|
244
246
|
derive: typeof derive;
|
|
245
247
|
digifinex: typeof digifinex;
|
|
248
|
+
dydx: typeof dydx;
|
|
246
249
|
exmo: typeof exmo;
|
|
247
250
|
fmfwio: typeof fmfwio;
|
|
248
251
|
foxbit: typeof foxbit;
|
|
@@ -334,6 +337,7 @@ declare const pro: {
|
|
|
334
337
|
defx: typeof defxPro;
|
|
335
338
|
deribit: typeof deribitPro;
|
|
336
339
|
derive: typeof derivePro;
|
|
340
|
+
dydx: typeof dydxPro;
|
|
337
341
|
exmo: typeof exmoPro;
|
|
338
342
|
gate: typeof gatePro;
|
|
339
343
|
gateio: typeof gateioPro;
|
|
@@ -415,6 +419,7 @@ declare const ccxt: {
|
|
|
415
419
|
defx: typeof defxPro;
|
|
416
420
|
deribit: typeof deribitPro;
|
|
417
421
|
derive: typeof derivePro;
|
|
422
|
+
dydx: typeof dydxPro;
|
|
418
423
|
exmo: typeof exmoPro;
|
|
419
424
|
gate: typeof gatePro;
|
|
420
425
|
gateio: typeof gateioPro;
|
|
@@ -509,6 +514,7 @@ declare const ccxt: {
|
|
|
509
514
|
deribit: typeof deribit;
|
|
510
515
|
derive: typeof derive;
|
|
511
516
|
digifinex: typeof digifinex;
|
|
517
|
+
dydx: typeof dydx;
|
|
512
518
|
exmo: typeof exmo;
|
|
513
519
|
fmfwio: typeof fmfwio;
|
|
514
520
|
foxbit: typeof foxbit;
|
|
@@ -561,5 +567,5 @@ declare const ccxt: {
|
|
|
561
567
|
zaif: typeof zaif;
|
|
562
568
|
zonda: typeof zonda;
|
|
563
569
|
} & typeof functions & typeof errors;
|
|
564
|
-
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, alpaca, apex, arkham, ascendex, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, defx, delta, deribit, derive, digifinex, exmo, fmfwio, foxbit, gate, gateio, gemini, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, modetrade, myokx, ndax, novadax, oceanex, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
570
|
+
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, alpaca, apex, arkham, ascendex, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, defx, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, modetrade, myokx, ndax, novadax, oceanex, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
565
571
|
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.5.
|
|
41
|
+
const version = '4.5.19';
|
|
42
42
|
Exchange.ccxtVersion = version;
|
|
43
43
|
//-----------------------------------------------------------------------------
|
|
44
44
|
import alpaca from './src/alpaca.js';
|
|
@@ -97,6 +97,7 @@ import delta from './src/delta.js';
|
|
|
97
97
|
import deribit from './src/deribit.js';
|
|
98
98
|
import derive from './src/derive.js';
|
|
99
99
|
import digifinex from './src/digifinex.js';
|
|
100
|
+
import dydx from './src/dydx.js';
|
|
100
101
|
import exmo from './src/exmo.js';
|
|
101
102
|
import fmfwio from './src/fmfwio.js';
|
|
102
103
|
import foxbit from './src/foxbit.js';
|
|
@@ -187,6 +188,7 @@ import deepcoinPro from './src/pro/deepcoin.js';
|
|
|
187
188
|
import defxPro from './src/pro/defx.js';
|
|
188
189
|
import deribitPro from './src/pro/deribit.js';
|
|
189
190
|
import derivePro from './src/pro/derive.js';
|
|
191
|
+
import dydxPro from './src/pro/dydx.js';
|
|
190
192
|
import exmoPro from './src/pro/exmo.js';
|
|
191
193
|
import gatePro from './src/pro/gate.js';
|
|
192
194
|
import gateioPro from './src/pro/gateio.js';
|
|
@@ -280,6 +282,7 @@ const exchanges = {
|
|
|
280
282
|
'deribit': deribit,
|
|
281
283
|
'derive': derive,
|
|
282
284
|
'digifinex': digifinex,
|
|
285
|
+
'dydx': dydx,
|
|
283
286
|
'exmo': exmo,
|
|
284
287
|
'fmfwio': fmfwio,
|
|
285
288
|
'foxbit': foxbit,
|
|
@@ -371,6 +374,7 @@ const pro = {
|
|
|
371
374
|
'defx': defxPro,
|
|
372
375
|
'deribit': deribitPro,
|
|
373
376
|
'derive': derivePro,
|
|
377
|
+
'dydx': dydxPro,
|
|
374
378
|
'exmo': exmoPro,
|
|
375
379
|
'gate': gatePro,
|
|
376
380
|
'gateio': gateioPro,
|
|
@@ -420,6 +424,6 @@ pro.exchanges = Object.keys(pro);
|
|
|
420
424
|
pro['Exchange'] = Exchange; // now the same for rest and ts
|
|
421
425
|
//-----------------------------------------------------------------------------
|
|
422
426
|
const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
|
|
423
|
-
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, alpaca, apex, arkham, ascendex, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, defx, delta, deribit, derive, digifinex, exmo, fmfwio, foxbit, gate, gateio, gemini, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, modetrade, myokx, ndax, novadax, oceanex, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
427
|
+
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, alpaca, apex, arkham, ascendex, backpack, bequant, bigone, binance, binancecoinm, binanceus, binanceusdm, bingx, bit2c, bitbank, bitbns, bitfinex, bitflyer, bitget, bithumb, bitmart, bitmex, bitopro, bitrue, bitso, bitstamp, bitteam, bittrade, bitvavo, blockchaincom, blofin, btcalpha, btcbox, btcmarkets, btcturk, bybit, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincatch, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, defx, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, luno, mercado, mexc, modetrade, myokx, ndax, novadax, oceanex, okx, okxus, onetrading, oxfun, p2b, paradex, paymium, phemex, poloniex, probit, timex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zonda, };
|
|
424
428
|
export default ccxt;
|
|
425
429
|
//-----------------------------------------------------------------------------
|
|
@@ -549,11 +549,15 @@ interface Exchange {
|
|
|
549
549
|
fapiPrivateGetSymbolConfig(params?: {}): Promise<implicitReturnType>;
|
|
550
550
|
fapiPrivateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
|
|
551
551
|
fapiPrivateGetConvertOrderStatus(params?: {}): Promise<implicitReturnType>;
|
|
552
|
+
fapiPrivateGetAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
553
|
+
fapiPrivateGetOpenAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
554
|
+
fapiPrivateGetAllAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
552
555
|
fapiPrivatePostBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
553
556
|
fapiPrivatePostPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
554
557
|
fapiPrivatePostPositionMargin(params?: {}): Promise<implicitReturnType>;
|
|
555
558
|
fapiPrivatePostMarginType(params?: {}): Promise<implicitReturnType>;
|
|
556
559
|
fapiPrivatePostOrder(params?: {}): Promise<implicitReturnType>;
|
|
560
|
+
fapiPrivatePostOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
557
561
|
fapiPrivatePostLeverage(params?: {}): Promise<implicitReturnType>;
|
|
558
562
|
fapiPrivatePostListenKey(params?: {}): Promise<implicitReturnType>;
|
|
559
563
|
fapiPrivatePostCountdownCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
@@ -563,6 +567,7 @@ interface Exchange {
|
|
|
563
567
|
fapiPrivatePostFeeBurn(params?: {}): Promise<implicitReturnType>;
|
|
564
568
|
fapiPrivatePostConvertGetQuote(params?: {}): Promise<implicitReturnType>;
|
|
565
569
|
fapiPrivatePostConvertAcceptQuote(params?: {}): Promise<implicitReturnType>;
|
|
570
|
+
fapiPrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
566
571
|
fapiPrivatePutListenKey(params?: {}): Promise<implicitReturnType>;
|
|
567
572
|
fapiPrivatePutOrder(params?: {}): Promise<implicitReturnType>;
|
|
568
573
|
fapiPrivatePutBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -570,6 +575,8 @@ interface Exchange {
|
|
|
570
575
|
fapiPrivateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
571
576
|
fapiPrivateDeleteAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
572
577
|
fapiPrivateDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
578
|
+
fapiPrivateDeleteAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
579
|
+
fapiPrivateDeleteAlgoOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
573
580
|
fapiPublicV2GetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
574
581
|
fapiPrivateV2GetAccount(params?: {}): Promise<implicitReturnType>;
|
|
575
582
|
fapiPrivateV2GetBalance(params?: {}): Promise<implicitReturnType>;
|
|
@@ -549,11 +549,15 @@ interface binance {
|
|
|
549
549
|
fapiPrivateGetSymbolConfig(params?: {}): Promise<implicitReturnType>;
|
|
550
550
|
fapiPrivateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
|
|
551
551
|
fapiPrivateGetConvertOrderStatus(params?: {}): Promise<implicitReturnType>;
|
|
552
|
+
fapiPrivateGetAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
553
|
+
fapiPrivateGetOpenAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
554
|
+
fapiPrivateGetAllAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
552
555
|
fapiPrivatePostBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
553
556
|
fapiPrivatePostPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
554
557
|
fapiPrivatePostPositionMargin(params?: {}): Promise<implicitReturnType>;
|
|
555
558
|
fapiPrivatePostMarginType(params?: {}): Promise<implicitReturnType>;
|
|
556
559
|
fapiPrivatePostOrder(params?: {}): Promise<implicitReturnType>;
|
|
560
|
+
fapiPrivatePostOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
557
561
|
fapiPrivatePostLeverage(params?: {}): Promise<implicitReturnType>;
|
|
558
562
|
fapiPrivatePostListenKey(params?: {}): Promise<implicitReturnType>;
|
|
559
563
|
fapiPrivatePostCountdownCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
@@ -563,6 +567,7 @@ interface binance {
|
|
|
563
567
|
fapiPrivatePostFeeBurn(params?: {}): Promise<implicitReturnType>;
|
|
564
568
|
fapiPrivatePostConvertGetQuote(params?: {}): Promise<implicitReturnType>;
|
|
565
569
|
fapiPrivatePostConvertAcceptQuote(params?: {}): Promise<implicitReturnType>;
|
|
570
|
+
fapiPrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
566
571
|
fapiPrivatePutListenKey(params?: {}): Promise<implicitReturnType>;
|
|
567
572
|
fapiPrivatePutOrder(params?: {}): Promise<implicitReturnType>;
|
|
568
573
|
fapiPrivatePutBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -570,6 +575,8 @@ interface binance {
|
|
|
570
575
|
fapiPrivateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
571
576
|
fapiPrivateDeleteAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
572
577
|
fapiPrivateDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
578
|
+
fapiPrivateDeleteAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
579
|
+
fapiPrivateDeleteAlgoOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
573
580
|
fapiPublicV2GetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
574
581
|
fapiPrivateV2GetAccount(params?: {}): Promise<implicitReturnType>;
|
|
575
582
|
fapiPrivateV2GetBalance(params?: {}): Promise<implicitReturnType>;
|
|
@@ -601,11 +601,15 @@ interface binance {
|
|
|
601
601
|
fapiPrivateGetSymbolConfig(params?: {}): Promise<implicitReturnType>;
|
|
602
602
|
fapiPrivateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
|
|
603
603
|
fapiPrivateGetConvertOrderStatus(params?: {}): Promise<implicitReturnType>;
|
|
604
|
+
fapiPrivateGetAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
605
|
+
fapiPrivateGetOpenAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
606
|
+
fapiPrivateGetAllAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
604
607
|
fapiPrivatePostBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
605
608
|
fapiPrivatePostPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
606
609
|
fapiPrivatePostPositionMargin(params?: {}): Promise<implicitReturnType>;
|
|
607
610
|
fapiPrivatePostMarginType(params?: {}): Promise<implicitReturnType>;
|
|
608
611
|
fapiPrivatePostOrder(params?: {}): Promise<implicitReturnType>;
|
|
612
|
+
fapiPrivatePostOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
609
613
|
fapiPrivatePostLeverage(params?: {}): Promise<implicitReturnType>;
|
|
610
614
|
fapiPrivatePostListenKey(params?: {}): Promise<implicitReturnType>;
|
|
611
615
|
fapiPrivatePostCountdownCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
@@ -615,6 +619,7 @@ interface binance {
|
|
|
615
619
|
fapiPrivatePostFeeBurn(params?: {}): Promise<implicitReturnType>;
|
|
616
620
|
fapiPrivatePostConvertGetQuote(params?: {}): Promise<implicitReturnType>;
|
|
617
621
|
fapiPrivatePostConvertAcceptQuote(params?: {}): Promise<implicitReturnType>;
|
|
622
|
+
fapiPrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
618
623
|
fapiPrivatePutListenKey(params?: {}): Promise<implicitReturnType>;
|
|
619
624
|
fapiPrivatePutOrder(params?: {}): Promise<implicitReturnType>;
|
|
620
625
|
fapiPrivatePutBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -622,6 +627,8 @@ interface binance {
|
|
|
622
627
|
fapiPrivateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
623
628
|
fapiPrivateDeleteAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
624
629
|
fapiPrivateDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
630
|
+
fapiPrivateDeleteAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
631
|
+
fapiPrivateDeleteAlgoOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
625
632
|
fapiPublicV2GetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
626
633
|
fapiPrivateV2GetAccount(params?: {}): Promise<implicitReturnType>;
|
|
627
634
|
fapiPrivateV2GetBalance(params?: {}): Promise<implicitReturnType>;
|
|
@@ -549,11 +549,15 @@ interface binance {
|
|
|
549
549
|
fapiPrivateGetSymbolConfig(params?: {}): Promise<implicitReturnType>;
|
|
550
550
|
fapiPrivateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
|
|
551
551
|
fapiPrivateGetConvertOrderStatus(params?: {}): Promise<implicitReturnType>;
|
|
552
|
+
fapiPrivateGetAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
553
|
+
fapiPrivateGetOpenAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
554
|
+
fapiPrivateGetAllAlgoOrders(params?: {}): Promise<implicitReturnType>;
|
|
552
555
|
fapiPrivatePostBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
553
556
|
fapiPrivatePostPositionSideDual(params?: {}): Promise<implicitReturnType>;
|
|
554
557
|
fapiPrivatePostPositionMargin(params?: {}): Promise<implicitReturnType>;
|
|
555
558
|
fapiPrivatePostMarginType(params?: {}): Promise<implicitReturnType>;
|
|
556
559
|
fapiPrivatePostOrder(params?: {}): Promise<implicitReturnType>;
|
|
560
|
+
fapiPrivatePostOrderTest(params?: {}): Promise<implicitReturnType>;
|
|
557
561
|
fapiPrivatePostLeverage(params?: {}): Promise<implicitReturnType>;
|
|
558
562
|
fapiPrivatePostListenKey(params?: {}): Promise<implicitReturnType>;
|
|
559
563
|
fapiPrivatePostCountdownCancelAll(params?: {}): Promise<implicitReturnType>;
|
|
@@ -563,6 +567,7 @@ interface binance {
|
|
|
563
567
|
fapiPrivatePostFeeBurn(params?: {}): Promise<implicitReturnType>;
|
|
564
568
|
fapiPrivatePostConvertGetQuote(params?: {}): Promise<implicitReturnType>;
|
|
565
569
|
fapiPrivatePostConvertAcceptQuote(params?: {}): Promise<implicitReturnType>;
|
|
570
|
+
fapiPrivatePostAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
566
571
|
fapiPrivatePutListenKey(params?: {}): Promise<implicitReturnType>;
|
|
567
572
|
fapiPrivatePutOrder(params?: {}): Promise<implicitReturnType>;
|
|
568
573
|
fapiPrivatePutBatchOrders(params?: {}): Promise<implicitReturnType>;
|
|
@@ -570,6 +575,8 @@ interface binance {
|
|
|
570
575
|
fapiPrivateDeleteOrder(params?: {}): Promise<implicitReturnType>;
|
|
571
576
|
fapiPrivateDeleteAllOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
572
577
|
fapiPrivateDeleteListenKey(params?: {}): Promise<implicitReturnType>;
|
|
578
|
+
fapiPrivateDeleteAlgoOrder(params?: {}): Promise<implicitReturnType>;
|
|
579
|
+
fapiPrivateDeleteAlgoOpenOrders(params?: {}): Promise<implicitReturnType>;
|
|
573
580
|
fapiPublicV2GetTickerPrice(params?: {}): Promise<implicitReturnType>;
|
|
574
581
|
fapiPrivateV2GetAccount(params?: {}): Promise<implicitReturnType>;
|
|
575
582
|
fapiPrivateV2GetBalance(params?: {}): Promise<implicitReturnType>;
|
|
@@ -182,6 +182,7 @@ interface Exchange {
|
|
|
182
182
|
privateSpotPostV2SpotTradePlacePlanOrder(params?: {}): Promise<implicitReturnType>;
|
|
183
183
|
privateSpotPostV2SpotTradeModifyPlanOrder(params?: {}): Promise<implicitReturnType>;
|
|
184
184
|
privateSpotPostV2SpotTradeCancelPlanOrder(params?: {}): Promise<implicitReturnType>;
|
|
185
|
+
privateSpotPostV2SpotTradeCancelReplaceOrder(params?: {}): Promise<implicitReturnType>;
|
|
185
186
|
privateSpotPostV2SpotTradeBatchCancelPlanOrder(params?: {}): Promise<implicitReturnType>;
|
|
186
187
|
privateSpotPostV2SpotWalletTransfer(params?: {}): Promise<implicitReturnType>;
|
|
187
188
|
privateSpotPostV2SpotWalletSubaccountTransfer(params?: {}): Promise<implicitReturnType>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { implicitReturnType } from '../base/types.js';
|
|
2
|
+
import { Exchange as _Exchange } from '../base/Exchange.js';
|
|
3
|
+
interface Exchange {
|
|
4
|
+
indexerGetAddressesAddress(params?: {}): Promise<implicitReturnType>;
|
|
5
|
+
indexerGetAddressesAddressParentSubaccountNumberNumber(params?: {}): Promise<implicitReturnType>;
|
|
6
|
+
indexerGetAddressesAddressSubaccountNumberSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
7
|
+
indexerGetAssetPositions(params?: {}): Promise<implicitReturnType>;
|
|
8
|
+
indexerGetAssetPositionsParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
9
|
+
indexerGetCandlesPerpetualMarketsMarket(params?: {}): Promise<implicitReturnType>;
|
|
10
|
+
indexerGetComplianceScreenAddress(params?: {}): Promise<implicitReturnType>;
|
|
11
|
+
indexerGetFills(params?: {}): Promise<implicitReturnType>;
|
|
12
|
+
indexerGetFillsParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
13
|
+
indexerGetFundingPayments(params?: {}): Promise<implicitReturnType>;
|
|
14
|
+
indexerGetFundingPaymentsParentSubaccount(params?: {}): Promise<implicitReturnType>;
|
|
15
|
+
indexerGetHeight(params?: {}): Promise<implicitReturnType>;
|
|
16
|
+
indexerGetHistoricalPnl(params?: {}): Promise<implicitReturnType>;
|
|
17
|
+
indexerGetHistoricalPnlParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
18
|
+
indexerGetHistoricalBlockTradingRewardsAddress(params?: {}): Promise<implicitReturnType>;
|
|
19
|
+
indexerGetHistoricalFundingMarket(params?: {}): Promise<implicitReturnType>;
|
|
20
|
+
indexerGetHistoricalTradingRewardAggregationsAddress(params?: {}): Promise<implicitReturnType>;
|
|
21
|
+
indexerGetOrderbooksPerpetualMarketMarket(params?: {}): Promise<implicitReturnType>;
|
|
22
|
+
indexerGetOrders(params?: {}): Promise<implicitReturnType>;
|
|
23
|
+
indexerGetOrdersParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
24
|
+
indexerGetOrdersOrderId(params?: {}): Promise<implicitReturnType>;
|
|
25
|
+
indexerGetPerpetualMarkets(params?: {}): Promise<implicitReturnType>;
|
|
26
|
+
indexerGetPerpetualPositions(params?: {}): Promise<implicitReturnType>;
|
|
27
|
+
indexerGetPerpetualPositionsParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
28
|
+
indexerGetScreen(params?: {}): Promise<implicitReturnType>;
|
|
29
|
+
indexerGetSparklines(params?: {}): Promise<implicitReturnType>;
|
|
30
|
+
indexerGetTime(params?: {}): Promise<implicitReturnType>;
|
|
31
|
+
indexerGetTradesPerpetualMarketMarket(params?: {}): Promise<implicitReturnType>;
|
|
32
|
+
indexerGetTransfers(params?: {}): Promise<implicitReturnType>;
|
|
33
|
+
indexerGetTransfersBetween(params?: {}): Promise<implicitReturnType>;
|
|
34
|
+
indexerGetTransfersParentSubaccountNumber(params?: {}): Promise<implicitReturnType>;
|
|
35
|
+
indexerGetVaultV1MegavaultHistoricalPnl(params?: {}): Promise<implicitReturnType>;
|
|
36
|
+
indexerGetVaultV1MegavaultPositions(params?: {}): Promise<implicitReturnType>;
|
|
37
|
+
indexerGetVaultV1VaultsHistoricalPnl(params?: {}): Promise<implicitReturnType>;
|
|
38
|
+
indexerGetPerpetualMarketSparklines(params?: {}): Promise<implicitReturnType>;
|
|
39
|
+
indexerGetPerpetualMarketsTicker(params?: {}): Promise<implicitReturnType>;
|
|
40
|
+
indexerGetPerpetualMarketsTickerOrderbook(params?: {}): Promise<implicitReturnType>;
|
|
41
|
+
indexerGetTradesPerpetualMarketTicker(params?: {}): Promise<implicitReturnType>;
|
|
42
|
+
indexerGetHistoricalFundingTicker(params?: {}): Promise<implicitReturnType>;
|
|
43
|
+
indexerGetCandlesTickerResolution(params?: {}): Promise<implicitReturnType>;
|
|
44
|
+
indexerGetAddressesAddressSubaccounts(params?: {}): Promise<implicitReturnType>;
|
|
45
|
+
indexerGetAddressesAddressSubaccountNumberSubaccountNumberAssetPositions(params?: {}): Promise<implicitReturnType>;
|
|
46
|
+
indexerGetAddressesAddressSubaccountNumberSubaccountNumberPerpetualPositions(params?: {}): Promise<implicitReturnType>;
|
|
47
|
+
indexerGetAddressesAddressSubaccountNumberSubaccountNumberOrders(params?: {}): Promise<implicitReturnType>;
|
|
48
|
+
indexerGetFillsParentSubaccount(params?: {}): Promise<implicitReturnType>;
|
|
49
|
+
indexerGetHistoricalPnlParentSubaccount(params?: {}): Promise<implicitReturnType>;
|
|
50
|
+
nodeRpcGetAbciInfo(params?: {}): Promise<implicitReturnType>;
|
|
51
|
+
nodeRpcGetBlock(params?: {}): Promise<implicitReturnType>;
|
|
52
|
+
nodeRpcGetBroadcastTxAsync(params?: {}): Promise<implicitReturnType>;
|
|
53
|
+
nodeRpcGetBroadcastTxSync(params?: {}): Promise<implicitReturnType>;
|
|
54
|
+
nodeRpcGetTx(params?: {}): Promise<implicitReturnType>;
|
|
55
|
+
nodeRestGetCosmosAuthV1beta1AccountInfoDydxAddress(params?: {}): Promise<implicitReturnType>;
|
|
56
|
+
nodeRestPostCosmosTxV1beta1Encode(params?: {}): Promise<implicitReturnType>;
|
|
57
|
+
nodeRestPostCosmosTxV1beta1Simulate(params?: {}): Promise<implicitReturnType>;
|
|
58
|
+
}
|
|
59
|
+
declare abstract class Exchange extends _Exchange {
|
|
60
|
+
}
|
|
61
|
+
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;
|
|
@@ -250,7 +250,7 @@ interface Exchange {
|
|
|
250
250
|
utaGetMarketFundingRate(params?: {}): Promise<implicitReturnType>;
|
|
251
251
|
utaGetMarketFundingRateHistory(params?: {}): Promise<implicitReturnType>;
|
|
252
252
|
utaGetMarketCrossConfig(params?: {}): Promise<implicitReturnType>;
|
|
253
|
-
|
|
253
|
+
utaGetServerStatus(params?: {}): Promise<implicitReturnType>;
|
|
254
254
|
}
|
|
255
255
|
declare abstract class Exchange extends _Exchange {
|
|
256
256
|
}
|
|
@@ -278,7 +278,7 @@ interface kucoin {
|
|
|
278
278
|
utaGetMarketFundingRate(params?: {}): Promise<implicitReturnType>;
|
|
279
279
|
utaGetMarketFundingRateHistory(params?: {}): Promise<implicitReturnType>;
|
|
280
280
|
utaGetMarketCrossConfig(params?: {}): Promise<implicitReturnType>;
|
|
281
|
-
|
|
281
|
+
utaGetServerStatus(params?: {}): Promise<implicitReturnType>;
|
|
282
282
|
}
|
|
283
283
|
declare abstract class kucoin extends _kucoin {
|
|
284
284
|
}
|
|
@@ -317,6 +317,7 @@ export default class Exchange {
|
|
|
317
317
|
packb: typeof functions.packb;
|
|
318
318
|
urlencodeBase64: (payload: string | Uint8Array) => string;
|
|
319
319
|
constructor(userConfig?: ConstructorArgs);
|
|
320
|
+
uuid5(namespace: string, name: string): string;
|
|
320
321
|
encodeURIComponent(...args: any[]): string;
|
|
321
322
|
checkRequiredVersion(requiredVersion: any, error?: boolean): boolean;
|
|
322
323
|
throttle(cost?: any): any;
|
|
@@ -397,6 +398,12 @@ export default class Exchange {
|
|
|
397
398
|
starknetSign(msgHash: any, pri: any): string;
|
|
398
399
|
getZKContractSignatureObj(seed: any, params?: {}): Promise<any>;
|
|
399
400
|
getZKTransferSignatureObj(seed: any, params?: {}): Promise<any>;
|
|
401
|
+
loadDydxProtos(): Promise<void>;
|
|
402
|
+
toDydxLong(numStr: string): object;
|
|
403
|
+
retrieveDydxCredentials(entropy: string): object;
|
|
404
|
+
encodeDydxTxForSimulation(message: any, memo: any, sequence: any, publicKey: any): string;
|
|
405
|
+
encodeDydxTxForSigning(message: any, memo: any, chainId: any, account: any, authenticators: any, fee?: any): [string, Dict];
|
|
406
|
+
encodeDydxTxRaw(signDoc: Dict, signature: string): string;
|
|
400
407
|
intToBase16(elem: any): string;
|
|
401
408
|
extendExchangeOptions(newOptions: Dict): void;
|
|
402
409
|
createSafeDictionary(): {};
|