Examples of JustcoinTicker


Examples of com.xeiam.xchange.justcoin.dto.marketdata.JustcoinTicker

    low = BigDecimal.valueOf(40782.944);
    last = BigDecimal.valueOf(40900.000);
    bid = BigDecimal.valueOf(40905.000);
    ask = BigDecimal.valueOf(43239.000);
    volume = BigDecimal.valueOf(26.39377);
    justcoinTicker = new JustcoinTicker(JustcoinUtils.getApiMarket(currencyPair), high, low, volume, last, bid, ask, 3);
  }
View Full Code Here

Examples of com.xeiam.xchange.justcoin.dto.marketdata.JustcoinTicker

    CollectionType collectionType = mapper.getTypeFactory().constructCollectionType(List.class, JustcoinTicker.class);
    final List<JustcoinTicker> tickers = mapper.readValue(is, collectionType);

    // Verify that the example data was unmarshalled correctly
    assertThat(tickers.size()).isEqualTo(5);
    final JustcoinTicker xrpTicker = tickers.get(4);
    assertThat(xrpTicker).isEqualTo(justcoinTicker);
  }
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.