public Answer ToSendQutoPrice(string bestBuy,string bestSell)
        {
            Answer sendQuote = new Answer();
            sendQuote.ExchangeCode = this._ExchangeCode;
            sendQuote.CustomerId = this._CustomerId;
            sendQuote.CustomerCode = this.CustomerCode;
            sendQuote.InstrumentId = this._InstrumentId;
            sendQuote.InstrumentCode = this.InstrumentCode;
            sendQuote.Origin = this._Origin;
            sendQuote.Ask = bestBuy;
            sendQuote.Bid = bestSell;
            sendQuote.QuoteLot = this._Lot;
            sendQuote.AnswerLot = this._AnswerLot;
            sendQuote.SendTime = DateTime.Now;

            return sendQuote;
        }
        public Answer ToSendQutoPrice()
        {
            Answer sendQuote = new Answer();
            sendQuote.ExchangeCode = this._ExchangeCode;
            sendQuote.CustomerId = this.CustomerId;
            sendQuote.InstrumentId = this._InstrumentId;
            sendQuote.Origin = this._Origin;
            sendQuote.Ask = this._Ask;
            sendQuote.Bid = this._Bid;
            sendQuote.QuoteLot = this._QuoteLot;
            sendQuote.AnswerLot = this._AnswerLot;

            return sendQuote;
        }
 public void Answer(Answer answerMessage)
 {
     this._MessageRelayEngine.AddItem(answerMessage);
 }