class TradeOgreAccountServiceRaw extends TradeOgreBaseService {

  protected TradeOgreAccountServiceRaw(TradeOgreExchange exchange) {
    super(exchange);
  }

  public List<Balance> getTradeOgreBalances() throws IOException {<FILL_FUNCTION_BODY>}

  public TradeOgreBalance getTradeOgreBalance(Currency currency) throws IOException {
    return tradeOgre.getBalance(base64UserPwd, currency.toString().toUpperCase());
  }
}


    return tradeOgre.getBalances(base64UserPwd).getBalances().entrySet().stream()
        .map(
            entry ->
                new Balance.Builder()
                    .total(entry.getValue())
                    .currency(new Currency(entry.getKey()))
                    .build())
        .collect(Collectors.toList());
  
<methods><variables>protected final non-sealed java.lang.String base64UserPwd,protected final non-sealed org.knowm.xchange.tradeogre.TradeOgreAuthenticated tradeOgre