/** * Place an order and catch exceptions * @throws InterruptedException */ private void placeOrder(final BitfinexOrder newOrder) throws InterruptedException { if(SIMULATION) { return; } try { orderManager.placeOrderAndWaitUntilActive(newOrder); } catch(APIException e) { logger.error("Unable to place order", e); } }