Package com.xeiam.xchange.bitvc.dto.marketdata

Examples of com.xeiam.xchange.bitvc.dto.marketdata.BitVcTickerObject


  }

  public static Ticker adaptTicker(BitVcTicker BitVcTicker, CurrencyPair currencyPair) {

    BitVcTickerObject ticker = BitVcTicker.getTicker();
    return new Ticker.Builder().currencyPair(currencyPair).last(ticker.getLast()).bid(ticker.getBuy())
        .ask(ticker.getSell()).high(ticker.getHigh()).low(ticker.getLow())
        .volume(ticker.getVol()).timestamp(new Date()).build();
  }
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.bitvc.dto.marketdata.BitVcTickerObject

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.