edu.cuny.cat.market.accepting
Class QuoteBeatingAcceptingPolicy
java.lang.Object
edu.cuny.cat.market.AuctioneerPolicy
edu.cuny.cat.market.accepting.ShoutAcceptingPolicy
edu.cuny.cat.market.accepting.OnlyNewShoutDecidingAcceptingPolicy
edu.cuny.cat.market.accepting.QuoteBeatingAcceptingPolicy
- All Implemented Interfaces:
- AuctionEventListener, edu.cuny.config.param.Parameterizable, edu.cuny.obj.Resetable
- Direct Known Subclasses:
- EquilibriumBeatingAcceptingPolicy, ShoutTypeBasedAcceptingPolicy, SlidingMatchedAverageBeatingAcceptingPolicy
public class QuoteBeatingAcceptingPolicy
- extends OnlyNewShoutDecidingAcceptingPolicy
implements the NYSE rule under which a shout must improve the market quote to
be placeable.
- Version:
- $Revision: 1.13 $
- Author:
- Jinzhong Niu
Method Summary |
void |
check(Shout shout)
implements the NYSE shout improvement rule. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DISCLAIMER
protected static final java.lang.String DISCLAIMER
- See Also:
- Constant Field Values
askException
protected static NotAnImprovementOverQuoteException askException
- Reusable exceptions for performance
bidException
protected static NotAnImprovementOverQuoteException bidException
QuoteBeatingAcceptingPolicy
public QuoteBeatingAcceptingPolicy()
check
public void check(Shout shout)
throws IllegalShoutException
- implements the NYSE shout improvement rule.
- Specified by:
check
in class OnlyNewShoutDecidingAcceptingPolicy
- Parameters:
shout
- the shout being checked.
- Throws:
IllegalShoutException