uk.ac.liv.auction.core
Class UniformPricingPolicy
java.lang.Object
uk.ac.liv.auction.core.KPricingPolicy
uk.ac.liv.auction.core.UniformPricingPolicy
- All Implemented Interfaces:
- Parameterizable, PricingPolicy, java.io.Serializable
- public class UniformPricingPolicy
- extends KPricingPolicy
- implements java.io.Serializable
A pricing policy in which we set the transaction price in the
interval between the ask quote and the bid quote as determined by
the parameter k. The pricing policy is uniform in the sense that individual
bid and ask prices are ignored, thus all agents performing transactions
in the clearing operation will pay the same price.
- Version:
- $Revision: 1.7 $
- Author:
- Steve Phelps
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UniformPricingPolicy
public UniformPricingPolicy()
UniformPricingPolicy
public UniformPricingPolicy(double k)
determineClearingPrice
public double determineClearingPrice(Shout bid,
Shout ask,
MarketQuote clearingQuote)
- Specified by:
determineClearingPrice in interface PricingPolicy