using System; namespace Krs.Ats.IBNet { /// /// Tick String Event Arguments /// [Serializable()] public class TickStringEventArgs : EventArgs { private int tickerId; private TickType tickType; private string value; /// /// Free Constructor /// /// The ticker Id that was specified previously in the call to reqMktData(). /// Specifies the type of price. /// The value of the specified field. public TickStringEventArgs(int tickerId, TickType tickType, string value) { this.tickerId = tickerId; this.value = value; this.tickType = tickType; } /// /// Uninitialized Constructor for Serialization /// public TickStringEventArgs() { } /// /// The ticker Id that was specified previously in the call to reqMktData(). /// public int TickerId { get { return tickerId; } set { tickerId = value; } } /// /// Specifies the type of price. /// /// public TickType TickType { get { return tickType; } set { tickType = value; } } /// /// The value of the specified field. /// public string Value { get { return value; } set { Value = value; } } } }