Class BitsoOrderBook
- java.lang.Object
-
- org.knowm.xchange.bitso.dto.marketdata.BitsoOrderBook
-
public class BitsoOrderBook extends Object
- Author:
- Piotr Ładyżyński
-
-
Constructor Summary
Constructors Constructor Description BitsoOrderBook(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)LonggetTimestamp()StringtoString()
-
-
-
Constructor Detail
-
BitsoOrderBook
public BitsoOrderBook(Long timestamp, List<List<BigDecimal>> bids, List<List<BigDecimal>> asks)
Constructor- Parameters:
timestamp-bids-asks-
-
-
Method Detail
-
getTimestamp
public Long getTimestamp()
- Returns:
- Timestamp in Unix milliseconds
-
getBids
public List<List<BigDecimal>> getBids()
(price, amount)
-
getAsks
public List<List<BigDecimal>> getAsks()
(price, amount)
-
-