
com.xeiam.xchange.kraken.dto.trade.results.KrakenClosedOrdersResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-kraken Show documentation
Show all versions of xchange-kraken Show documentation
XChange implementation for the Kraken Exchange
package com.xeiam.xchange.kraken.dto.trade.results;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.xeiam.xchange.kraken.dto.KrakenResult;
import com.xeiam.xchange.kraken.dto.trade.KrakenOrder;
import com.xeiam.xchange.kraken.dto.trade.results.KrakenClosedOrdersResult.KrakenClosedOrders;
public class KrakenClosedOrdersResult extends KrakenResult {
/**
* Constructor
*
* @param result
* @param error
*/
public KrakenClosedOrdersResult(@JsonProperty("result") KrakenClosedOrders result, @JsonProperty("error") String[] error) {
super(result, error);
}
public static class KrakenClosedOrders {
private final Map orders;
public KrakenClosedOrders(@JsonProperty("closed") Map orders) {
this.orders = orders;
}
public Map getOrders() {
return orders;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy