fix typo in Tester - should be Buy instead of Sell

This commit is contained in:
Barnabas Debreczeni 2017-10-01 23:48:45 +02:00
parent 4e2a7c20b8
commit 7807287ba9
1 changed files with 1 additions and 1 deletions

View File

@ -420,7 +420,7 @@ public class Tester {
if (rs instanceof IRateSourceAdvanced) {
IRateSourceAdvanced rsa = (IRateSourceAdvanced)rs;
final BigDecimal buyPrice = rsa.getExchangeRateForSell(selectedCryptoCurrency, preferredFiatCurrency);
final BigDecimal buyPrice = rsa.getExchangeRateForBuy(selectedCryptoCurrency, preferredFiatCurrency);
if (buyPrice != null) {
System.out.println("Buy Price: 1 " + selectedCryptoCurrency + " = " + buyPrice.stripTrailingZeros().toPlainString() + " " + preferredFiatCurrency);
}else{