for (CurrencyPair currencyPair : currencyPairs) {
String market = toMarket(currencyPair);
String subscribeData = String.format("%s_%s", name, market);
log.debug("subscribing {}", subscribeData);
socket.emit("subscribe", subscribeData);
}
}
private void subscribePrivateData() {