
com.xeiam.xchange.ripple.service.polling.params.RippleTradeHistoryCount Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xchange-ripple Show documentation
Show all versions of xchange-ripple Show documentation
XChange implementation for the Ripple Network
The newest version!
package com.xeiam.xchange.ripple.service.polling.params;
import com.xeiam.xchange.service.polling.trade.params.TradeHistoryParams;
/**
* Keeps track of and restrict the number of notification and order detail queries that are made for a trade history. Due to there not being a single
* simple API call to return an account's trade history the number of API queries can spiral out of control. This interface helps prevent that.
*/
public interface RippleTradeHistoryCount extends TradeHistoryParams {
public static final int DEFAULT_API_CALL_COUNT = 100;
public void resetApiCallCount();
public void incrementApiCallCount();
public int getApiCallCount();
public int getApiCallCountLimit();
public static final int DEFAULT_TRADE_COUNT_LIMIT = 10;
public void resetTradeCount();
public void incrementTradeCount();
public int getTradeCount();
public int getTradeCountLimit();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy