org.knowm.xchange.lgo.service.LgoTradeHistoryParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-lgo Show documentation
Show all versions of xchange-lgo Show documentation
XChange implementation for LGO
package org.knowm.xchange.lgo.service;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.service.trade.params.*;
public class LgoTradeHistoryParams
implements TradeHistoryParams,
TradeHistoryParamCurrencyPair,
TradeHistoryParamLimit,
TradeHistoryParamNextPageCursor,
TradeHistoryParamsSorted {
private CurrencyPair currencyPair = CurrencyPair.BTC_USD;
private Integer limit = 100;
private String pageCursor = null;
private Order order = Order.desc;
@Override
public CurrencyPair getCurrencyPair() {
return currencyPair;
}
@Override
public void setCurrencyPair(CurrencyPair pair) {
this.currencyPair = pair;
}
@Override
public Integer getLimit() {
return limit;
}
@Override
public void setLimit(Integer limit) {
this.limit = limit;
}
@Override
public String getNextPageCursor() {
return pageCursor;
}
@Override
public void setNextPageCursor(String cursor) {
this.pageCursor = cursor;
}
@Override
public Order getOrder() {
return order;
}
@Override
public void setOrder(Order order) {
this.order = order;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy