import {okcoin as Type} from 'ccxt'; export interface okcoinRestApiType extends Type { generalGetTime: (params:{}, context?:{}) => Promise; accountGetWallet: (params:{}, context?:{}) => Promise; accountGetSubAccount: (params:{}, context?:{}) => Promise; accountGetAssetValuation: (params:{}, context?:{}) => Promise; accountGetWalletCurrency: (params:{}, context?:{}) => Promise; accountGetWithdrawalHistory: (params:{}, context?:{}) => Promise; accountGetWithdrawalHistoryCurrency: (params:{}, context?:{}) => Promise; accountGetLedger: (params:{}, context?:{}) => Promise; accountGetDepositAddress: (params:{}, context?:{}) => Promise; accountGetDepositHistory: (params:{}, context?:{}) => Promise; accountGetDepositHistoryCurrency: (params:{}, context?:{}) => Promise; accountGetCurrencies: (params:{}, context?:{}) => Promise; accountGetWithdrawalFee: (params:{}, context?:{}) => Promise; accountGetDepositLightning: (params:{}, context?:{}) => Promise; accountGetWithdrawalLightning: (params:{}, context?:{}) => Promise; accountGetFiatDepositDetail: (params:{}, context?:{}) => Promise; accountGetFiatDepositDetails: (params:{}, context?:{}) => Promise; accountGetFiatWithdrawDetail: (params:{}, context?:{}) => Promise; accountGetFiatWithdrawDetails: (params:{}, context?:{}) => Promise; accountGetFiatChannel: (params:{}, context?:{}) => Promise; accountPostTransfer: (params:{}, context?:{}) => Promise; accountPostWithdrawal: (params:{}, context?:{}) => Promise; accountPostFiatCancelDeposit: (params:{}, context?:{}) => Promise; accountPostFiatDeposit: (params:{}, context?:{}) => Promise; accountPostFiatWithdraw: (params:{}, context?:{}) => Promise; accountPostFiatCancelWithdrawal: (params:{}, context?:{}) => Promise; otcGetRfqInstruments: (params:{}, context?:{}) => Promise; otcGetRfqTrade: (params:{}, context?:{}) => Promise; otcGetRfqHistory: (params:{}, context?:{}) => Promise; otcPostRfqQuote: (params:{}, context?:{}) => Promise; otcPostRfqTrade: (params:{}, context?:{}) => Promise; usersGetSubaccountInfo: (params:{}, context?:{}) => Promise; usersGetAccountInfo: (params:{}, context?:{}) => Promise; usersGetSubaccountApikey: (params:{}, context?:{}) => Promise; usersPostCreateSubaccount: (params:{}, context?:{}) => Promise; usersPostDeleteSubaccount: (params:{}, context?:{}) => Promise; usersPostSubaccountApikey: (params:{}, context?:{}) => Promise; usersPostSubacountDeleteApikey: (params:{}, context?:{}) => Promise; usersPostSubacountModifyApikey: (params:{}, context?:{}) => Promise; earningGetOffers: (params:{}, context?:{}) => Promise; earningGetOrders: (params:{}, context?:{}) => Promise; earningGetPositions: (params:{}, context?:{}) => Promise; earningPostPurchase: (params:{}, context?:{}) => Promise; earningPostRedeem: (params:{}, context?:{}) => Promise; earningPostCancel: (params:{}, context?:{}) => Promise; spotGetAccounts: (params:{}, context?:{}) => Promise; spotGetAccountsCurrency: (params:{}, context?:{}) => Promise; spotGetAccountsCurrencyLedger: (params:{}, context?:{}) => Promise; spotGetOrders: (params:{}, context?:{}) => Promise; spotGetOrdersPending: (params:{}, context?:{}) => Promise; spotGetOrdersOrderId: (params:{}, context?:{}) => Promise; spotGetOrdersClientOid: (params:{}, context?:{}) => Promise; spotGetTradeFee: (params:{}, context?:{}) => Promise; spotGetFills: (params:{}, context?:{}) => Promise; spotGetAlgo: (params:{}, context?:{}) => Promise; spotGetInstruments: (params:{}, context?:{}) => Promise; spotGetInstrumentsInstrumentIdBook: (params:{}, context?:{}) => Promise; spotGetInstrumentsTicker: (params:{}, context?:{}) => Promise; spotGetInstrumentsInstrumentIdTicker: (params:{}, context?:{}) => Promise; spotGetInstrumentsInstrumentIdTrades: (params:{}, context?:{}) => Promise; spotGetInstrumentsInstrumentIdCandles: (params:{}, context?:{}) => Promise; spotPostOrderAlgo: (params:{}, context?:{}) => Promise; spotPostOrders: (params:{}, context?:{}) => Promise; spotPostBatchOrders: (params:{}, context?:{}) => Promise; spotPostCancelOrdersOrderId: (params:{}, context?:{}) => Promise; spotPostCancelOrdersClientOid: (params:{}, context?:{}) => Promise; spotPostCancelBatchAlgos: (params:{}, context?:{}) => Promise; spotPostCancelBatchOrders: (params:{}, context?:{}) => Promise; spotPostAmendOrderInstrumentId: (params:{}, context?:{}) => Promise; spotPostAmendBatchOrders: (params:{}, context?:{}) => Promise; marginGetAccounts: (params:{}, context?:{}) => Promise; marginGetAccountsInstrumentId: (params:{}, context?:{}) => Promise; marginGetAccountsInstrumentIdLedger: (params:{}, context?:{}) => Promise; marginGetAccountsAvailability: (params:{}, context?:{}) => Promise; marginGetAccountsInstrumentIdAvailability: (params:{}, context?:{}) => Promise; marginGetAccountsBorrowed: (params:{}, context?:{}) => Promise; marginGetAccountsInstrumentIdBorrowed: (params:{}, context?:{}) => Promise; marginGetOrders: (params:{}, context?:{}) => Promise; marginGetAccountsInstrumentIdLeverage: (params:{}, context?:{}) => Promise; marginGetOrdersOrderId: (params:{}, context?:{}) => Promise; marginGetOrdersClientOid: (params:{}, context?:{}) => Promise; marginGetOrdersPending: (params:{}, context?:{}) => Promise; marginGetFills: (params:{}, context?:{}) => Promise; marginGetInstrumentsInstrumentIdMarkPrice: (params:{}, context?:{}) => Promise; marginPostAccountsBorrow: (params:{}, context?:{}) => Promise; marginPostAccountsRepayment: (params:{}, context?:{}) => Promise; marginPostOrders: (params:{}, context?:{}) => Promise; marginPostBatchOrders: (params:{}, context?:{}) => Promise; marginPostCancelOrders: (params:{}, context?:{}) => Promise; marginPostCancelOrdersOrderId: (params:{}, context?:{}) => Promise; marginPostCancelOrdersClientOid: (params:{}, context?:{}) => Promise; marginPostCancelBatchOrders: (params:{}, context?:{}) => Promise; marginPostAmendOrderInstrumentId: (params:{}, context?:{}) => Promise; marginPostAmendBatchOrders: (params:{}, context?:{}) => Promise; marginPostAccountsInstrumentIdLeverage: (params:{}, context?:{}) => Promise; systemGetStatus: (params:{}, context?:{}) => Promise; marketGetOracle: (params:{}, context?:{}) => Promise; futuresGetPosition: (params:{}, context?:{}) => Promise; futuresGetInstrumentIdPosition: (params:{}, context?:{}) => Promise; futuresGetAccounts: (params:{}, context?:{}) => Promise; futuresGetAccountsUnderlying: (params:{}, context?:{}) => Promise; futuresGetAccountsUnderlyingLeverage: (params:{}, context?:{}) => Promise; futuresGetAccountsUnderlyingLedger: (params:{}, context?:{}) => Promise; futuresGetOrderAlgoInstrumentId: (params:{}, context?:{}) => Promise; futuresGetOrdersInstrumentId: (params:{}, context?:{}) => Promise; futuresGetOrdersInstrumentIdOrderId: (params:{}, context?:{}) => Promise; futuresGetOrdersInstrumentIdClientOid: (params:{}, context?:{}) => Promise; futuresGetFills: (params:{}, context?:{}) => Promise; futuresGetTradeFee: (params:{}, context?:{}) => Promise; futuresGetAccountsInstrumentIdHolds: (params:{}, context?:{}) => Promise; futuresGetInstruments: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdBook: (params:{}, context?:{}) => Promise; futuresGetInstrumentsTicker: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdTicker: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdTrades: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdCandles: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdHistoryCandles: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdIndex: (params:{}, context?:{}) => Promise; futuresGetRate: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdEstimatedPrice: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdOpenInterest: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdPriceLimit: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdMarkPrice: (params:{}, context?:{}) => Promise; futuresGetInstrumentsInstrumentIdLiquidation: (params:{}, context?:{}) => Promise; futuresPostAccountsUnderlyingLeverage: (params:{}, context?:{}) => Promise; futuresPostOrder: (params:{}, context?:{}) => Promise; futuresPostAmendOrderInstrumentId: (params:{}, context?:{}) => Promise; futuresPostOrders: (params:{}, context?:{}) => Promise; futuresPostCancelOrderInstrumentIdOrderId: (params:{}, context?:{}) => Promise; futuresPostCancelOrderInstrumentIdClientOid: (params:{}, context?:{}) => Promise; futuresPostCancelBatchOrdersInstrumentId: (params:{}, context?:{}) => Promise; futuresPostAccountsMarginMode: (params:{}, context?:{}) => Promise; futuresPostClosePosition: (params:{}, context?:{}) => Promise; futuresPostCancelAll: (params:{}, context?:{}) => Promise; futuresPostOrderAlgo: (params:{}, context?:{}) => Promise; futuresPostCancelAlgos: (params:{}, context?:{}) => Promise; swapGetPosition: (params:{}, context?:{}) => Promise; swapGetInstrumentIdPosition: (params:{}, context?:{}) => Promise; swapGetAccounts: (params:{}, context?:{}) => Promise; swapGetInstrumentIdAccounts: (params:{}, context?:{}) => Promise; swapGetAccountsInstrumentIdSettings: (params:{}, context?:{}) => Promise; swapGetAccountsInstrumentIdLedger: (params:{}, context?:{}) => Promise; swapGetOrdersInstrumentId: (params:{}, context?:{}) => Promise; swapGetOrdersInstrumentIdOrderId: (params:{}, context?:{}) => Promise; swapGetOrdersInstrumentIdClientOid: (params:{}, context?:{}) => Promise; swapGetFills: (params:{}, context?:{}) => Promise; swapGetAccountsInstrumentIdHolds: (params:{}, context?:{}) => Promise; swapGetTradeFee: (params:{}, context?:{}) => Promise; swapGetOrderAlgoInstrumentId: (params:{}, context?:{}) => Promise; swapGetInstruments: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdDepth: (params:{}, context?:{}) => Promise; swapGetInstrumentsTicker: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdTicker: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdTrades: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdCandles: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdHistoryCandles: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdIndex: (params:{}, context?:{}) => Promise; swapGetRate: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdOpenInterest: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdPriceLimit: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdLiquidation: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdFundingTime: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdMarkPrice: (params:{}, context?:{}) => Promise; swapGetInstrumentsInstrumentIdHistoricalFundingRate: (params:{}, context?:{}) => Promise; swapPostAccountsInstrumentIdLeverage: (params:{}, context?:{}) => Promise; swapPostOrder: (params:{}, context?:{}) => Promise; swapPostAmendOrderInstrumentId: (params:{}, context?:{}) => Promise; swapPostOrders: (params:{}, context?:{}) => Promise; swapPostCancelOrderInstrumentIdOrderId: (params:{}, context?:{}) => Promise; swapPostCancelOrderInstrumentIdClientOid: (params:{}, context?:{}) => Promise; swapPostCancelBatchOrdersInstrumentId: (params:{}, context?:{}) => Promise; swapPostOrderAlgo: (params:{}, context?:{}) => Promise; swapPostCancelAlgos: (params:{}, context?:{}) => Promise; swapPostClosePosition: (params:{}, context?:{}) => Promise; swapPostCancelAll: (params:{}, context?:{}) => Promise; optionGetAccounts: (params:{}, context?:{}) => Promise; optionGetPosition: (params:{}, context?:{}) => Promise; optionGetUnderlyingPosition: (params:{}, context?:{}) => Promise; optionGetAccountsUnderlying: (params:{}, context?:{}) => Promise; optionGetOrdersUnderlying: (params:{}, context?:{}) => Promise; optionGetFillsUnderlying: (params:{}, context?:{}) => Promise; optionGetAccountsUnderlyingLedger: (params:{}, context?:{}) => Promise; optionGetTradeFee: (params:{}, context?:{}) => Promise; optionGetOrdersUnderlyingOrderId: (params:{}, context?:{}) => Promise; optionGetOrdersUnderlyingClientOid: (params:{}, context?:{}) => Promise; optionGetUnderlying: (params:{}, context?:{}) => Promise; optionGetInstrumentsUnderlying: (params:{}, context?:{}) => Promise; optionGetInstrumentsUnderlyingSummary: (params:{}, context?:{}) => Promise; optionGetInstrumentsUnderlyingSummaryInstrumentId: (params:{}, context?:{}) => Promise; optionGetInstrumentsInstrumentIdBook: (params:{}, context?:{}) => Promise; optionGetInstrumentsInstrumentIdTrades: (params:{}, context?:{}) => Promise; optionGetInstrumentsInstrumentIdTicker: (params:{}, context?:{}) => Promise; optionGetInstrumentsInstrumentIdCandles: (params:{}, context?:{}) => Promise; optionPostOrder: (params:{}, context?:{}) => Promise; optionPostOrders: (params:{}, context?:{}) => Promise; optionPostCancelOrderUnderlyingOrderId: (params:{}, context?:{}) => Promise; optionPostCancelOrderUnderlyingClientOid: (params:{}, context?:{}) => Promise; optionPostCancelBatchOrdersUnderlying: (params:{}, context?:{}) => Promise; optionPostAmendOrderUnderlying: (params:{}, context?:{}) => Promise; optionPostAmendBatchOrdersUnderlying: (params:{}, context?:{}) => Promise; informationGetCurrencyLongShortRatio: (params:{}, context?:{}) => Promise; informationGetCurrencyVolume: (params:{}, context?:{}) => Promise; informationGetCurrencyTaker: (params:{}, context?:{}) => Promise; informationGetCurrencySentiment: (params:{}, context?:{}) => Promise; informationGetCurrencyMargin: (params:{}, context?:{}) => Promise; indexGetInstrumentIdConstituents: (params:{}, context?:{}) => Promise; }