public final class CryptsyCurrencyUtils extends Object
Modifier and Type | Field and Description |
---|---|
static Map<CurrencyPair,Integer> |
currencyPairs_MarketIds
Map containing relationships between MarketIds and CurrencyPairs CAA: 27 June 2014 This list is not final, since CryptsyBasePollingService will
update it on first run.
|
static Map<Integer,CurrencyPair> |
marketIds_CurrencyPairs
Map containing relationships between MarketIds and CurrencyPairs CAA: 27 June 2014 This list is not final, since CryptsyBasePollingService will
update it on first run.
|
Constructor and Description |
---|
CryptsyCurrencyUtils() |
Modifier and Type | Method and Description |
---|---|
static CurrencyPair |
convertToCurrencyPair(int marketId)
Converts a int marketId to the appropriate CurrencyPair
|
static int |
convertToMarketId(CurrencyPair currencyPair)
Converts a CurrencyPair (in form Base_Counter) to the appropriate marketId
|
public static Map<Integer,CurrencyPair> marketIds_CurrencyPairs
public static Map<CurrencyPair,Integer> currencyPairs_MarketIds
public static int convertToMarketId(CurrencyPair currencyPair)
currencyPair
- String CurrencyPair in form (Base_Counter)public static CurrencyPair convertToCurrencyPair(int marketId)
marketId
- int representation of marketIdCopyright © 2012–2017 Xeiam, LLC. All rights reserved.