Package com.xeiam.xchange.kraken.dto.trade

Examples of com.xeiam.xchange.kraken.dto.trade.KrakenOrderType


          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));
          }
        }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.kraken.dto.trade.KrakenOrderType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.