|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jasa.market.auctioneer.AbstractAuctioneer
net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer
net.sourceforge.jasa.market.auctioneer.ClearingHouseAuctioneer
public class ClearingHouseAuctioneer
An auctioneer for a clearing house market. The clearing operation is performed at the end of every round.
![]() |
![]() |
Field Summary | |
---|---|
protected ZeroFundsAccount |
account
|
Fields inherited from class net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer |
---|
acceptedShouts, lastAsk, lastBid, lastShout |
Fields inherited from class net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer |
---|
clearingPolicy, clearingQuote, currentQuote, market, orderBook, pricingPolicy |
Constructor Summary | |
---|---|
ClearingHouseAuctioneer(Market auction)
|
Method Summary | |
---|---|
void |
generateQuote()
|
Account |
getAccount()
Get the account which holds any budget surplus or deficit for the auctioneer. |
void |
onRoundClosed()
|
Methods inherited from class net.sourceforge.jasa.market.auctioneer.TransparentAuctioneer |
---|
getLastAsk, getLastBid, getLastShout, newShoutInternal, orderFilled, recordMatch, reset, shoutsVisible, transactionsOccurred |
Methods inherited from class net.sourceforge.jasa.market.auctioneer.AbstractAuctioneer |
---|
askIterator, askQuote, bidIterator, bidQuote, checkShoutValidity, clear, clear, clear, determineClearingPrice, eventOccurred, getClearingPolicy, getClearingQuote, getMarket, getOrderBook, getPricingPolicy, getQuote, getUnmatchedAsks, getUnmatchedBids, initialise, newOrder, onEndOfDay, printState, protoClone, removeOrder, setClearingPolicy, setClearingQuote, setMarket, setOrderBook, setPricingPolicy, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ZeroFundsAccount account
Constructor Detail |
---|
public ClearingHouseAuctioneer(Market auction)
Method Detail |
---|
public void generateQuote()
generateQuote
in class AbstractAuctioneer
public void onRoundClosed()
onRoundClosed
in class TransparentAuctioneer
public Account getAccount()
Auctioneer
getAccount
in interface Auctioneer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |