@Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if ((obj == null) || (obj.getClass() != this.getClass())) return false;
   CapitalMarketsOrder other = (CapitalMarketsOrder) obj;
   return new EqualsBuilder()
       .append(comments, other.comments)
       .append(currency, other.currency)
       .append(lastPrice, other.lastPrice)
       .append(lastQty, other.lastQty)
       .append(price, other.price)
       .append(quantity, other.quantity)
       .append(side, other.side)
       .append(status, other.status)
       .append(symbol, other.symbol)
       .append(transactTime, other.transactTime)
       .append(getObjectId(), other.getObjectId())
       .isEquals();
 }