net.commerce.zocalo.history
Class MarketTradeRec
java.lang.Object
net.commerce.zocalo.history.PriceHistoryRecord
net.commerce.zocalo.history.TradeRec
net.commerce.zocalo.history.MarketTradeRec
public class MarketTradeRec
- extends TradeRec
MarketTradeRec represents a single step in a trade between a new order and
a MarketMaker. It may be combined with BookTradeRecs and MarketTradeRecs
into a single TransactionRec.
Fields inherited from class net.commerce.zocalo.history.TradeRec |
taker |
Method Summary |
void |
addTo(org.jfree.data.time.TimePeriodValuesCollection c)
|
double |
getQuantity()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarketTradeRec
public MarketTradeRec(SecureUser taker,
Position position,
double open,
double close,
double quantity,
java.util.Date date)
getQuantity
public double getQuantity()
- Specified by:
getQuantity
in class PriceHistoryRecord
addTo
public void addTo(org.jfree.data.time.TimePeriodValuesCollection c)
- Specified by:
addTo
in class PriceHistoryRecord