Class TradeHistoryParamsAll
java.lang.Object
org.knowm.xchange.service.trade.params.TradeHistoryParamsAll
- All Implemented Interfaces:
CurrencyPairParam,InstrumentParam,TradeHistoryParamCurrencyPair,TradeHistoryParamInstrument,TradeHistoryParamLimit,TradeHistoryParamMultiCurrencyPair,TradeHistoryParamMultiInstrument,TradeHistoryParamOffset,TradeHistoryParamPaging,TradeHistoryParams,TradeHistoryParamsIdSpan,TradeHistoryParamsTimeSpan
public class TradeHistoryParamsAll
extends Object
implements TradeHistoryParamsTimeSpan, TradeHistoryParamPaging, TradeHistoryParamsIdSpan, TradeHistoryParamOffset, TradeHistoryParamCurrencyPair, TradeHistoryParamMultiCurrencyPair, TradeHistoryParamInstrument, TradeHistoryParamMultiInstrument, TradeHistoryParamLimit
Generic
TradeHistoryParams implementation that implements all the interfaces in the
hierarchy and can be safely (without getting exceptions, if that all the required fields are
non-null) passed to any implementation of TradeService.getTradeHistory(TradeHistoryParams) .-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEndId()getLimit()0-based page numbervoidsetCurrencyPair(CurrencyPair pair) voidsetCurrencyPairs(Collection<CurrencyPair> value) voidvoidsetEndTime(Date to) voidsetInstrument(Instrument instrument) voidsetInstruments(Collection<Instrument> instruments) voidvoidvoidsetPageLength(Integer count) voidsetPageNumber(Integer pageNumber) 0-based page numbervoidsetStartId(String from) voidsetStartTime(Date startTime)
-
Constructor Details
-
TradeHistoryParamsAll
public TradeHistoryParamsAll()
-
-
Method Details
-
getPageLength
- Specified by:
getPageLengthin interfaceTradeHistoryParamPaging
-
setPageLength
- Specified by:
setPageLengthin interfaceTradeHistoryParamPaging
-
getStartId
- Specified by:
getStartIdin interfaceTradeHistoryParamsIdSpan
-
setStartId
- Specified by:
setStartIdin interfaceTradeHistoryParamsIdSpan
-
getEndId
- Specified by:
getEndIdin interfaceTradeHistoryParamsIdSpan
-
setEndId
- Specified by:
setEndIdin interfaceTradeHistoryParamsIdSpan
-
getEndTime
- Specified by:
getEndTimein interfaceTradeHistoryParamsTimeSpan
-
setEndTime
- Specified by:
setEndTimein interfaceTradeHistoryParamsTimeSpan
-
getStartTime
- Specified by:
getStartTimein interfaceTradeHistoryParamsTimeSpan
-
setStartTime
- Specified by:
setStartTimein interfaceTradeHistoryParamsTimeSpan
-
getOffset
- Specified by:
getOffsetin interfaceTradeHistoryParamOffset
-
setOffset
- Specified by:
setOffsetin interfaceTradeHistoryParamOffset
-
getPageNumber
Description copied from interface:TradeHistoryParamPaging0-based page number- Specified by:
getPageNumberin interfaceTradeHistoryParamPaging
-
setPageNumber
Description copied from interface:TradeHistoryParamPaging0-based page number- Specified by:
setPageNumberin interfaceTradeHistoryParamPaging
-
getCurrencyPair
- Specified by:
getCurrencyPairin interfaceCurrencyPairParam- Specified by:
getCurrencyPairin interfaceTradeHistoryParamCurrencyPair
-
setCurrencyPair
- Specified by:
setCurrencyPairin interfaceCurrencyPairParam- Specified by:
setCurrencyPairin interfaceTradeHistoryParamCurrencyPair
-
getCurrencyPairs
- Specified by:
getCurrencyPairsin interfaceTradeHistoryParamMultiCurrencyPair
-
setCurrencyPairs
- Specified by:
setCurrencyPairsin interfaceTradeHistoryParamMultiCurrencyPair
-
getInstrument
- Specified by:
getInstrumentin interfaceInstrumentParam
-
setInstrument
- Specified by:
setInstrumentin interfaceInstrumentParam
-
getInstruments
- Specified by:
getInstrumentsin interfaceTradeHistoryParamMultiInstrument
-
setInstruments
- Specified by:
setInstrumentsin interfaceTradeHistoryParamMultiInstrument
-
getLimit
- Specified by:
getLimitin interfaceTradeHistoryParamLimit
-
setLimit
- Specified by:
setLimitin interfaceTradeHistoryParamLimit
-