public static InstrumentInterpreter ToLegInstrument(FixMessage msg, FixTag[] leg)
        {
            InstrumentInterpreterOPT opt = new InstrumentInterpreterOPT();

            opt.InitLegReading();
            opt.currency = msg[opt.tCurrency].Value;
            opt.Read(leg);
            opt.orderType = OrderTypeInterpreter.FromMessage(msg);
            return(opt);
        }
        protected override void ReadMessage(FixMessage msg)
        {
            this.symbol = msg[55].Value;
            this.code   = msg[48].Value;
            if (msg[22] != null)
            {
                this.codeType = GetSecuritySourceId(msg[22].Value[0]);
            }
            else
            {
                this.codeType = SecuritySourceId.Unknown0;
            }

            this.orderType = OrderTypeInterpreter.FromMessage(msg);
            this.qty       = Int32.Parse(msg[38].Value);
        }
 protected override void ReadMessage(FixMessage msg)
 {
     this.orderType = OrderTypeInterpreter.FromMessage(msg);
     Read(msg.Tags);
 }