net.commerce.zocalo.history
Class PriceChangeRec
java.lang.Object
net.commerce.zocalo.history.PriceHistoryRecord
net.commerce.zocalo.history.PriceChangeRec
public class PriceChangeRec
- extends PriceHistoryRecord
PriceChangeRec represents a price change not associated with a trade as a result of the
addition or withdrawal of a book order.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PriceChangeRec
public PriceChangeRec(Position position,
double bidAfter,
double askAfter,
java.util.Date date)
PriceChangeRec
public PriceChangeRec(BinaryClaim claim,
double bidAfter,
double askAfter,
java.util.Date date)
makeBidPriceChange
public static PriceChangeRec makeBidPriceChange(Position position,
double bidAfter,
java.util.Date date)
makeBidPriceChange
public static PriceChangeRec makeBidPriceChange(BinaryClaim claim,
double bidAfter,
java.util.Date date)
makeAskPriceChange
public static PriceChangeRec makeAskPriceChange(Position position,
double askAfter,
java.util.Date date)
makeAskPriceChange
public static PriceChangeRec makeAskPriceChange(BinaryClaim claim,
double askAfter,
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