All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.xeiam.xchange.quoine.service.polling.QuoineMarketDataServiceRaw Maven / Gradle / Ivy

The newest version!
package com.xeiam.xchange.quoine.service.polling;

import java.io.IOException;

import com.xeiam.xchange.Exchange;
import com.xeiam.xchange.quoine.dto.marketdata.QuoineOrderBook;
import com.xeiam.xchange.quoine.dto.marketdata.QuoineProduct;

public class QuoineMarketDataServiceRaw extends QuoineBasePollingService {

  /**
   * Constructor
   *
   * @param exchange
   */
  public QuoineMarketDataServiceRaw(Exchange exchange) {

    super(exchange);
  }

  public QuoineProduct getQuoineProduct(String currencyPair) throws IOException {

    return quoine.getQuoineProduct(currencyPair);
  }

  public QuoineProduct[] getQuoineProducts() throws IOException {

    return quoine.getQuoineProducts();
  }

  public QuoineOrderBook getOrderBook(int id) throws IOException {

    return quoine.getOrderBook(id);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy