ccxt 4.5.48 → 4.5.50

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.
Files changed (60) hide show
  1. package/README.md +7 -5
  2. package/dist/ccxt.browser.min.js +10 -10
  3. package/dist/cjs/ccxt.js +6 -1
  4. package/dist/cjs/src/abstract/weex.js +11 -0
  5. package/dist/cjs/src/base/Exchange.js +48 -13
  6. package/dist/cjs/src/bitget.js +1 -0
  7. package/dist/cjs/src/btcbox.js +1 -1
  8. package/dist/cjs/src/bullish.js +2 -1
  9. package/dist/cjs/src/gate.js +0 -1
  10. package/dist/cjs/src/hibachi.js +1 -1
  11. package/dist/cjs/src/kraken.js +1 -0
  12. package/dist/cjs/src/krakenfutures.js +10 -1
  13. package/dist/cjs/src/kucoin.js +5 -1
  14. package/dist/cjs/src/lighter.js +312 -144
  15. package/dist/cjs/src/mexc.js +7 -12
  16. package/dist/cjs/src/okx.js +46 -1
  17. package/dist/cjs/src/paradex.js +5 -2
  18. package/dist/cjs/src/pro/binance.js +1 -1
  19. package/dist/cjs/src/pro/cex.js +1 -1
  20. package/dist/cjs/src/pro/coinbase.js +1 -1
  21. package/dist/cjs/src/pro/hyperliquid.js +361 -1
  22. package/dist/cjs/src/pro/lighter.js +339 -18
  23. package/dist/cjs/src/pro/weex.js +1906 -0
  24. package/dist/cjs/src/weex.js +3823 -0
  25. package/js/ccxt.d.ts +8 -2
  26. package/js/ccxt.js +6 -2
  27. package/js/src/abstract/myokx.d.ts +34 -0
  28. package/js/src/abstract/okx.d.ts +34 -0
  29. package/js/src/abstract/okxus.d.ts +34 -0
  30. package/js/src/abstract/weex.d.ts +83 -0
  31. package/js/src/abstract/weex.js +11 -0
  32. package/js/src/base/Exchange.d.ts +5 -1
  33. package/js/src/base/Exchange.js +48 -13
  34. package/js/src/bitget.js +1 -0
  35. package/js/src/btcbox.js +1 -1
  36. package/js/src/bullish.js +2 -1
  37. package/js/src/gate.js +0 -1
  38. package/js/src/hibachi.js +1 -1
  39. package/js/src/kraken.js +1 -0
  40. package/js/src/krakenfutures.js +10 -1
  41. package/js/src/kucoin.d.ts +4 -0
  42. package/js/src/kucoin.js +5 -1
  43. package/js/src/lighter.d.ts +12 -2
  44. package/js/src/lighter.js +313 -145
  45. package/js/src/mexc.d.ts +2 -0
  46. package/js/src/mexc.js +7 -12
  47. package/js/src/okx.js +46 -1
  48. package/js/src/paradex.js +5 -2
  49. package/js/src/pro/binance.js +1 -1
  50. package/js/src/pro/cex.js +1 -1
  51. package/js/src/pro/coinbase.js +1 -1
  52. package/js/src/pro/hyperliquid.d.ts +48 -1
  53. package/js/src/pro/hyperliquid.js +362 -2
  54. package/js/src/pro/lighter.d.ts +37 -2
  55. package/js/src/pro/lighter.js +339 -18
  56. package/js/src/pro/weex.d.ts +330 -0
  57. package/js/src/pro/weex.js +1905 -0
  58. package/js/src/weex.d.ts +675 -0
  59. package/js/src/weex.js +3822 -0
  60. 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, 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, ADL } 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.47";
7
+ declare const version = "4.5.49";
8
8
  import aftermath from './src/aftermath.js';
9
9
  import alpaca from './src/alpaca.js';
10
10
  import apex from './src/apex.js';
@@ -107,6 +107,7 @@ import tokocrypto from './src/tokocrypto.js';
107
107
  import toobit from './src/toobit.js';
108
108
  import upbit from './src/upbit.js';
109
109
  import wavesexchange from './src/wavesexchange.js';
110
+ import weex from './src/weex.js';
110
111
  import whitebit from './src/whitebit.js';
111
112
  import woo from './src/woo.js';
112
113
  import woofipro from './src/woofipro.js';
@@ -190,6 +191,7 @@ import phemexPro from './src/pro/phemex.js';
190
191
  import poloniexPro from './src/pro/poloniex.js';
191
192
  import toobitPro from './src/pro/toobit.js';
192
193
  import upbitPro from './src/pro/upbit.js';
194
+ import weexPro from './src/pro/weex.js';
193
195
  import whitebitPro from './src/pro/whitebit.js';
194
196
  import wooPro from './src/pro/woo.js';
195
197
  import woofiproPro from './src/pro/woofipro.js';
@@ -297,6 +299,7 @@ declare const exchanges: {
297
299
  toobit: typeof toobit;
298
300
  upbit: typeof upbit;
299
301
  wavesexchange: typeof wavesexchange;
302
+ weex: typeof weex;
300
303
  whitebit: typeof whitebit;
301
304
  woo: typeof woo;
302
305
  woofipro: typeof woofipro;
@@ -382,6 +385,7 @@ declare const pro: {
382
385
  poloniex: typeof poloniexPro;
383
386
  toobit: typeof toobitPro;
384
387
  upbit: typeof upbitPro;
388
+ weex: typeof weexPro;
385
389
  whitebit: typeof whitebitPro;
386
390
  woo: typeof wooPro;
387
391
  woofipro: typeof woofiproPro;
@@ -468,6 +472,7 @@ declare const ccxt: {
468
472
  poloniex: typeof poloniexPro;
469
473
  toobit: typeof toobitPro;
470
474
  upbit: typeof upbitPro;
475
+ weex: typeof weexPro;
471
476
  whitebit: typeof whitebitPro;
472
477
  woo: typeof wooPro;
473
478
  woofipro: typeof woofiproPro;
@@ -576,6 +581,7 @@ declare const ccxt: {
576
581
  toobit: typeof toobit;
577
582
  upbit: typeof upbit;
578
583
  wavesexchange: typeof wavesexchange;
584
+ weex: typeof weex;
579
585
  whitebit: typeof whitebit;
580
586
  woo: typeof woo;
581
587
  woofipro: typeof woofipro;
@@ -585,5 +591,5 @@ declare const ccxt: {
585
591
  zebpay: typeof zebpay;
586
592
  zonda: typeof zonda;
587
593
  } & typeof functions & typeof errors;
588
- 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, ADL, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, aftermath, alpaca, apex, arkham, ascendex, aster, 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, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, pacifica, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
594
+ 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, ADL, MarginModification, Leverages, LastPrices, Currencies, TradingFees, MarginModes, OptionChain, IsolatedBorrowRates, CrossBorrowRates, LeverageTiers, aftermath, alpaca, apex, arkham, ascendex, aster, 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, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, pacifica, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, weex, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
589
595
  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.47';
41
+ const version = '4.5.49';
42
42
  Exchange.ccxtVersion = version;
43
43
  //-----------------------------------------------------------------------------
44
44
  import aftermath from './src/aftermath.js';
@@ -143,6 +143,7 @@ import tokocrypto from './src/tokocrypto.js';
143
143
  import toobit from './src/toobit.js';
144
144
  import upbit from './src/upbit.js';
145
145
  import wavesexchange from './src/wavesexchange.js';
146
+ import weex from './src/weex.js';
146
147
  import whitebit from './src/whitebit.js';
147
148
  import woo from './src/woo.js';
148
149
  import woofipro from './src/woofipro.js';
@@ -227,6 +228,7 @@ import phemexPro from './src/pro/phemex.js';
227
228
  import poloniexPro from './src/pro/poloniex.js';
228
229
  import toobitPro from './src/pro/toobit.js';
229
230
  import upbitPro from './src/pro/upbit.js';
231
+ import weexPro from './src/pro/weex.js';
230
232
  import whitebitPro from './src/pro/whitebit.js';
231
233
  import wooPro from './src/pro/woo.js';
232
234
  import woofiproPro from './src/pro/woofipro.js';
@@ -334,6 +336,7 @@ const exchanges = {
334
336
  'toobit': toobit,
335
337
  'upbit': upbit,
336
338
  'wavesexchange': wavesexchange,
339
+ 'weex': weex,
337
340
  'whitebit': whitebit,
338
341
  'woo': woo,
339
342
  'woofipro': woofipro,
@@ -419,6 +422,7 @@ const pro = {
419
422
  'poloniex': poloniexPro,
420
423
  'toobit': toobitPro,
421
424
  'upbit': upbitPro,
425
+ 'weex': weexPro,
422
426
  'whitebit': whitebitPro,
423
427
  'woo': wooPro,
424
428
  'woofipro': woofiproPro,
@@ -436,6 +440,6 @@ pro.exchanges = Object.keys(pro);
436
440
  pro['Exchange'] = Exchange; // now the same for rest and ts
437
441
  //-----------------------------------------------------------------------------
438
442
  const ccxt = Object.assign({ version, Exchange, Precise, 'exchanges': Object.keys(exchanges), 'pro': pro }, exchanges, functions, errors);
439
- 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, aftermath, alpaca, apex, arkham, ascendex, aster, 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, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, pacifica, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
443
+ 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, aftermath, alpaca, apex, arkham, ascendex, aster, 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, btcbox, btcmarkets, btcturk, bullish, bybit, bydfi, cex, coinbase, coinbaseadvanced, coinbaseexchange, coinbaseinternational, coincheck, coinex, coinmate, coinmetro, coinone, coinsph, coinspot, cryptocom, cryptomus, deepcoin, delta, deribit, derive, digifinex, dydx, exmo, fmfwio, foxbit, gate, gateio, gemini, grvt, hashkey, hibachi, hitbtc, hollaex, htx, huobi, hyperliquid, independentreserve, indodax, kraken, krakenfutures, kucoin, kucoinfutures, latoken, lbank, lighter, luno, mercado, mexc, modetrade, myokx, ndax, novadax, okx, okxus, onetrading, oxfun, p2b, pacifica, paradex, paymium, phemex, poloniex, tokocrypto, toobit, upbit, wavesexchange, weex, whitebit, woo, woofipro, xt, yobit, zaif, zebpay, zonda, };
440
444
  export default ccxt;
441
445
  //-----------------------------------------------------------------------------
@@ -12,6 +12,7 @@ interface okx {
12
12
  publicGetMarketOptionInstrumentFamilyTrades(params?: {}): Promise<implicitReturnType>;
13
13
  publicGetMarketPlatform24Volume(params?: {}): Promise<implicitReturnType>;
14
14
  publicGetMarketCallAuctionDetail(params?: {}): Promise<implicitReturnType>;
15
+ publicGetMarketCallAuctionDetails(params?: {}): Promise<implicitReturnType>;
15
16
  publicGetMarketBooksSbe(params?: {}): Promise<implicitReturnType>;
16
17
  publicGetMarketBlockTickers(params?: {}): Promise<implicitReturnType>;
17
18
  publicGetMarketBlockTicker(params?: {}): Promise<implicitReturnType>;
@@ -51,6 +52,9 @@ interface okx {
51
52
  publicGetPublicPremiumHistory(params?: {}): Promise<implicitReturnType>;
52
53
  publicGetPublicEconomicCalendar(params?: {}): Promise<implicitReturnType>;
53
54
  publicGetPublicMarketDataHistory(params?: {}): Promise<implicitReturnType>;
55
+ publicGetPublicEventContractEvents(params?: {}): Promise<implicitReturnType>;
56
+ publicGetPublicEventContractMarkets(params?: {}): Promise<implicitReturnType>;
57
+ publicGetPublicEventContractSeries(params?: {}): Promise<implicitReturnType>;
54
58
  publicGetPublicVipInterestRateLoanQuota(params?: {}): Promise<implicitReturnType>;
55
59
  publicGetRubikStatTradingDataSupportCoin(params?: {}): Promise<implicitReturnType>;
56
60
  publicGetRubikStatContractsOpenInterestHistory(params?: {}): Promise<implicitReturnType>;
@@ -58,6 +62,7 @@ interface okx {
58
62
  publicGetRubikStatTakerVolumeContract(params?: {}): Promise<implicitReturnType>;
59
63
  publicGetRubikStatMarginLoanRatio(params?: {}): Promise<implicitReturnType>;
60
64
  publicGetRubikStatContractsLongShortAccountRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
65
+ publicGetRubikStatContractsLongShortPositionRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
61
66
  publicGetRubikStatContractsLongShortAccountRatioContract(params?: {}): Promise<implicitReturnType>;
62
67
  publicGetRubikStatContractsLongShortAccountRatio(params?: {}): Promise<implicitReturnType>;
63
68
  publicGetRubikStatContractsOpenInterestVolume(params?: {}): Promise<implicitReturnType>;
@@ -95,6 +100,7 @@ interface okx {
95
100
  publicGetCopytradingPublicCopyTraders(params?: {}): Promise<implicitReturnType>;
96
101
  publicGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
97
102
  publicGetSupportAnnouncementsTypes(params?: {}): Promise<implicitReturnType>;
103
+ publicGetSupportAnnouncementTypes(params?: {}): Promise<implicitReturnType>;
98
104
  publicPostTradingBotGridMinInvestment(params?: {}): Promise<implicitReturnType>;
99
105
  privateGetRfqCounterparties(params?: {}): Promise<implicitReturnType>;
100
106
  privateGetRfqMakerInstrumentSettings(params?: {}): Promise<implicitReturnType>;
@@ -150,6 +156,7 @@ interface okx {
150
156
  privateGetAccountBillsArchive(params?: {}): Promise<implicitReturnType>;
151
157
  privateGetAccountBillsHistoryArchive(params?: {}): Promise<implicitReturnType>;
152
158
  privateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
159
+ privateGetAccountSubtypes(params?: {}): Promise<implicitReturnType>;
153
160
  privateGetAccountMaxSize(params?: {}): Promise<implicitReturnType>;
154
161
  privateGetAccountMaxAvailSize(params?: {}): Promise<implicitReturnType>;
155
162
  privateGetAccountLeverageInfo(params?: {}): Promise<implicitReturnType>;
@@ -207,6 +214,11 @@ interface okx {
207
214
  privateGetTradingBotRecurringOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
208
215
  privateGetTradingBotRecurringOrdersAlgoDetails(params?: {}): Promise<implicitReturnType>;
209
216
  privateGetTradingBotRecurringSubOrders(params?: {}): Promise<implicitReturnType>;
217
+ privateGetTradingBotDcaOngoingList(params?: {}): Promise<implicitReturnType>;
218
+ privateGetTradingBotDcaHistoryList(params?: {}): Promise<implicitReturnType>;
219
+ privateGetTradingBotDcaOrders(params?: {}): Promise<implicitReturnType>;
220
+ privateGetTradingBotDcaPositionDetails(params?: {}): Promise<implicitReturnType>;
221
+ privateGetTradingBotDcaCycleList(params?: {}): Promise<implicitReturnType>;
210
222
  privateGetFinanceSavingsBalance(params?: {}): Promise<implicitReturnType>;
211
223
  privateGetFinanceSavingsLendingHistory(params?: {}): Promise<implicitReturnType>;
212
224
  privateGetFinanceStakingDefiOffers(params?: {}): Promise<implicitReturnType>;
@@ -252,6 +264,9 @@ interface okx {
252
264
  privateGetBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
253
265
  privateGetFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
254
266
  privateGetFinanceSfpDcdOrders(params?: {}): Promise<implicitReturnType>;
267
+ privateGetFinanceSfpDcdCurrencyPair(params?: {}): Promise<implicitReturnType>;
268
+ privateGetFinanceSfpDcdOrderStatus(params?: {}): Promise<implicitReturnType>;
269
+ privateGetFinanceSfpDcdOrderHistory(params?: {}): Promise<implicitReturnType>;
255
270
  privateGetAffiliateInviteeDetail(params?: {}): Promise<implicitReturnType>;
256
271
  privateGetUsersPartnerIfRebate(params?: {}): Promise<implicitReturnType>;
257
272
  privateGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
@@ -314,6 +329,7 @@ interface okx {
314
329
  privatePostAccountPositionBuilder(params?: {}): Promise<implicitReturnType>;
315
330
  privatePostAccountPositionBuilderGraph(params?: {}): Promise<implicitReturnType>;
316
331
  privatePostAccountSetRiskOffsetType(params?: {}): Promise<implicitReturnType>;
332
+ privatePostAccountSetRiskOffsetAmt(params?: {}): Promise<implicitReturnType>;
317
333
  privatePostAccountActivateOption(params?: {}): Promise<implicitReturnType>;
318
334
  privatePostAccountSetAutoLoan(params?: {}): Promise<implicitReturnType>;
319
335
  privatePostAccountAccountLevelSwitchPreset(params?: {}): Promise<implicitReturnType>;
@@ -338,6 +354,7 @@ interface okx {
338
354
  privatePostUsersSubaccountDeleteApikey(params?: {}): Promise<implicitReturnType>;
339
355
  privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
340
356
  privatePostTradingBotGridOrderAlgo(params?: {}): Promise<implicitReturnType>;
357
+ privatePostTradingBotGridCopyOrderAlgo(params?: {}): Promise<implicitReturnType>;
341
358
  privatePostTradingBotGridAmendAlgoBasicParam(params?: {}): Promise<implicitReturnType>;
342
359
  privatePostTradingBotGridAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
343
360
  privatePostTradingBotGridStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
@@ -361,6 +378,20 @@ interface okx {
361
378
  privatePostTradingBotRecurringOrderAlgo(params?: {}): Promise<implicitReturnType>;
362
379
  privatePostTradingBotRecurringAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
363
380
  privatePostTradingBotRecurringStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
381
+ privatePostTradingBotDcaCreate(params?: {}): Promise<implicitReturnType>;
382
+ privatePostTradingBotDcaAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
383
+ privatePostTradingBotDcaStop(params?: {}): Promise<implicitReturnType>;
384
+ privatePostTradingBotDcaOrdersManualBuy(params?: {}): Promise<implicitReturnType>;
385
+ privatePostTradingBotDcaSettingsReinvestment(params?: {}): Promise<implicitReturnType>;
386
+ privatePostTradingBotDcaSettingsTakeProfit(params?: {}): Promise<implicitReturnType>;
387
+ privatePostTradingBotDcaMarginAdd(params?: {}): Promise<implicitReturnType>;
388
+ privatePostTradingBotDcaMarginReduce(params?: {}): Promise<implicitReturnType>;
389
+ privatePostTradingBotRecurringAddInvestment(params?: {}): Promise<implicitReturnType>;
390
+ privatePostTradingBotRecurringAmendPriceRange(params?: {}): Promise<implicitReturnType>;
391
+ privatePostTradingBotRecurringAmendRecurringAmount(params?: {}): Promise<implicitReturnType>;
392
+ privatePostTradingBotRecurringAmendRecurringTime(params?: {}): Promise<implicitReturnType>;
393
+ privatePostTradingBotRecurringPause(params?: {}): Promise<implicitReturnType>;
394
+ privatePostTradingBotRecurringRestart(params?: {}): Promise<implicitReturnType>;
364
395
  privatePostFinanceSavingsPurchaseRedempt(params?: {}): Promise<implicitReturnType>;
365
396
  privatePostFinanceSavingsSetLendingRate(params?: {}): Promise<implicitReturnType>;
366
397
  privatePostFinanceStakingDefiPurchase(params?: {}): Promise<implicitReturnType>;
@@ -395,6 +426,9 @@ interface okx {
395
426
  privatePostBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
396
427
  privatePostFinanceSfpDcdQuote(params?: {}): Promise<implicitReturnType>;
397
428
  privatePostFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
429
+ privatePostFinanceSfpDcdTrade(params?: {}): Promise<implicitReturnType>;
430
+ privatePostFinanceSfpDcdRedeemQuote(params?: {}): Promise<implicitReturnType>;
431
+ privatePostFinanceSfpDcdRedeem(params?: {}): Promise<implicitReturnType>;
398
432
  privatePostBrokerNdReportSubaccountIp(params?: {}): Promise<implicitReturnType>;
399
433
  privatePostBrokerDmaSubaccountApikey(params?: {}): Promise<implicitReturnType>;
400
434
  privatePostBrokerDmaTrades(params?: {}): Promise<implicitReturnType>;
@@ -12,6 +12,7 @@ interface Exchange {
12
12
  publicGetMarketOptionInstrumentFamilyTrades(params?: {}): Promise<implicitReturnType>;
13
13
  publicGetMarketPlatform24Volume(params?: {}): Promise<implicitReturnType>;
14
14
  publicGetMarketCallAuctionDetail(params?: {}): Promise<implicitReturnType>;
15
+ publicGetMarketCallAuctionDetails(params?: {}): Promise<implicitReturnType>;
15
16
  publicGetMarketBooksSbe(params?: {}): Promise<implicitReturnType>;
16
17
  publicGetMarketBlockTickers(params?: {}): Promise<implicitReturnType>;
17
18
  publicGetMarketBlockTicker(params?: {}): Promise<implicitReturnType>;
@@ -51,6 +52,9 @@ interface Exchange {
51
52
  publicGetPublicPremiumHistory(params?: {}): Promise<implicitReturnType>;
52
53
  publicGetPublicEconomicCalendar(params?: {}): Promise<implicitReturnType>;
53
54
  publicGetPublicMarketDataHistory(params?: {}): Promise<implicitReturnType>;
55
+ publicGetPublicEventContractEvents(params?: {}): Promise<implicitReturnType>;
56
+ publicGetPublicEventContractMarkets(params?: {}): Promise<implicitReturnType>;
57
+ publicGetPublicEventContractSeries(params?: {}): Promise<implicitReturnType>;
54
58
  publicGetPublicVipInterestRateLoanQuota(params?: {}): Promise<implicitReturnType>;
55
59
  publicGetRubikStatTradingDataSupportCoin(params?: {}): Promise<implicitReturnType>;
56
60
  publicGetRubikStatContractsOpenInterestHistory(params?: {}): Promise<implicitReturnType>;
@@ -58,6 +62,7 @@ interface Exchange {
58
62
  publicGetRubikStatTakerVolumeContract(params?: {}): Promise<implicitReturnType>;
59
63
  publicGetRubikStatMarginLoanRatio(params?: {}): Promise<implicitReturnType>;
60
64
  publicGetRubikStatContractsLongShortAccountRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
65
+ publicGetRubikStatContractsLongShortPositionRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
61
66
  publicGetRubikStatContractsLongShortAccountRatioContract(params?: {}): Promise<implicitReturnType>;
62
67
  publicGetRubikStatContractsLongShortAccountRatio(params?: {}): Promise<implicitReturnType>;
63
68
  publicGetRubikStatContractsOpenInterestVolume(params?: {}): Promise<implicitReturnType>;
@@ -95,6 +100,7 @@ interface Exchange {
95
100
  publicGetCopytradingPublicCopyTraders(params?: {}): Promise<implicitReturnType>;
96
101
  publicGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
97
102
  publicGetSupportAnnouncementsTypes(params?: {}): Promise<implicitReturnType>;
103
+ publicGetSupportAnnouncementTypes(params?: {}): Promise<implicitReturnType>;
98
104
  publicPostTradingBotGridMinInvestment(params?: {}): Promise<implicitReturnType>;
99
105
  privateGetRfqCounterparties(params?: {}): Promise<implicitReturnType>;
100
106
  privateGetRfqMakerInstrumentSettings(params?: {}): Promise<implicitReturnType>;
@@ -150,6 +156,7 @@ interface Exchange {
150
156
  privateGetAccountBillsArchive(params?: {}): Promise<implicitReturnType>;
151
157
  privateGetAccountBillsHistoryArchive(params?: {}): Promise<implicitReturnType>;
152
158
  privateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
159
+ privateGetAccountSubtypes(params?: {}): Promise<implicitReturnType>;
153
160
  privateGetAccountMaxSize(params?: {}): Promise<implicitReturnType>;
154
161
  privateGetAccountMaxAvailSize(params?: {}): Promise<implicitReturnType>;
155
162
  privateGetAccountLeverageInfo(params?: {}): Promise<implicitReturnType>;
@@ -207,6 +214,11 @@ interface Exchange {
207
214
  privateGetTradingBotRecurringOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
208
215
  privateGetTradingBotRecurringOrdersAlgoDetails(params?: {}): Promise<implicitReturnType>;
209
216
  privateGetTradingBotRecurringSubOrders(params?: {}): Promise<implicitReturnType>;
217
+ privateGetTradingBotDcaOngoingList(params?: {}): Promise<implicitReturnType>;
218
+ privateGetTradingBotDcaHistoryList(params?: {}): Promise<implicitReturnType>;
219
+ privateGetTradingBotDcaOrders(params?: {}): Promise<implicitReturnType>;
220
+ privateGetTradingBotDcaPositionDetails(params?: {}): Promise<implicitReturnType>;
221
+ privateGetTradingBotDcaCycleList(params?: {}): Promise<implicitReturnType>;
210
222
  privateGetFinanceSavingsBalance(params?: {}): Promise<implicitReturnType>;
211
223
  privateGetFinanceSavingsLendingHistory(params?: {}): Promise<implicitReturnType>;
212
224
  privateGetFinanceStakingDefiOffers(params?: {}): Promise<implicitReturnType>;
@@ -252,6 +264,9 @@ interface Exchange {
252
264
  privateGetBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
253
265
  privateGetFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
254
266
  privateGetFinanceSfpDcdOrders(params?: {}): Promise<implicitReturnType>;
267
+ privateGetFinanceSfpDcdCurrencyPair(params?: {}): Promise<implicitReturnType>;
268
+ privateGetFinanceSfpDcdOrderStatus(params?: {}): Promise<implicitReturnType>;
269
+ privateGetFinanceSfpDcdOrderHistory(params?: {}): Promise<implicitReturnType>;
255
270
  privateGetAffiliateInviteeDetail(params?: {}): Promise<implicitReturnType>;
256
271
  privateGetUsersPartnerIfRebate(params?: {}): Promise<implicitReturnType>;
257
272
  privateGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
@@ -314,6 +329,7 @@ interface Exchange {
314
329
  privatePostAccountPositionBuilder(params?: {}): Promise<implicitReturnType>;
315
330
  privatePostAccountPositionBuilderGraph(params?: {}): Promise<implicitReturnType>;
316
331
  privatePostAccountSetRiskOffsetType(params?: {}): Promise<implicitReturnType>;
332
+ privatePostAccountSetRiskOffsetAmt(params?: {}): Promise<implicitReturnType>;
317
333
  privatePostAccountActivateOption(params?: {}): Promise<implicitReturnType>;
318
334
  privatePostAccountSetAutoLoan(params?: {}): Promise<implicitReturnType>;
319
335
  privatePostAccountAccountLevelSwitchPreset(params?: {}): Promise<implicitReturnType>;
@@ -338,6 +354,7 @@ interface Exchange {
338
354
  privatePostUsersSubaccountDeleteApikey(params?: {}): Promise<implicitReturnType>;
339
355
  privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
340
356
  privatePostTradingBotGridOrderAlgo(params?: {}): Promise<implicitReturnType>;
357
+ privatePostTradingBotGridCopyOrderAlgo(params?: {}): Promise<implicitReturnType>;
341
358
  privatePostTradingBotGridAmendAlgoBasicParam(params?: {}): Promise<implicitReturnType>;
342
359
  privatePostTradingBotGridAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
343
360
  privatePostTradingBotGridStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
@@ -361,6 +378,20 @@ interface Exchange {
361
378
  privatePostTradingBotRecurringOrderAlgo(params?: {}): Promise<implicitReturnType>;
362
379
  privatePostTradingBotRecurringAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
363
380
  privatePostTradingBotRecurringStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
381
+ privatePostTradingBotDcaCreate(params?: {}): Promise<implicitReturnType>;
382
+ privatePostTradingBotDcaAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
383
+ privatePostTradingBotDcaStop(params?: {}): Promise<implicitReturnType>;
384
+ privatePostTradingBotDcaOrdersManualBuy(params?: {}): Promise<implicitReturnType>;
385
+ privatePostTradingBotDcaSettingsReinvestment(params?: {}): Promise<implicitReturnType>;
386
+ privatePostTradingBotDcaSettingsTakeProfit(params?: {}): Promise<implicitReturnType>;
387
+ privatePostTradingBotDcaMarginAdd(params?: {}): Promise<implicitReturnType>;
388
+ privatePostTradingBotDcaMarginReduce(params?: {}): Promise<implicitReturnType>;
389
+ privatePostTradingBotRecurringAddInvestment(params?: {}): Promise<implicitReturnType>;
390
+ privatePostTradingBotRecurringAmendPriceRange(params?: {}): Promise<implicitReturnType>;
391
+ privatePostTradingBotRecurringAmendRecurringAmount(params?: {}): Promise<implicitReturnType>;
392
+ privatePostTradingBotRecurringAmendRecurringTime(params?: {}): Promise<implicitReturnType>;
393
+ privatePostTradingBotRecurringPause(params?: {}): Promise<implicitReturnType>;
394
+ privatePostTradingBotRecurringRestart(params?: {}): Promise<implicitReturnType>;
364
395
  privatePostFinanceSavingsPurchaseRedempt(params?: {}): Promise<implicitReturnType>;
365
396
  privatePostFinanceSavingsSetLendingRate(params?: {}): Promise<implicitReturnType>;
366
397
  privatePostFinanceStakingDefiPurchase(params?: {}): Promise<implicitReturnType>;
@@ -395,6 +426,9 @@ interface Exchange {
395
426
  privatePostBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
396
427
  privatePostFinanceSfpDcdQuote(params?: {}): Promise<implicitReturnType>;
397
428
  privatePostFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
429
+ privatePostFinanceSfpDcdTrade(params?: {}): Promise<implicitReturnType>;
430
+ privatePostFinanceSfpDcdRedeemQuote(params?: {}): Promise<implicitReturnType>;
431
+ privatePostFinanceSfpDcdRedeem(params?: {}): Promise<implicitReturnType>;
398
432
  privatePostBrokerNdReportSubaccountIp(params?: {}): Promise<implicitReturnType>;
399
433
  privatePostBrokerDmaSubaccountApikey(params?: {}): Promise<implicitReturnType>;
400
434
  privatePostBrokerDmaTrades(params?: {}): Promise<implicitReturnType>;
@@ -12,6 +12,7 @@ interface okx {
12
12
  publicGetMarketOptionInstrumentFamilyTrades(params?: {}): Promise<implicitReturnType>;
13
13
  publicGetMarketPlatform24Volume(params?: {}): Promise<implicitReturnType>;
14
14
  publicGetMarketCallAuctionDetail(params?: {}): Promise<implicitReturnType>;
15
+ publicGetMarketCallAuctionDetails(params?: {}): Promise<implicitReturnType>;
15
16
  publicGetMarketBooksSbe(params?: {}): Promise<implicitReturnType>;
16
17
  publicGetMarketBlockTickers(params?: {}): Promise<implicitReturnType>;
17
18
  publicGetMarketBlockTicker(params?: {}): Promise<implicitReturnType>;
@@ -51,6 +52,9 @@ interface okx {
51
52
  publicGetPublicPremiumHistory(params?: {}): Promise<implicitReturnType>;
52
53
  publicGetPublicEconomicCalendar(params?: {}): Promise<implicitReturnType>;
53
54
  publicGetPublicMarketDataHistory(params?: {}): Promise<implicitReturnType>;
55
+ publicGetPublicEventContractEvents(params?: {}): Promise<implicitReturnType>;
56
+ publicGetPublicEventContractMarkets(params?: {}): Promise<implicitReturnType>;
57
+ publicGetPublicEventContractSeries(params?: {}): Promise<implicitReturnType>;
54
58
  publicGetPublicVipInterestRateLoanQuota(params?: {}): Promise<implicitReturnType>;
55
59
  publicGetRubikStatTradingDataSupportCoin(params?: {}): Promise<implicitReturnType>;
56
60
  publicGetRubikStatContractsOpenInterestHistory(params?: {}): Promise<implicitReturnType>;
@@ -58,6 +62,7 @@ interface okx {
58
62
  publicGetRubikStatTakerVolumeContract(params?: {}): Promise<implicitReturnType>;
59
63
  publicGetRubikStatMarginLoanRatio(params?: {}): Promise<implicitReturnType>;
60
64
  publicGetRubikStatContractsLongShortAccountRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
65
+ publicGetRubikStatContractsLongShortPositionRatioContractTopTrader(params?: {}): Promise<implicitReturnType>;
61
66
  publicGetRubikStatContractsLongShortAccountRatioContract(params?: {}): Promise<implicitReturnType>;
62
67
  publicGetRubikStatContractsLongShortAccountRatio(params?: {}): Promise<implicitReturnType>;
63
68
  publicGetRubikStatContractsOpenInterestVolume(params?: {}): Promise<implicitReturnType>;
@@ -95,6 +100,7 @@ interface okx {
95
100
  publicGetCopytradingPublicCopyTraders(params?: {}): Promise<implicitReturnType>;
96
101
  publicGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
97
102
  publicGetSupportAnnouncementsTypes(params?: {}): Promise<implicitReturnType>;
103
+ publicGetSupportAnnouncementTypes(params?: {}): Promise<implicitReturnType>;
98
104
  publicPostTradingBotGridMinInvestment(params?: {}): Promise<implicitReturnType>;
99
105
  privateGetRfqCounterparties(params?: {}): Promise<implicitReturnType>;
100
106
  privateGetRfqMakerInstrumentSettings(params?: {}): Promise<implicitReturnType>;
@@ -150,6 +156,7 @@ interface okx {
150
156
  privateGetAccountBillsArchive(params?: {}): Promise<implicitReturnType>;
151
157
  privateGetAccountBillsHistoryArchive(params?: {}): Promise<implicitReturnType>;
152
158
  privateGetAccountConfig(params?: {}): Promise<implicitReturnType>;
159
+ privateGetAccountSubtypes(params?: {}): Promise<implicitReturnType>;
153
160
  privateGetAccountMaxSize(params?: {}): Promise<implicitReturnType>;
154
161
  privateGetAccountMaxAvailSize(params?: {}): Promise<implicitReturnType>;
155
162
  privateGetAccountLeverageInfo(params?: {}): Promise<implicitReturnType>;
@@ -207,6 +214,11 @@ interface okx {
207
214
  privateGetTradingBotRecurringOrdersAlgoHistory(params?: {}): Promise<implicitReturnType>;
208
215
  privateGetTradingBotRecurringOrdersAlgoDetails(params?: {}): Promise<implicitReturnType>;
209
216
  privateGetTradingBotRecurringSubOrders(params?: {}): Promise<implicitReturnType>;
217
+ privateGetTradingBotDcaOngoingList(params?: {}): Promise<implicitReturnType>;
218
+ privateGetTradingBotDcaHistoryList(params?: {}): Promise<implicitReturnType>;
219
+ privateGetTradingBotDcaOrders(params?: {}): Promise<implicitReturnType>;
220
+ privateGetTradingBotDcaPositionDetails(params?: {}): Promise<implicitReturnType>;
221
+ privateGetTradingBotDcaCycleList(params?: {}): Promise<implicitReturnType>;
210
222
  privateGetFinanceSavingsBalance(params?: {}): Promise<implicitReturnType>;
211
223
  privateGetFinanceSavingsLendingHistory(params?: {}): Promise<implicitReturnType>;
212
224
  privateGetFinanceStakingDefiOffers(params?: {}): Promise<implicitReturnType>;
@@ -252,6 +264,9 @@ interface okx {
252
264
  privateGetBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
253
265
  privateGetFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
254
266
  privateGetFinanceSfpDcdOrders(params?: {}): Promise<implicitReturnType>;
267
+ privateGetFinanceSfpDcdCurrencyPair(params?: {}): Promise<implicitReturnType>;
268
+ privateGetFinanceSfpDcdOrderStatus(params?: {}): Promise<implicitReturnType>;
269
+ privateGetFinanceSfpDcdOrderHistory(params?: {}): Promise<implicitReturnType>;
255
270
  privateGetAffiliateInviteeDetail(params?: {}): Promise<implicitReturnType>;
256
271
  privateGetUsersPartnerIfRebate(params?: {}): Promise<implicitReturnType>;
257
272
  privateGetSupportAnnouncements(params?: {}): Promise<implicitReturnType>;
@@ -314,6 +329,7 @@ interface okx {
314
329
  privatePostAccountPositionBuilder(params?: {}): Promise<implicitReturnType>;
315
330
  privatePostAccountPositionBuilderGraph(params?: {}): Promise<implicitReturnType>;
316
331
  privatePostAccountSetRiskOffsetType(params?: {}): Promise<implicitReturnType>;
332
+ privatePostAccountSetRiskOffsetAmt(params?: {}): Promise<implicitReturnType>;
317
333
  privatePostAccountActivateOption(params?: {}): Promise<implicitReturnType>;
318
334
  privatePostAccountSetAutoLoan(params?: {}): Promise<implicitReturnType>;
319
335
  privatePostAccountAccountLevelSwitchPreset(params?: {}): Promise<implicitReturnType>;
@@ -338,6 +354,7 @@ interface okx {
338
354
  privatePostUsersSubaccountDeleteApikey(params?: {}): Promise<implicitReturnType>;
339
355
  privatePostUsersSubaccountSetTransferOut(params?: {}): Promise<implicitReturnType>;
340
356
  privatePostTradingBotGridOrderAlgo(params?: {}): Promise<implicitReturnType>;
357
+ privatePostTradingBotGridCopyOrderAlgo(params?: {}): Promise<implicitReturnType>;
341
358
  privatePostTradingBotGridAmendAlgoBasicParam(params?: {}): Promise<implicitReturnType>;
342
359
  privatePostTradingBotGridAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
343
360
  privatePostTradingBotGridStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
@@ -361,6 +378,20 @@ interface okx {
361
378
  privatePostTradingBotRecurringOrderAlgo(params?: {}): Promise<implicitReturnType>;
362
379
  privatePostTradingBotRecurringAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
363
380
  privatePostTradingBotRecurringStopOrderAlgo(params?: {}): Promise<implicitReturnType>;
381
+ privatePostTradingBotDcaCreate(params?: {}): Promise<implicitReturnType>;
382
+ privatePostTradingBotDcaAmendOrderAlgo(params?: {}): Promise<implicitReturnType>;
383
+ privatePostTradingBotDcaStop(params?: {}): Promise<implicitReturnType>;
384
+ privatePostTradingBotDcaOrdersManualBuy(params?: {}): Promise<implicitReturnType>;
385
+ privatePostTradingBotDcaSettingsReinvestment(params?: {}): Promise<implicitReturnType>;
386
+ privatePostTradingBotDcaSettingsTakeProfit(params?: {}): Promise<implicitReturnType>;
387
+ privatePostTradingBotDcaMarginAdd(params?: {}): Promise<implicitReturnType>;
388
+ privatePostTradingBotDcaMarginReduce(params?: {}): Promise<implicitReturnType>;
389
+ privatePostTradingBotRecurringAddInvestment(params?: {}): Promise<implicitReturnType>;
390
+ privatePostTradingBotRecurringAmendPriceRange(params?: {}): Promise<implicitReturnType>;
391
+ privatePostTradingBotRecurringAmendRecurringAmount(params?: {}): Promise<implicitReturnType>;
392
+ privatePostTradingBotRecurringAmendRecurringTime(params?: {}): Promise<implicitReturnType>;
393
+ privatePostTradingBotRecurringPause(params?: {}): Promise<implicitReturnType>;
394
+ privatePostTradingBotRecurringRestart(params?: {}): Promise<implicitReturnType>;
364
395
  privatePostFinanceSavingsPurchaseRedempt(params?: {}): Promise<implicitReturnType>;
365
396
  privatePostFinanceSavingsSetLendingRate(params?: {}): Promise<implicitReturnType>;
366
397
  privatePostFinanceStakingDefiPurchase(params?: {}): Promise<implicitReturnType>;
@@ -395,6 +426,9 @@ interface okx {
395
426
  privatePostBrokerNdRebatePerOrders(params?: {}): Promise<implicitReturnType>;
396
427
  privatePostFinanceSfpDcdQuote(params?: {}): Promise<implicitReturnType>;
397
428
  privatePostFinanceSfpDcdOrder(params?: {}): Promise<implicitReturnType>;
429
+ privatePostFinanceSfpDcdTrade(params?: {}): Promise<implicitReturnType>;
430
+ privatePostFinanceSfpDcdRedeemQuote(params?: {}): Promise<implicitReturnType>;
431
+ privatePostFinanceSfpDcdRedeem(params?: {}): Promise<implicitReturnType>;
398
432
  privatePostBrokerNdReportSubaccountIp(params?: {}): Promise<implicitReturnType>;
399
433
  privatePostBrokerDmaSubaccountApikey(params?: {}): Promise<implicitReturnType>;
400
434
  privatePostBrokerDmaTrades(params?: {}): Promise<implicitReturnType>;
@@ -0,0 +1,83 @@
1
+ import { implicitReturnType } from '../base/types.js';
2
+ import { Exchange as _Exchange } from '../base/Exchange.js';
3
+ interface Exchange {
4
+ publicGetApiV3Time(params?: {}): Promise<implicitReturnType>;
5
+ publicGetApiV3Coins(params?: {}): Promise<implicitReturnType>;
6
+ publicGetApiV3ExchangeInfo(params?: {}): Promise<implicitReturnType>;
7
+ publicGetApiV3Ping(params?: {}): Promise<implicitReturnType>;
8
+ publicGetApiV3ApiTradingSymbols(params?: {}): Promise<implicitReturnType>;
9
+ publicGetApiV3MarketTickerPrice(params?: {}): Promise<implicitReturnType>;
10
+ publicGetApiV3MarketTicker24hr(params?: {}): Promise<implicitReturnType>;
11
+ publicGetApiV3MarketTrades(params?: {}): Promise<implicitReturnType>;
12
+ publicGetApiV3MarketKlines(params?: {}): Promise<implicitReturnType>;
13
+ publicGetApiV3MarketDepth(params?: {}): Promise<implicitReturnType>;
14
+ publicGetApiV3MarketTickerBookTicker(params?: {}): Promise<implicitReturnType>;
15
+ privateGetApiV3Account(params?: {}): Promise<implicitReturnType>;
16
+ privateGetApiV3AccountTransferRecords(params?: {}): Promise<implicitReturnType>;
17
+ privateGetApiV3Order(params?: {}): Promise<implicitReturnType>;
18
+ privateGetApiV3OpenOrders(params?: {}): Promise<implicitReturnType>;
19
+ privateGetApiV3AllOrders(params?: {}): Promise<implicitReturnType>;
20
+ privateGetApiV3MyTrades(params?: {}): Promise<implicitReturnType>;
21
+ privateGetApiV3RebateAffiliateGetAffiliateUIDs(params?: {}): Promise<implicitReturnType>;
22
+ privateGetApiV3RebateAffiliateGetChannelUserTradeAndAsset(params?: {}): Promise<implicitReturnType>;
23
+ privateGetApiV3RebateAffiliateGetAffiliateCommission(params?: {}): Promise<implicitReturnType>;
24
+ privateGetApiV3RebateAffiliateGetInternalWithdrawalStatus(params?: {}): Promise<implicitReturnType>;
25
+ privateGetApiV3RebateAffiliateQuerySubChannelTransactions(params?: {}): Promise<implicitReturnType>;
26
+ privateGetApiV3AgencyVerifyReferrals(params?: {}): Promise<implicitReturnType>;
27
+ privateGetApiV3AgencyGetAssert(params?: {}): Promise<implicitReturnType>;
28
+ privateGetApiV3AgencyGetDealData(params?: {}): Promise<implicitReturnType>;
29
+ privatePostApiV3AccountBills(params?: {}): Promise<implicitReturnType>;
30
+ privatePostApiV3AccountFundingBills(params?: {}): Promise<implicitReturnType>;
31
+ privatePostApiV3Order(params?: {}): Promise<implicitReturnType>;
32
+ privatePostApiV3OrderBatch(params?: {}): Promise<implicitReturnType>;
33
+ privatePostApiV3RebateAffiliateInternalWithdrawal(params?: {}): Promise<implicitReturnType>;
34
+ privateDeleteApiV3Order(params?: {}): Promise<implicitReturnType>;
35
+ privateDeleteApiV3OpenOrders(params?: {}): Promise<implicitReturnType>;
36
+ privateDeleteApiV3OrderBatch(params?: {}): Promise<implicitReturnType>;
37
+ contractGetCapiV3MarketTime(params?: {}): Promise<implicitReturnType>;
38
+ contractGetCapiV3MarketExchangeInfo(params?: {}): Promise<implicitReturnType>;
39
+ contractGetCapiV3MarketDepth(params?: {}): Promise<implicitReturnType>;
40
+ contractGetCapiV3MarketTicker24hr(params?: {}): Promise<implicitReturnType>;
41
+ contractGetCapiV3MarketTickerBookTicker(params?: {}): Promise<implicitReturnType>;
42
+ contractGetCapiV3MarketTrades(params?: {}): Promise<implicitReturnType>;
43
+ contractGetCapiV3MarketKlines(params?: {}): Promise<implicitReturnType>;
44
+ contractGetCapiV3MarketIndexPriceKlines(params?: {}): Promise<implicitReturnType>;
45
+ contractGetCapiV3MarketMarkPriceKlines(params?: {}): Promise<implicitReturnType>;
46
+ contractGetCapiV3MarketHistoryKlines(params?: {}): Promise<implicitReturnType>;
47
+ contractGetCapiV3MarketSymbolPrice(params?: {}): Promise<implicitReturnType>;
48
+ contractGetCapiV3MarketOpenInterest(params?: {}): Promise<implicitReturnType>;
49
+ contractGetCapiV3MarketPremiumIndex(params?: {}): Promise<implicitReturnType>;
50
+ contractGetCapiV3MarketFundingRate(params?: {}): Promise<implicitReturnType>;
51
+ contractGetCapiV3MarketApiTradingSymbols(params?: {}): Promise<implicitReturnType>;
52
+ contractPrivateGetCapiV3AccountBalance(params?: {}): Promise<implicitReturnType>;
53
+ contractPrivateGetCapiV3AccountCommissionRate(params?: {}): Promise<implicitReturnType>;
54
+ contractPrivateGetCapiV3AccountAccountConfig(params?: {}): Promise<implicitReturnType>;
55
+ contractPrivateGetCapiV3AccountSymbolConfig(params?: {}): Promise<implicitReturnType>;
56
+ contractPrivateGetCapiV3AccountPositionAllPosition(params?: {}): Promise<implicitReturnType>;
57
+ contractPrivateGetCapiV3AccountPositionSinglePosition(params?: {}): Promise<implicitReturnType>;
58
+ contractPrivateGetCapiV3Order(params?: {}): Promise<implicitReturnType>;
59
+ contractPrivateGetCapiV3OpenOrders(params?: {}): Promise<implicitReturnType>;
60
+ contractPrivateGetCapiV3OrderHistory(params?: {}): Promise<implicitReturnType>;
61
+ contractPrivateGetCapiV3UserTrades(params?: {}): Promise<implicitReturnType>;
62
+ contractPrivateGetCapiV3OpenAlgoOrders(params?: {}): Promise<implicitReturnType>;
63
+ contractPrivateGetCapiV3AllAlgoOrders(params?: {}): Promise<implicitReturnType>;
64
+ contractPrivatePostCapiV3AccountIncome(params?: {}): Promise<implicitReturnType>;
65
+ contractPrivatePostCapiV3AccountMarginType(params?: {}): Promise<implicitReturnType>;
66
+ contractPrivatePostCapiV3AccountLeverage(params?: {}): Promise<implicitReturnType>;
67
+ contractPrivatePostCapiV3AccountPositionMargin(params?: {}): Promise<implicitReturnType>;
68
+ contractPrivatePostCapiV3AccountModifyAutoAppendMargin(params?: {}): Promise<implicitReturnType>;
69
+ contractPrivatePostCapiV3Order(params?: {}): Promise<implicitReturnType>;
70
+ contractPrivatePostCapiV3BatchOrders(params?: {}): Promise<implicitReturnType>;
71
+ contractPrivatePostCapiV3ClosePositions(params?: {}): Promise<implicitReturnType>;
72
+ contractPrivatePostCapiV3AlgoOrder(params?: {}): Promise<implicitReturnType>;
73
+ contractPrivatePostCapiV3PlaceTpSlOrder(params?: {}): Promise<implicitReturnType>;
74
+ contractPrivatePostCapiV3ModifyTpSlOrder(params?: {}): Promise<implicitReturnType>;
75
+ contractPrivateDeleteCapiV3Order(params?: {}): Promise<implicitReturnType>;
76
+ contractPrivateDeleteCapiV3BatchOrders(params?: {}): Promise<implicitReturnType>;
77
+ contractPrivateDeleteCapiV3AllOpenOrders(params?: {}): Promise<implicitReturnType>;
78
+ contractPrivateDeleteCapiV3AlgoOrder(params?: {}): Promise<implicitReturnType>;
79
+ contractPrivateDeleteCapiV3AlgoOpenOrders(params?: {}): Promise<implicitReturnType>;
80
+ }
81
+ declare abstract class Exchange extends _Exchange {
82
+ }
83
+ 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;
@@ -414,7 +414,8 @@ export default class Exchange {
414
414
  binaryLength(binary: Uint8Array): number;
415
415
  lockId(): any;
416
416
  unlockId(): any;
417
- loadLighterLibrary(libraryPath: any, chainId: any, privateKey: any, apiKeyIndex: any, accountIndex: any): Promise<{}>;
417
+ loadLighterLibrary(libraryPath: any, chainId: any, privateKey: any, apiKeyIndex: any, accountIndex: any, createClient?: boolean): Promise<{}>;
418
+ lighterCreateClient(signer: any, chainId: any, privateKey: any, apiKeyIndex: any, accountIndex: any): any;
418
419
  lighterSignCreateGroupedOrders(signer: any, request: any): any[];
419
420
  lighterSignCreateOrder(signer: any, request: any): any[];
420
421
  checkLighterSignedError(result: any): void;
@@ -427,6 +428,9 @@ export default class Exchange {
427
428
  lighterSignUpdateLeverage(signer: any, request: any): any[];
428
429
  lighterCreateAuthToken(signer: any, request: any): string;
429
430
  lighterSignUpdateMargin(signer: any, request: any): any[];
431
+ lighterSignApproveIntegrator(signer: any, request: any): any[];
432
+ lighterGenerateApiKey(signer: any): any[];
433
+ lighterSignChangePubkey(signer: any, request: any): any[];
430
434
  describe(): any;
431
435
  safeBoolN(dictionaryOrList: any, keys: IndexType[], defaultValue?: boolean): boolean | undefined;
432
436
  safeBool2(dictionary: any, key1: IndexType, key2: IndexType, defaultValue?: boolean): boolean | undefined;