net.commerce.zocalo.history
Class PriceHistoryRecord
java.lang.Object
net.commerce.zocalo.history.PriceHistoryRecord
- Direct Known Subclasses:
- PriceChangeRec, TradeRec, TransactionRec
public abstract class PriceHistoryRecord
- extends java.lang.Object
PriceHistoryRecord is a start on a framework for tracking trading history.
When complete, it will ensure that multiple trades that happen as a result
of a single new order are recognized as a unit, which will make representation
of price changes more correct.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
CLOSE
public static final int CLOSE
- See Also:
- Constant Field Values
BEST_BID
public static final int BEST_BID
- See Also:
- Constant Field Values
BEST_ASK
public static final int BEST_ASK
- See Also:
- Constant Field Values
QUANTITY
public static final int QUANTITY
- See Also:
- Constant Field Values
PriceHistoryRecord
public PriceHistoryRecord()
getQuantity
protected abstract double getQuantity()
addTo
public abstract void addTo(org.jfree.data.time.TimePeriodValuesCollection c)
getOpen
public Price getOpen()
getClose
public Price getClose()