|
|||||||||
| 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.PriceChangeRec
public class PriceChangeRec
PriceChangeRec represents a price change not associated with a trade as a result of the addition or withdrawal of a book order.
| Field Summary |
|---|
| Fields inherited from class net.commerce.zocalo.history.PriceHistoryRecord |
|---|
BEST_ASK, BEST_BID, CLOSE, OPEN, QUANTITY |
| Constructor Summary | |
|---|---|
PriceChangeRec(BinaryClaim claim,
double bidAfter,
double askAfter,
java.util.Date date)
|
|
PriceChangeRec(Position position,
double bidAfter,
double askAfter,
java.util.Date date)
|
|
| Method Summary | |
|---|---|
void |
addTo(org.jfree.data.time.TimePeriodValuesCollection c)
|
double |
getQuantity()
|
static PriceChangeRec |
makeAskPriceChange(BinaryClaim claim,
double askAfter,
java.util.Date date)
|
static PriceChangeRec |
makeAskPriceChange(Position position,
double askAfter,
java.util.Date date)
|
static PriceChangeRec |
makeBidPriceChange(BinaryClaim claim,
double bidAfter,
java.util.Date date)
|
static PriceChangeRec |
makeBidPriceChange(Position position,
double bidAfter,
java.util.Date date)
|
| Methods inherited from class net.commerce.zocalo.history.PriceHistoryRecord |
|---|
getClose, getOpen |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PriceChangeRec(Position position,
double bidAfter,
double askAfter,
java.util.Date date)
public PriceChangeRec(BinaryClaim claim,
double bidAfter,
double askAfter,
java.util.Date date)
| Method Detail |
|---|
public static PriceChangeRec makeBidPriceChange(Position position,
double bidAfter,
java.util.Date date)
public static PriceChangeRec makeBidPriceChange(BinaryClaim claim,
double bidAfter,
java.util.Date date)
public static PriceChangeRec makeAskPriceChange(Position position,
double askAfter,
java.util.Date date)
public static PriceChangeRec makeAskPriceChange(BinaryClaim claim,
double askAfter,
java.util.Date date)
public double getQuantity()
getQuantity in class PriceHistoryRecordpublic void addTo(org.jfree.data.time.TimePeriodValuesCollection c)
addTo in class PriceHistoryRecord
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||