org.knowm.xchange.examples.quoine.trade.QuoineOrderDetailsDemo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-examples Show documentation
Show all versions of xchange-examples Show documentation
Provides a set of examples that demonstrate how to use XChange in client applications
The newest version!
package org.knowm.xchange.examples.quoine.trade;
import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.examples.quoine.QuoineExamplesUtils;
import org.knowm.xchange.quoine.dto.trade.QuoineOrderDetailsResponse;
import org.knowm.xchange.quoine.service.QuoineTradeServiceRaw;
import org.knowm.xchange.service.trade.TradeService;
public class QuoineOrderDetailsDemo {
public static void main(String[] args) throws IOException {
Exchange exchange = QuoineExamplesUtils.createExchange();
TradeService tradeService = exchange.getTradeService();
raw((QuoineTradeServiceRaw) tradeService);
}
private static void raw(QuoineTradeServiceRaw tradeServiceRaw) throws IOException {
// get order details
QuoineOrderDetailsResponse QuoineOrderDetailsResponse =
tradeServiceRaw.getQuoineOrderDetails("52364");
System.out.println(QuoineOrderDetailsResponse.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy