Exemplo n.º 1
0
        /*
         * public TTInstrument(string descriptor)
         * {
         *  InstrumentDescriptor = descriptor;
         * }*/

        /// <summary>
        /// Construct a TTInstrument object by passing a TTAPI Instrument object
        /// </summary>
        /// <param name="instrument">Same Instrument used by the underlying TTAPI</param>
        public EZInstrument(ezInstrument instrument)
        {
            //TTAPI_Instrument = instrument;
            Key = instrument.Key;
            InstrumentDescriptor = null;
        }
 /// <summary>
 /// Construct a TTSpread object from a TTAPI Instrument object
 /// </summary>
 /// <param name="instrument">TTAPI instrument which represents this spread instrument</param>
 public EZSpreadInstrument(ezInstrument instrument) : base(instrument)
 {
     ServerName = null;
 }