Package org.knowm.xchange.lykke
Class LykkeAdapter
java.lang.Object
org.knowm.xchange.lykke.LykkeAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AccountInfo
adaptAccountInfo
(List<LykkeWallet> lykkeWallets) static LimitOrder
adaptLimitOrder
(List<Instrument> currencyPairList, LykkeOrder lykkeOrder) static LykkeLimitOrder
adaptLykkeOrder
(LimitOrder limitOrder) static List<LimitOrder>
adaptOpenOrders
(List<Instrument> currencyPairList, List<LykkeOrder> lykkeOrders) Adapter for LykkeOpenOrders*****static OrderBook
adaptOrderBook
(List<LykkeOrderBook> lykkeOrderBook, CurrencyPair currencyPair) static String
adaptToAssetPair
(CurrencyPair currencyPair) adaptUserTrades
(List<Instrument> currencyPairList, List<LykkeOrder> tradeHistoryList) Adapter for LykkeTradeHistory***
-
Constructor Details
-
LykkeAdapter
public LykkeAdapter()
-
-
Method Details
-
adaptToAssetPair
-
adaptOrderBook
public static OrderBook adaptOrderBook(List<LykkeOrderBook> lykkeOrderBook, CurrencyPair currencyPair) throws IOException - Throws:
IOException
-
adaptOpenOrders
public static List<LimitOrder> adaptOpenOrders(List<Instrument> currencyPairList, List<LykkeOrder> lykkeOrders) throws IOException Adapter for LykkeOpenOrders*****- Throws:
IOException
-
adaptLimitOrder
public static LimitOrder adaptLimitOrder(List<Instrument> currencyPairList, LykkeOrder lykkeOrder) throws IOException - Throws:
IOException
-
adaptUserTrades
public static List<UserTrade> adaptUserTrades(List<Instrument> currencyPairList, List<LykkeOrder> tradeHistoryList) throws IOException Adapter for LykkeTradeHistory***- Throws:
IOException
-
adaptLykkeOrder
-
adaptAccountInfo
-