using System; namespace Krs.Ats.IBNet { /// /// Tick Generic Event Arguments /// [Serializable()] public class TickGenericEventArgs : EventArgs { private int tickerId; private TickType tickType; private double value; /// /// Full 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 TickGenericEventArgs(int tickerId, TickType tickType, double value) { this.tickerId = tickerId; this.value = value; this.tickType = tickType; } /// /// Uninitialized Constructor for Serialization /// public TickGenericEventArgs() { } /// /// 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 double Value { get { return value; } set { Value = value; } } } }