GoodsParameters.cs 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. using Muchinfo.MTPClient.Data.Enums;
  2. //----------------------------------------------------------------
  3. //Module Name: GoodsParameters
  4. //Purpose:
  5. //CopyRight: Muchinfo
  6. //History:
  7. //----------------------------------------------------------------
  8. //DateTime Author Description
  9. //----------------------------------------------------------------
  10. //2014-04-02 deng.yinping Create
  11. //----------------------------------------------------------------
  12. using System;
  13. namespace Muchinfo.MTPClient.Data.Model
  14. {
  15. /// <summary>
  16. /// 商品参数类
  17. /// </summary>
  18. public class GoodsParameters
  19. {
  20. /// <summary>
  21. /// 卖价点差
  22. /// </summary>
  23. public decimal SellptSub { get; set; }
  24. /// <summary>
  25. /// 买点差
  26. /// </summary>
  27. public decimal BuyptSub { get; set; }
  28. /// <summary>
  29. /// 交易所id
  30. /// </summary>
  31. public long ExchAreaID { get; set; }
  32. /// <summary>
  33. /// 商品代码
  34. /// </summary>
  35. public string GoodsCode { get; set; }
  36. /// <summary>
  37. /// 商品名称
  38. /// </summary>
  39. public string GoodsName { get; set; }
  40. /// <summary>
  41. /// 商品状态
  42. /// </summary>
  43. public eGoodsStatus GoodsStatus { get; set; }
  44. /// <summary>
  45. /// 市场类型
  46. /// </summary>
  47. public long MarketTypeID { get; set; }
  48. /// <summary>
  49. /// 合约单位
  50. /// </summary>
  51. public decimal AgreeUnit { get; set; }
  52. /// <summary>
  53. /// 合约名称
  54. /// </summary>
  55. public string AgreeName
  56. {
  57. get;
  58. set;
  59. }
  60. /// <summary>
  61. /// 转换后行情小数位数
  62. /// </summary>
  63. public int HqExchFigures { get; set; }
  64. /// <summary>
  65. /// 转换后行情最小变动单位
  66. /// </summary>
  67. public Decimal HqExchMinUnit { get; set; }
  68. /// <summary>
  69. /// 合约单位名称
  70. /// </summary>
  71. //public AgreeUnitType AgreeUnitType { get; set; }
  72. public int AgreeUnitType { get; set; }
  73. /// <summary>
  74. /// 商品运行状态
  75. /// </summary>
  76. public eRunStatus RunStatus { get; set; }
  77. /// <summary>
  78. /// 结算汇率
  79. /// </summary>
  80. public decimal ReckonRate { get; set; }
  81. #region 行情数据
  82. /// <summary>
  83. /// 获取或设置上市日期
  84. /// </summary>
  85. public DateTime ListingDate { get; set; }
  86. /// <summary>
  87. /// 获取或设置商品类型
  88. /// </summary>
  89. public long SortId { get; set; }
  90. #endregion
  91. /// <summary>
  92. /// 上市时间
  93. /// </summary>
  94. public DateTime ListedTime { get; set; }
  95. /// <summary>
  96. /// 基准价(发行价)
  97. /// </summary>
  98. public decimal IssuePrice { get; set; }
  99. /// <summary>
  100. /// 交易所行情编码
  101. /// </summary>
  102. public string ExchHqCode { get; set; }
  103. /// <summary>
  104. /// 商品行情编码
  105. /// </summary>
  106. public string GoodsHqCode { get; set; }
  107. /// <summary>
  108. /// 资金模式
  109. /// </summary>
  110. public eMoneyMode MoneyMode { get; set; }
  111. /// <summary>
  112. /// 商品ID
  113. /// </summary>
  114. public long GoodsId { get; set; }
  115. /// <summary>
  116. /// 行情变动最小单位
  117. /// </summary>
  118. public decimal hqExchMinUnit { get; set; }
  119. /// <summary>
  120. /// 交易模式,原(市场类型)
  121. /// </summary>
  122. public eTradeMode TradeMode { get; set; }
  123. /// <summary>
  124. /// 运行
  125. /// </summary>
  126. public eRunStep RunSteps { get; set; }
  127. }
  128. }