Package com.xeiam.xchange.bter.dto.marketdata

Examples of com.xeiam.xchange.bter.dto.marketdata.BTERTicker


    return handleResponse(bterTickers).getTickerMap();
  }

  public BTERTicker getBTERTicker(String tradableIdentifier, String currency) throws IOException {

    BTERTicker bterTicker = bter.getTicker(tradableIdentifier.toLowerCase(), currency.toLowerCase());

    return handleResponse(bterTicker);
  }
View Full Code Here


  }

  @Override
  public Ticker getTicker(CurrencyPair currencyPair, Object... args) throws IOException {

    BTERTicker ticker = super.getBTERTicker(currencyPair.baseSymbol, currencyPair.counterSymbol);

    return BTERAdapters.adaptTicker(currencyPair, ticker);
  }
View Full Code Here

    System.out.println(pairs);

    Map<CurrencyPair, BTERTicker> tickers = marketDataService.getBTERTickers();
    System.out.println(tickers);

    BTERTicker ticker = marketDataService.getBTERTicker(Currencies.PPC, Currencies.BTC);
    System.out.println(ticker);

    BTERDepth depth = marketDataService.getBTEROrderBook(Currencies.BTC, Currencies.CNY);
    System.out.println(depth);
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.bter.dto.marketdata.BTERTicker

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.