|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.jasa.market.rules.KPricingPolicy
net.sourceforge.jasa.market.rules.DiscriminatoryPricingPolicy
public class DiscriminatoryPricingPolicy
A pricing policy in which we set the transaction price in the interval between the matched prices as determined by the parameter k.
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jasa.market.rules.KPricingPolicy |
|---|
k |
| Constructor Summary | |
|---|---|
DiscriminatoryPricingPolicy()
|
|
DiscriminatoryPricingPolicy(double k)
|
|
| Method Summary | |
|---|---|
double |
determineClearingPrice(Order bid,
Order ask,
MarketQuote clearingQuote)
|
| Methods inherited from class net.sourceforge.jasa.market.rules.KPricingPolicy |
|---|
getK, kInterval, setK, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DiscriminatoryPricingPolicy()
public DiscriminatoryPricingPolicy(double k)
| Method Detail |
|---|
public double determineClearingPrice(Order bid,
Order ask,
MarketQuote clearingQuote)
determineClearingPrice in interface PricingPolicy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||