public final class Trade
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Trade.Event |
Modifier and Type | Method and Description |
---|---|
static boolean |
addListener(Listener<Trade> listener,
Trade.Event eventType) |
static DbIterator<Trade> |
getAccountAssetTrades(long accountId,
long assetId,
int from,
int to) |
static DbIterator<Trade> |
getAccountTrades(long accountId,
int from,
int to) |
static DbIterator<Trade> |
getAllTrades(int from,
int to) |
int |
getAskOrderHeight() |
long |
getAskOrderId() |
static DbIterator<Trade> |
getAskOrderTrades(long askOrderId,
int from,
int to) |
long |
getAssetId() |
static DbIterator<Trade> |
getAssetTrades(long assetId,
int from,
int to) |
int |
getBidOrderHeight() |
long |
getBidOrderId() |
static DbIterator<Trade> |
getBidOrderTrades(long bidOrderId,
int from,
int to) |
long |
getBlockId() |
long |
getBuyerId() |
static int |
getCount() |
int |
getHeight() |
static java.util.List<Trade> |
getLastTrades(long[] assetIds) |
long |
getPriceNQT() |
long |
getQuantityQNT() |
long |
getSellerId() |
int |
getTimestamp() |
static Trade |
getTrade(long askOrderId,
long bidOrderId) |
static int |
getTradeCount(long assetId) |
boolean |
isBuy() |
static boolean |
removeListener(Listener<Trade> listener,
Trade.Event eventType) |
java.lang.String |
toString() |
public static DbIterator<Trade> getAllTrades(int from, int to)
public static int getCount()
public static boolean addListener(Listener<Trade> listener, Trade.Event eventType)
public static boolean removeListener(Listener<Trade> listener, Trade.Event eventType)
public static Trade getTrade(long askOrderId, long bidOrderId)
public static DbIterator<Trade> getAssetTrades(long assetId, int from, int to)
public static java.util.List<Trade> getLastTrades(long[] assetIds)
public static DbIterator<Trade> getAccountTrades(long accountId, int from, int to)
public static DbIterator<Trade> getAccountAssetTrades(long accountId, long assetId, int from, int to)
public static DbIterator<Trade> getAskOrderTrades(long askOrderId, int from, int to)
public static DbIterator<Trade> getBidOrderTrades(long bidOrderId, int from, int to)
public static int getTradeCount(long assetId)
public long getBlockId()
public long getAskOrderId()
public long getBidOrderId()
public int getAskOrderHeight()
public int getBidOrderHeight()
public long getSellerId()
public long getBuyerId()
public long getQuantityQNT()
public long getPriceNQT()
public long getAssetId()
public int getTimestamp()
public int getHeight()
public boolean isBuy()
public java.lang.String toString()
toString
in class java.lang.Object