Package com.xeiam.xchange.kraken.dto.marketdata

Examples of com.xeiam.xchange.kraken.dto.marketdata.KrakenPublicOrder$KrakenOrderDeserializer


    Map<String, KrakenDepth> krakenDepths = krakenDepthResult.getResult();

    // Verify that the example data was unmarshalled correctly
    assertThat(krakenDepths.get("XXBTXLTC")).isEqualTo(null);
    List<KrakenPublicOrder> krakenAsks = krakenDepths.get("XXBTZEUR").getAsks();
    KrakenPublicOrder krakenPublicOrder = krakenAsks.get(0);

    assertThat(krakenPublicOrder.getPrice()).isEqualTo(new BigDecimal("530.75513"));
    assertThat(krakenPublicOrder.getVolume()).isEqualTo(new BigDecimal("0.248"));
    assertThat(krakenPublicOrder.getTimestamp()).isEqualTo(1391825343L);
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.kraken.dto.marketdata.KrakenPublicOrder$KrakenOrderDeserializer

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.