net.sourceforge.jasa.market.rules
Class QuoteBeatingAcceptingPolicy
java.lang.Object
net.sourceforge.jasa.market.rules.OrderAcceptancePolicy
net.sourceforge.jasa.market.rules.QuoteBeatingAcceptingPolicy
- All Implemented Interfaces:
- MarketEventListener
- Direct Known Subclasses:
- EquilibriumBeatingAcceptingPolicy, ShoutTypeBasedAcceptingPolicy
public class QuoteBeatingAcceptingPolicy
- extends OrderAcceptancePolicy
implements the NYSE rule under which a shout must improve the market quote to
be acceptable.
-
-
Method Summary |
void |
check(Order 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(Order shout)
throws IllegalOrderException
- implements the NYSE shout improvement rule.
- Specified by:
check
in class OrderAcceptancePolicy
- Throws:
IllegalOrderException