using System;
namespace Krs.Ats.IBNet
{
///
/// Tick Size Event Arguments
///
[Serializable()]
public class TickSizeEventArgs : EventArgs
{
private int size;
private int tickerId;
private TickType tickType;
///
/// Full Constructor
///
/// The ticker Id that was specified previously in the call to reqMktData().
/// Specifies the type of price.
/// Specifies the size for the specified field.
public TickSizeEventArgs(int tickerId, TickType tickType, int size)
{
this.tickerId = tickerId;
this.size = size;
this.tickType = tickType;
}
///
/// Uninitialized Constructor for Serialization
///
public TickSizeEventArgs()
{
}
///
/// 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; }
}
///
/// Specifies the size for the specified field.
///
public int Size
{
get { return size; }
set { size = value; }
}
}
}