| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.market.AuctioneerPolicy
edu.cuny.cat.market.pricing.PricingPolicy
public abstract class PricingPolicy
Defines how a transaction price is determined when a bid an an ask are matched.
| Field Summary | 
|---|
| Fields inherited from class edu.cuny.cat.market.AuctioneerPolicy | 
|---|
auctioneer | 
| Constructor Summary | |
|---|---|
PricingPolicy()
 | 
|
| Method Summary | |
|---|---|
abstract  double | 
determineClearingPrice(Shout bid,
                       Shout ask,
                       MarketQuote clearingQuote)
 | 
| Methods inherited from class edu.cuny.cat.market.AuctioneerPolicy | 
|---|
eventOccurred, getAuctioneer, initialize, reset, setAuctioneer, setup, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public PricingPolicy()
| Method Detail | 
|---|
public abstract double determineClearingPrice(Shout bid,
                                              Shout ask,
                                              MarketQuote clearingQuote)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||