|
|||||||||
| 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
net.sourceforge.jasa.market.rules.TimePriorityPricingPolicy
public class TimePriorityPricingPolicy
Set the transaction price at the price of the order which arrived at the market first.
![]() |
![]() |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jasa.market.rules.KPricingPolicy |
|---|
k |
| Constructor Summary | |
|---|---|
TimePriorityPricingPolicy()
|
|
TimePriorityPricingPolicy(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 TimePriorityPricingPolicy()
public TimePriorityPricingPolicy(double k)
| Method Detail |
|---|
public double determineClearingPrice(Order bid,
Order ask,
MarketQuote clearingQuote)
determineClearingPrice in interface PricingPolicydetermineClearingPrice in class DiscriminatoryPricingPolicy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||