using System;
using System.Collections.Generic;
using System.Text;
namespace Krs.Ats.IBNet
{
///
/// Underlying Component
///
[Serializable]
public class UnderlyingComponent
{
#region Private Properties
private int contractId;
private double delta;
private decimal price;
#endregion
#region Constructor
///
/// Underlying Component
///
public UnderlyingComponent()
{
contractId = 0;
delta = 0;
price = 0;
}
#endregion
#region Public Properties
///
/// Contract Id
///
public int ContractId
{
get
{
return contractId;
}
set
{
contractId = value;
}
}
///
/// Delta
///
public double Delta
{
get
{
return delta;
}
set
{
delta = value;
}
}
///
/// Price of underlying
///
public decimal Price
{
get
{
return price;
}
set
{
price = value;
}
}
#endregion
}
}