net.sourceforge.jasa.market.rules
Interface PricingPolicy
- All Known Implementing Classes:
- DiscriminatoryPricingPolicy, KPricingPolicy, NPricingPolicy, NullPricingPolicy, TimePriorityPricingPolicy, UniformPricingPolicy
public interface PricingPolicy
Classes implementing this interface define pricing policies for auctioneers.
A pricing policy determines the price of an individual transaction in the
market as a function of the individual bid and ask prices and the current
market quote.
-
-
determineClearingPrice
double determineClearingPrice(Order bid,
Order ask,
MarketQuote clearingQuote)