Examples of ANXTrade


Examples of com.xeiam.xchange.anx.v2.dto.marketdata.ANXTrade

    List<ANXTrade> anxTrades = anxTradesWrapper.getANXTrades();

    assertThat(anxTrades).hasSize(2);

    ANXTrade anxTrade = anxTrades.get(0);
    assertThat(anxTrade.getAmount()).isEqualTo("0.25");
    assertThat(anxTrade.getAmountInt()).isEqualTo(25000000);
    assertThat(anxTrade.getItem()).isEqualTo("BTC");
    assertThat(anxTrade.getPrice()).isEqualTo("655");
    assertThat(anxTrade.getPriceInt()).isEqualTo(65500000);
    assertThat(anxTrade.getPriceCurrency()).isEqualTo("USD");
    assertThat(anxTrade.getPrimary()).isEqualTo("true");
    assertThat(anxTrade.getProperties()).isEqualTo("Not Supported");
    assertThat(anxTrade.getTid()).isEqualTo(1402189342525L);
    assertThat(anxTrade.getTradeType()).isEqualTo("bid");
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.