| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.market.AuctioneerPolicy
edu.cuny.cat.market.quoting.QuotingPolicy
edu.cuny.cat.market.quoting.SingleSidedQuotingPolicy
public class SingleSidedQuotingPolicy
A quoting policy that sets the market quotes based on the boundary unmatched
 ask and bid in the auction's shout engine. It is named so because it uses
 only the competitive side to determine a market quote in contrast to the
 method in DoubleSidedQuotingPolicy.
| Field Summary | 
|---|
| Fields inherited from class edu.cuny.cat.market.AuctioneerPolicy | 
|---|
auctioneer | 
| Constructor Summary | |
|---|---|
SingleSidedQuotingPolicy()
 | 
|
| Method Summary | |
|---|---|
 double | 
askQuote(ShoutEngine shoutEngine)
gets the ask quote as the lowest unmatched ask.  | 
 double | 
bidQuote(ShoutEngine shoutEngine)
gets the bid quote as the highest unmatched bid.  | 
| Methods inherited from class edu.cuny.cat.market.quoting.QuotingPolicy | 
|---|
midQuote | 
| Methods inherited from class edu.cuny.cat.market.AuctioneerPolicy | 
|---|
eventOccurred, getAuctioneer, initialize, reset, setAuctioneer, setup, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SingleSidedQuotingPolicy()
| Method Detail | 
|---|
public double askQuote(ShoutEngine shoutEngine)
askQuote in class QuotingPolicyshoutEngine - the shout engine processing shouts
public double bidQuote(ShoutEngine shoutEngine)
bidQuote in class QuotingPolicyshoutEngine - the shout engine processing shouts
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||