}
public BittrexTicker getBittrexTicker(String pair) throws IOException {
BittrexTickerResponse response = bittrex.getTicker(pair);
if (response.getSuccess()) {
return response.getTicker();
}
else {
throw new ExchangeException(response.getMessage());
}
}