edu.cuny.cat.market.pricing
Class PricingPolicy

java.lang.Object
  extended by edu.cuny.cat.market.AuctioneerPolicy
      extended by edu.cuny.cat.market.pricing.PricingPolicy
All Implemented Interfaces:
AuctionEventListener, edu.cuny.config.param.Parameterizable, edu.cuny.obj.Resetable
Direct Known Subclasses:
KPricingPolicy, NPricingPolicy

public abstract class PricingPolicy
extends AuctioneerPolicy

Defines how a transaction price is determined when a bid an an ask are matched.

Version:
$Revision: 1.9 $
Author:
Jinzhong Niu

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

PricingPolicy

public PricingPolicy()
Method Detail

determineClearingPrice

public abstract double determineClearingPrice(Shout bid,
                                              Shout ask,
                                              MarketQuote clearingQuote)