|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.commerce.zocalo.history.PriceHistoryRecord
net.commerce.zocalo.history.TradeRec
net.commerce.zocalo.history.BookTradeRec
public class BookTradeRec
BookTradeRec represents a single trade between a new order and an existing BookOrder. It may be combined with other BookTradeRecs and MarketTradeRecs into a single TransactionRec.
Field Summary |
---|
Fields inherited from class net.commerce.zocalo.history.TradeRec |
---|
taker |
Fields inherited from class net.commerce.zocalo.history.PriceHistoryRecord |
---|
BEST_ASK, BEST_BID, CLOSE, OPEN, QUANTITY |
Constructor Summary | |
---|---|
BookTradeRec(SecureUser taker,
double quantity,
Order order)
|
Method Summary | |
---|---|
void |
addTo(org.jfree.data.time.TimePeriodValuesCollection c)
|
Price |
getClose()
|
Price |
getOpen()
|
double |
getQuantity()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BookTradeRec(SecureUser taker, double quantity, Order order)
Method Detail |
---|
public void addTo(org.jfree.data.time.TimePeriodValuesCollection c)
addTo
in class PriceHistoryRecord
public double getQuantity()
getQuantity
in class PriceHistoryRecord
public Price getOpen()
getOpen
in class PriceHistoryRecord
public Price getClose()
getClose
in class PriceHistoryRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |