public void set_IsBuyForCombo(String value) {
   if (StringHelper.isNullOrEmpty(value)) {
     value = this._isBuyForCurrent ? Language.Buy : Language.Sell;
   }
   this._isBuyForCombo = value;
   this.setIsBuyForCurrent(value.equalsIgnoreCase(Language.Buy));
 }
  public void set_PriceInfo(DateTime timestamp, boolean priceIsQuote) {
    String info =
        StringHelper.format(
            "MakeOrderAccount.[set_PriceInfo] timestamp={0}, priceIsQuote={1}",
            new Object[] {timestamp, priceIsQuote});
    TradingConsole.traceSource.trace(TraceType.Information, info);

    this._priceTimestamp = timestamp;
    this._priceIsQuote = priceIsQuote;
  }
 public void set_LotString(String value) {
   if (StringHelper.isNullOrEmpty(value)) {
     if (this._isBuyForCurrent) {
       this._buyLot = BigDecimal.ZERO;
     } else {
       this._sellLot = BigDecimal.ZERO;
     }
   } else {
     if (this._isBuyForCurrent) {
       this._buyLot = AppToolkit.convertStringToBigDecimal(value);
     } else {
       this._sellLot = AppToolkit.convertStringToBigDecimal(value);
     }
   }
 }
 public void unbindOutstanding() {
   if (!StringHelper.isNullOrEmpty(this._outstandingKey)
       && this._bindingSourceForOutstanding != null) {
     RelationOrder.unbind(this._outstandingKey, this._bindingSourceForOutstanding);
   }
 }