TradeDateRules.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. //----------------------------------------------------------------
  6. //Module Name: $safeprojectname$
  7. //Purpose:
  8. //CopyRight: Muchinfo
  9. //History:
  10. //----------------------------------------------------------------
  11. //DateTime 2015/7/23 11:12:37
  12. //Author ouyang.hongbin
  13. //Description Create
  14. //----------------------------------------------------------------
  15. namespace Muchinfo.MTPClient.Data.Quote
  16. {
  17. public class TradeDateRules
  18. {
  19. /// <summary>
  20. /// 交易所代码
  21. /// </summary>
  22. public string ExchangeCode { get; set; }
  23. /// <summary>
  24. /// 商品组
  25. /// </summary>
  26. public int Sort { get; set; }
  27. /// <summary>
  28. /// 开收盘时间段
  29. /// </summary>
  30. public List<OpenCloseDate> OpenCloseTimes { get; set; }
  31. /// <summary>
  32. /// 交易日
  33. /// </summary>
  34. public DateTime TradeDate { get; set; }
  35. /// <summary>
  36. /// 商品Id
  37. /// </summary>
  38. public uint GoodsId { get; set; }
  39. }
  40. public class OpenCloseDate
  41. {
  42. /// <summary>
  43. /// 交易日
  44. /// </summary>
  45. public DateTime TradeDay { get; set; }
  46. /// <summary>
  47. /// 运行阶段
  48. /// </summary>
  49. public eRunStep RunStep { get; set; }
  50. /// <summary>
  51. /// 开盘时间
  52. /// </summary>
  53. public DateTime OpenDate { get; set; }
  54. /// <summary>
  55. /// 收盘时间
  56. /// </summary>
  57. public DateTime CloseDate { get; set; }
  58. }
  59. }