Package com.xeiam.xchange.mintpal.dto.marketdata

Examples of com.xeiam.xchange.mintpal.dto.marketdata.MintPalPublicOrder


    assertThat(orderbook).hasSize(2);
    final MintPalPublicOrders asksWrapper = orderbook.get(0).getType().equals("buy") ? orderbook.get(1) : orderbook.get(0);
    final List<MintPalPublicOrder> asks = asksWrapper.getOrders();
    assertThat(asksWrapper.getCount()).isEqualTo(asks.size());

    final MintPalPublicOrder ask = asks.get(0);
    assertThat(ask.getPrice()).isEqualTo("0.01289999");
    assertThat(ask.getAmount()).isEqualTo("0.04599935");
    assertThat(ask.getTotal()).isEqualTo("0.00059339");
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.mintpal.dto.marketdata.MintPalPublicOrder

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.