Interface RippleTradeHistoryCount
-
- All Superinterfaces:
org.knowm.xchange.service.trade.params.TradeHistoryParams
- All Known Implementing Classes:
RippleTradeHistoryParams
public interface RippleTradeHistoryCount extends org.knowm.xchange.service.trade.params.TradeHistoryParamsKeeps 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.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_API_CALL_COUNTstatic intDEFAULT_TRADE_COUNT_LIMIT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetApiCallCount()intgetApiCallCountLimit()intgetTradeCount()intgetTradeCountLimit()voidincrementApiCallCount()voidincrementTradeCount()voidresetApiCallCount()voidresetTradeCount()
-
-
-
Field Detail
-
DEFAULT_API_CALL_COUNT
static final int DEFAULT_API_CALL_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_TRADE_COUNT_LIMIT
static final int DEFAULT_TRADE_COUNT_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
resetApiCallCount
void resetApiCallCount()
-
incrementApiCallCount
void incrementApiCallCount()
-
getApiCallCount
int getApiCallCount()
-
getApiCallCountLimit
int getApiCallCountLimit()
-
resetTradeCount
void resetTradeCount()
-
incrementTradeCount
void incrementTradeCount()
-
getTradeCount
int getTradeCount()
-
getTradeCountLimit
int getTradeCountLimit()
-
-