public override string ToString()
        {
            StringBuilder sb = new StringBuilder(base.ToString());

            sb.Append(" - OrderClass:").Append(OrderClass);
            sb.Append("; AccountId:").Append(AccountId);
            sb.Append("; SubaccountId:").Append(SubaccountId);
            sb.Append("; ClientRefId:").Append(ClientRefId);
            sb.Append("; OrderId:").Append(OrderId);
            sb.Append("; OrderStatus:").Append(OrderStatus);
            sb.Append("; Duration:").Append(Duration);
            sb.Append("; UnderlyingSymbol:").Append(UnderlyingSymbol);
            sb.Append("; Date:").Append(Date);
            sb.Append("; Quantity:").Append(Quantity);
            sb.Append("; FillQuantity:").Append(FillQuantity);
            sb.Append("; OrderType:").Append(OrderType);
            sb.Append("; Price:").Append(Price);
            sb.Append("; Stop:").Append(Stop);
            sb.Append("; AllOrNone:").Append(AllOrNone);
            sb.Append("; DebitCredit:").Append(DebitCredit);
            sb.Append("; Description:").Append(Description);
            sb.Append("; AverageFillPrice:").Append(AverageFillPrice);
            sb.Append("; BypassWarnings:").Append(BypassWarnings);
            sb.Append("; Legs:").Append(Legs != null ? Legs.ToStringExtended() : null);
            sb.Append("; OrderEvents:").Append(OrderEvents != null ? OrderEvents.ToStringExtended() : null);
            return(sb.ToString());
        }