else if (value.isArray()) {
for (JsonNode tradeJsonNode : value) {
BigDecimal price = new BigDecimal(tradeJsonNode.path(0).asText());
BigDecimal volume = new BigDecimal(tradeJsonNode.path(1).asText());
double time = tradeJsonNode.path(2).asDouble();
KrakenType type = KrakenType.fromString(tradeJsonNode.path(3).asText());
KrakenOrderType orderType = KrakenOrderType.fromString(tradeJsonNode.path(4).asText());
String miscellaneous = tradeJsonNode.path(5).asText();
krakenTrades.add(new KrakenPublicTrade(price, volume, time, type, orderType, miscellaneous));
}