boolean placedOrderResult = tradeService.placeBTERLimitOrder(CurrencyPair.LTC_BTC, BTEROrderType.SELL, new BigDecimal("0.0265"), new BigDecimal("0.384"));
System.out.println(placedOrderResult); // Returned order id is currently broken for BTER, rely on open orders instead for demo :(
Thread.sleep(2000); // wait for BTER's back-end to propagate the order
BTEROpenOrders openOrders = tradeService.getBTEROpenOrders();
System.out.println(openOrders);
List<BTEROpenOrder> openOrdersList = openOrders.getOrders();
if (!openOrdersList.isEmpty()) {
String existingOrderId = openOrdersList.get(0).getId();
BTEROrderStatus orderStatus = tradeService.getBTEROrderStatus(existingOrderId);
System.out.println(orderStatus);