@@ -146,10 +146,10 @@ import { OrderBook as WsOrderBook, IndexedOrderBook, CountedOrderBook } from './
146
146
//
147
147
import { axolotl } from './functions/crypto.js' ;
148
148
// import types
149
- import type { Market , Trade , Fee , Ticker , OHLCV , OHLCVC , Order , OrderBook , Balance , Balances , Dictionary , Transaction , DepositAddressResponse , Currency , MinMax , IndexType , Int , OrderType , OrderSide , Position , FundingRate , DepositWithdrawFeeNetwork , LedgerEntry , BorrowInterest , OpenInterest , LeverageTier , TransferEntry , BorrowRate , FundingRateHistory , Liquidation , FundingHistory , OrderRequest , MarginMode , Tickers , Greeks , Option , OptionChain , Str , Num , MarketInterface , CurrencyInterface , BalanceAccount , MarginModes , MarketType , Leverage , Leverages , LastPrice , LastPrices , Account , Strings , MarginModification , TradingFeeInterface , Currencies , TradingFees } from './types.js' ;
149
+ import type { Market , Trade , Fee , Ticker , OHLCV , OHLCVC , Order , OrderBook , Balance , Balances , Dictionary , Transaction , DepositAddressResponse , Currency , MinMax , IndexType , Int , OrderType , OrderSide , Position , FundingRate , DepositWithdrawFeeNetwork , LedgerEntry , BorrowInterest , OpenInterest , LeverageTier , TransferEntry , BorrowRate , FundingRateHistory , Liquidation , FundingHistory , OrderRequest , MarginMode , Tickers , Greeks , Option , OptionChain , Str , Num , MarketInterface , CurrencyInterface , BalanceAccount , MarginModes , MarketType , Leverage , Leverages , LastPrice , LastPrices , Account , Strings , MarginModification , TradingFeeInterface , Currencies , TradingFees , Conversion } from './types.js' ;
150
150
// export {Market, Trade, Fee, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, Transaction, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, Liquidation, FundingHistory} from './types.js'
151
151
// import { Market, Trade, Fee, Ticker, OHLCV, OHLCVC, Order, OrderBook, Balance, Balances, Dictionary, Transaction, DepositAddressResponse, Currency, MinMax, IndexType, Int, OrderType, OrderSide, Position, FundingRateHistory, OpenInterest, Liquidation, OrderRequest, FundingHistory, MarginMode, Tickers, Greeks, Str, Num, MarketInterface, CurrencyInterface, Account } from './types.js';
152
- export type { Market , Trade , Fee , Ticker , OHLCV , OHLCVC , Order , OrderBook , Balance , Balances , Dictionary , Transaction , DepositAddressResponse , Currency , MinMax , IndexType , Int , OrderType , OrderSide , Position , LedgerEntry , BorrowInterest , OpenInterest , LeverageTier , TransferEntry , BorrowRate , FundingRateHistory , Liquidation , FundingHistory , OrderRequest , MarginMode , Tickers , Greeks , Option , OptionChain , Str , Num , MarketInterface , CurrencyInterface , BalanceAccount , MarginModes , MarketType , Leverage , Leverages , LastPrice , LastPrices , Account , Strings } from './types.js'
152
+ export type { Market , Trade , Fee , Ticker , OHLCV , OHLCVC , Order , OrderBook , Balance , Balances , Dictionary , Transaction , DepositAddressResponse , Currency , MinMax , IndexType , Int , OrderType , OrderSide , Position , LedgerEntry , BorrowInterest , OpenInterest , LeverageTier , TransferEntry , BorrowRate , FundingRateHistory , Liquidation , FundingHistory , OrderRequest , MarginMode , Tickers , Greeks , Option , OptionChain , Str , Num , MarketInterface , CurrencyInterface , BalanceAccount , MarginModes , MarketType , Leverage , Leverages , LastPrice , LastPrices , Account , Strings , Conversion } from './types.js'
153
153
154
154
// ----------------------------------------------------------------------------
155
155
// move this elsewhere.
@@ -531,6 +531,7 @@ export default class Exchange {
531
531
'fetchClosedOrder' : undefined ,
532
532
'fetchClosedOrders' : undefined ,
533
533
'fetchClosedOrdersWs' : undefined ,
534
+ 'fetchConvertQuote' : undefined ,
534
535
'fetchCrossBorrowRate' : undefined ,
535
536
'fetchCrossBorrowRates' : undefined ,
536
537
'fetchCurrencies' : 'emulated' ,
@@ -5002,6 +5003,10 @@ export default class Exchange {
5002
5003
throw new NotSupported ( this . id + ' fetchOption() is not supported yet' ) ;
5003
5004
}
5004
5005
5006
+ async fetchConvertQuote ( fromCode : string , toCode : string , amount : Num = undefined , params = { } ) : Promise < Conversion > {
5007
+ throw new NotSupported ( this . id + ' fetchConvertQuote() is not supported yet' ) ;
5008
+ }
5009
+
5005
5010
async fetchDepositsWithdrawals ( code : Str = undefined , since : Int = undefined , limit : Int = undefined , params = { } ) : Promise < Transaction [ ] > {
5006
5011
/**
5007
5012
* @method
@@ -6317,7 +6322,11 @@ export default class Exchange {
6317
6322
}
6318
6323
6319
6324
parseLeverage ( leverage , market : Market = undefined ) : Leverage {
6320
- throw new NotSupported ( this . id + ' parseLeverage() is not supported yet' ) ;
6325
+ throw new NotSupported ( this . id + ' parseLeverage () is not supported yet' ) ;
6326
+ }
6327
+
6328
+ parseConversion ( conversion , fromCurrency : Currency = undefined , toCurrency : Currency = undefined ) : Conversion {
6329
+ throw new NotSupported ( this . id + ' parseConversion () is not supported yet' ) ;
6321
6330
}
6322
6331
6323
6332
convertExpireDate ( date : string ) : string {
0 commit comments