//----------------------------------------------------------------
//Module Name: Exchange
//Purpose:
//CopyRight: Muchinfo
//History:
//----------------------------------------------------------------
//DateTime Author Description
//----------------------------------------------------------------
//2014-04-02 deng.yinping Create
//----------------------------------------------------------------
using Muchinfo.MTPClient.Data.Enums;
using System;
namespace Muchinfo.MTPClient.Data.Model
{
// 摘要:
// 交易所
public class Exchange
{
///
/// 收市方式
///
public ExchangeModeType CloseMode { get; set; }
///
/// 收市时间(绝对时间)
///
public DateTime CloseTime { get; set; }
///
/// 交易所代码
///
public string ExchangeCode { get; set; }
///
/// 交易所编码
///
public long ExchangeId { get; set; }
///
/// 交易所名称
///
public string ExchangeName { get; set; }
///
/// 交易所外码
///
public string ExchangeOtherCode { get; set; }
///
/// 下一个交易日
///
public DateTime NextDate { get; set; }
///
/// 开市方式
///
public ExchangeModeType OpenMode { get; set; }
///
/// 开市时间(绝对时间)
///
public DateTime OpenTime { get; set; }
///
/// 结算模式
///
public ReckonModeType ReckonMode { get; set; }
///
/// 结算时间(绝对时间)
///
public DateTime ReckonTime { get; set; }
///
/// 系统结算方式
///
public ExchangeModeType SysReckonMode { get; set; }
///
/// 交易日
///
public DateTime TradeDate { get; set; }
#region 资金与结算参数
///
/// 竞价市场结算方式
///
public ReckonMode BidReckonType { get; set; }
///
/// 竞价市场结算方式为单位时间段时的时间
///
public int BidReferenceTime { get; set; }
///
/// 当日平仓盈亏是否可出
///
public bool IsAllowClosePL { get; set; }
///
/// 当日浮动盈亏是否可出
///
public bool IsAllowFloatPL { get; set; }
///
/// 当日入金是否可出
///
public bool IsAllowInMoney { get; set; }
///
/// 未签约用户是否可以出金
///
public bool IsAllowNoSignOutMoney { get; set; }
///
/// 即期市场结算方式
///
public ReckonMode MarketReckonType { get; set; }
///
/// 即期市场结算方式为单位时间段时的时间
///
public int MarketReferenceTime { get; set; }
#endregion
#region 新加的IsMarketPrice字段
///
/// 是否支持市价;0不支持;1支持
///
public string IsMarketPrice { get; set; }
#endregion
}
}