Class CryptonitOrderBook
- java.lang.Object
-
- org.knowm.xchange.cryptonit2.dto.marketdata.CryptonitOrderBook
-
public class CryptonitOrderBook extends Object
- Author:
- Matija Mazi
-
-
Constructor Summary
Constructors Constructor Description CryptonitOrderBook(Long timestamp, List<List<BigDecimal>> bids, List<List<BigDecimal>> asks)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<BigDecimal>>getAsks()(price, amount)List<List<BigDecimal>>getBids()(price, amount)DategetTimestamp()StringtoString()
-
-
-
Constructor Detail
-
CryptonitOrderBook
public CryptonitOrderBook(Long timestamp, List<List<BigDecimal>> bids, List<List<BigDecimal>> asks)
Constructor- Parameters:
timestamp-bids-asks-
-
-
Method Detail
-
getTimestamp
public Date getTimestamp()
- Returns:
- Timestamp in Unix milliseconds
-
getBids
public List<List<BigDecimal>> getBids()
(price, amount)
-
getAsks
public List<List<BigDecimal>> getAsks()
(price, amount)
-
-