net.commerce.zocalo.user
Class Liquidator
java.lang.Object
net.commerce.zocalo.user.Liquidator
public class Liquidator
- extends java.lang.Object
A Liquidator is used in some experiment scenarios in which traders can borrow against their holdings.
If the trader's net worth is less than the loan, a liquidator will sequester the trader's assets and sell them
off for the best available price.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Liquidator
public Liquidator(Borrower b,
long mSecs,
BinaryClaim claim,
BinaryMarket market)
stopAllLiquidators
public static void stopAllLiquidators()
couponsRemaining
public Quantity couponsRemaining()
startLiquidating
public void startLiquidating(long initialDelay)
repaidDebtEvent
public static IndividualTimingEvent repaidDebtEvent(Borrower deadbeat)
unrepaidDebtEvent
public static IndividualTimingEvent unrepaidDebtEvent(Borrower deadbeat)