Skip to content

Commit

Permalink
bitrich-info#502 batch kraken resubscribing - formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Chertalev committed Mar 12, 2020
1 parent 5c34f03 commit 83231f7
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,11 @@ public Observable<List> subscribe(String channelName, int maxItems, Integer dept
}

private String getChannelName(
KrakenSubscriptionName subscriptionName, CurrencyPair currencyPair) {
String pair = KrakenAdapters.adaptCurrencyPair(currencyPair.base.getCurrencyCode() + currencyPair.counter.getCurrencyCode()).toString();
KrakenSubscriptionName subscriptionName, CurrencyPair currencyPair) {
String pair =
KrakenAdapters.adaptCurrencyPair(
currencyPair.base.getCurrencyCode() + currencyPair.counter.getCurrencyCode())
.toString();
return subscriptionName + KRAKEN_CHANNEL_DELIMITER + pair;
}

Expand Down
Loading

0 comments on commit 83231f7

Please sign in to comment.