@Ignore
@Test
public void testPlaceOrder() throws IOException {
InputStream resourceAsStream = BitfinexTradeDataJSONTest.class.getResourceAsStream("/v1/trade/example-place-order-data.json");
BitfinexOrderStatusResponse response = new ObjectMapper().readValue(resourceAsStream, BitfinexOrderStatusResponse.class);
assertEquals(4003264, response.getId());
assertEquals("btcusd", response.getSymbol());
assertEquals("bitfinex", response.getExchange());
assertEquals(new BigDecimal("900.0"), response.getPrice());
assertEquals(new BigDecimal("0.0"), response.getAvgExecutionPrice());
assertEquals("sell", response.getSide());
assertEquals("exchange limit", response.getType());
assertEquals(new BigDecimal("1387061558.610016778"), response.getTimestamp());
assertTrue(response.isLive());
assertFalse(response.isCancelled());
assertFalse(response.getWasForced());
assertEquals(new BigDecimal("0.01"), response.getOriginalAmount());
assertEquals(new BigDecimal("0.01"), response.getRemainingAmount());
assertEquals(new BigDecimal("0.0"), response.getExecutedAmount());
}