Package org.knowm.xchange.kraken
Class KrakenUtils
java.lang.Object
org.knowm.xchange.kraken.KrakenUtils
- Author:
- timmolter
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static String
createKrakenCurrencyPair
(CurrencyPair currencyPair) static String
createKrakenCurrencyPair
(Currency tradableIdentifier, Currency currency) static Map<String,
KrakenOrder> filterOpenOrdersByCurrencyPair
(Map<String, KrakenOrder> krakenOrders, CurrencyPair currencyPair) static Map<String,
KrakenTrade> filterTradeHistoryByCurrencyPair
(Map<String, KrakenTrade> krakenTrades, CurrencyPair currencyPair) static String
getKrakenCurrencyCode
(Currency currency) static void
setKrakenAssetPairs
(Map<String, KrakenAssetPair> pairs) static void
setKrakenAssets
(Map<String, KrakenAsset> assetSource) static Currency
translateKrakenCurrencyCode
(String currencyIn) static CurrencyPair
translateKrakenCurrencyPair
(String currencyPairIn)
-
Method Details
-
setKrakenAssetPairs
-
setKrakenAssets
-
createKrakenCurrencyPair
-
translateKrakenCurrencyPair
-
createKrakenCurrencyPair
-
getKrakenCurrencyCode
-
translateKrakenCurrencyCode
-
clearAssets
public static void clearAssets() -
filterOpenOrdersByCurrencyPair
public static Map<String,KrakenOrder> filterOpenOrdersByCurrencyPair(Map<String, KrakenOrder> krakenOrders, CurrencyPair currencyPair) -
filterTradeHistoryByCurrencyPair
public static Map<String,KrakenTrade> filterTradeHistoryByCurrencyPair(Map<String, KrakenTrade> krakenTrades, CurrencyPair currencyPair)
-