/**
  * Determine if sale might be a wash sale
  *
  * @param obj Lot [instance of Lot]
  * @return bool [true if transaction is a "wash sale"]
  */
 public function washSale(Lot $lot)
 {
     if (!$lot->getWasClosed()) {
         return false;
     }
     if ($lot->interval() > 31) {
         return false;
     }
     if ($lot->isLoss()) {
         return false;
     }
     return true;
 }