Package org.knowm.xchange.dto.marketdata
Class Trades
java.lang.Object
org.knowm.xchange.dto.marketdata.Trades
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UserTrades
DTO representing a collection of trades
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic class -
Constructor Summary
ConstructorsConstructorDescriptionConstructor Default sort is SortByIDTrades(List<Trade> trades, long lastID, Trades.TradeSortType tradeSortType) ConstructorTrades(List<Trade> trades, long lastID, Trades.TradeSortType tradeSortType, String nextPageCursor) ConstructorTrades(List<Trade> trades, Trades.TradeSortType tradeSortType) Constructor -
Method Summary
-
Constructor Details
-
Trades
Constructor Default sort is SortByID- Parameters:
trades- List of trades
-
Trades
Constructor- Parameters:
trades- List of tradestradeSortType- Trade sort type
-
Trades
Constructor- Parameters:
trades- A list of tradeslastID- Last Unique IDtradeSortType- Trade sort type
-
Trades
public Trades(List<Trade> trades, long lastID, Trades.TradeSortType tradeSortType, String nextPageCursor) Constructor- Parameters:
trades- A list of tradeslastID- Last Unique IDtradeSortType- Trade sort typenextPageCursor- a marker that lets you receive the next page of trades using TradeHistoryParamNextPageCursor
-
-
Method Details