using System;
namespace Krs.Ats.IBNet.Contracts
{
///
/// Forex Currency Contract
/// for use on the IdealPro or Ideal exchanges
///
[Serializable()]
public class Forex : Contract
{
///
/// Creates a Forex Contract for use on the IdealPro or Ideal exchanges
///
/// Foreign Currency to Exchange
/// Base Currency
/// IDEALPRO or IDEAL
public Forex(string currency, string baseCurrency, string exchange)
: base(currency, exchange, SecurityType.Cash, baseCurrency)
{
}
///
/// Creates a Forex Contract for use on the IdealPro Exchange
///
/// Foreign Currency to Exchange
/// Base Currency
public Forex(string currency, string baseCurrency)
: base(currency, "IDEALPRO", SecurityType.Cash, baseCurrency)
{
}
}
}