Package com.xeiam.xchange.btcchina.service.streaming

Examples of com.xeiam.xchange.btcchina.service.streaming.BTCChinaStreamingConfiguration


  }

  @Override
  public StreamingExchangeService getStreamingExchangeService(ExchangeStreamingConfiguration configuration) {

    final BTCChinaStreamingConfiguration btcchinaStreamingConfiguration;

    if (configuration == null) {
      btcchinaStreamingConfiguration = new BTCChinaStreamingConfiguration();
    }
    else if (configuration instanceof BTCChinaStreamingConfiguration) {
      btcchinaStreamingConfiguration = (BTCChinaStreamingConfiguration) configuration;
    }
    else {
View Full Code Here


  private static final Logger log = LoggerFactory.getLogger(BTCChinaSocketIOServiceDemo.class);

  public static void main(String[] args) throws InterruptedException {

    final BTCChinaStreamingConfiguration configuration = new BTCChinaStreamingConfiguration(true, true, true, true, CurrencyPair.BTC_CNY, CurrencyPair.LTC_CNY, CurrencyPair.LTC_BTC);
    final Exchange exchange = BTCChinaExamplesUtils.getExchange();
    final StreamingExchangeService service = exchange.getStreamingExchangeService(configuration);

    Thread consumer = new Thread("consumer") {
View Full Code Here

TOP

Related Classes of com.xeiam.xchange.btcchina.service.streaming.BTCChinaStreamingConfiguration

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.