ReqHisQuote.cs 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Muchinfo.MTPClient.Data.Enums
  6. {
  7. public enum ReqHisQuote
  8. {
  9. /// <summary>
  10. /// 请求多行数据 图表历史 分笔 分价
  11. /// </summary>
  12. ReqHisQuoteMultiLine = 0,
  13. /// <summary>
  14. /// 请求历史行情Tick 请求大利市
  15. /// </summary>
  16. ReqHisQuoteTik = 1,
  17. /// <summary>
  18. /// 发送实时行情通知
  19. /// </summary>
  20. ReqHisQuoteNotify = 2,
  21. /// <summary>
  22. /// 请求排序数据
  23. /// </summary>
  24. ReqHisQuoteSort = 3,
  25. /// <summary>
  26. /// 请求行情交易日
  27. /// </summary>
  28. ReqQuoteExchangeDate = 4,
  29. /// <summary>
  30. /// 请求多列排序数据
  31. /// </summary>
  32. ReqHisQuoteSortMultiCol = 5,
  33. /// <summary>
  34. /// 请求开收盘时间
  35. /// </summary>
  36. ReqHisOpenClose = 6,
  37. /// <summary>
  38. /// 请求条件预警扩展信息
  39. /// </summary>
  40. RequestConditionVigilanceExtendInfom = 7,
  41. }
  42. #region "HistoryResponseType"
  43. /// <summary>
  44. /// 历史请求回应类型
  45. /// </summary>
  46. public enum QuoteHistoryRequestType
  47. {
  48. /// <summary>
  49. /// 没有
  50. /// </summary>
  51. //[Description("没有")]
  52. None = '\0',
  53. /// <summary>
  54. /// 默认(实际上是沉默 因为没说)
  55. /// </summary>
  56. //[Description("默认")]
  57. Default = '0',
  58. /// <summary>
  59. /// 1分钟数据
  60. /// </summary>
  61. //[Description("1分钟数据")]
  62. Minute = '1',
  63. /// <summary>
  64. /// 5分钟数据
  65. /// </summary>
  66. //[Description("5分钟数据")]
  67. Minute5 = '2',
  68. /// <summary>
  69. /// 30分钟数据
  70. /// </summary>
  71. //[Description("30分钟数据")]
  72. Minute30 = '3',
  73. /// <summary>
  74. /// 日线数据
  75. /// </summary>
  76. //[Description("日线数据")]
  77. Day = '4',
  78. /// <summary>
  79. /// 通知实时行情
  80. /// </summary>
  81. //[Description("最新一口数据")]
  82. NotifyQuote = '6',
  83. /// <summary>
  84. /// 按商品组请求排序数据
  85. /// </summary>
  86. //[Description("按商品组请求排序数据")]
  87. GoodsColumnSort = '7',
  88. /// <summary>
  89. /// 按商品代码集合请求排序数据 多列
  90. /// </summary>
  91. //[Description("按商品请求排序")]
  92. GoodsColumnSort2 = '8',
  93. /// <summary>
  94. /// 请求分价数据
  95. /// </summary>
  96. //[Description("请求分价数据")]
  97. FJData = 'a',
  98. ///<summary>
  99. ///请求更新交易日
  100. ///</summary>
  101. //[Description("请求更新交易日")]
  102. ChangeDate = 'b',
  103. /// <summary>
  104. /// 请求条件预警扩展信息
  105. /// </summary>
  106. ConditionVigilanceExtendInfom = 'x',
  107. /// <summary>
  108. /// 周线数据
  109. /// </summary>
  110. Week = 'j',//1140; //周线
  111. /// <summary>
  112. /// 月线
  113. /// </summary>
  114. Month = 'k',//1150; //月线
  115. /// <summary>
  116. /// 请求分笔数据 已被w替代
  117. /// </summary>
  118. //[Description("请求分笔数据")]
  119. FBData = 'n',
  120. ///// <summary>
  121. ///// 请求大利市数据 已被t替代
  122. ///// </summary>
  123. // [Description("请求大利市数据")]
  124. // Dalishi = 'o',
  125. ///// <summary>
  126. ///// 按商品组请求排序数据
  127. ///// </summary>
  128. //[Description("按商品代码集合请求排序数据 多列")]
  129. //GoodsColumnSortMultiCol = 'q',
  130. ///// <summary>
  131. ///// 按商品代码集合请求排序数据 多列
  132. ///// </summary>
  133. //[Description("按商品代码集合请求排序数据 多列")]
  134. //GoodsColumnSort2MultiCol = 'r',
  135. /// <summary>
  136. /// 最新一口Tik报价 S 已被v替代
  137. /// </summary>
  138. //[Description("股票最新一口Tik数据 S")]
  139. QuoteTik = 's',
  140. /// <summary>
  141. /// 请求大利市买卖经纪人和经纪家数
  142. /// </summary>
  143. //[Description("请求大利市买卖经纪人和经纪家数")]
  144. BrokerOrder = 't',
  145. /// <summary>
  146. /// 开收盘
  147. /// </summary>
  148. OpenClose = 'u', //123 'u'
  149. /// <summary>
  150. /// 最新一口Tik报价 包含昨持仓和持仓
  151. /// </summary>
  152. //[Description("股票最新一口Tik数据 S")]
  153. LastTik = 'v',
  154. /// <summary>
  155. /// 请求分笔数据
  156. /// </summary>
  157. ChangeDetail = 'w',
  158. /// <summary>
  159. /// 历史开收盘时段
  160. /// </summary>
  161. HisOpenClose = 124, //'z'
  162. }
  163. #endregion
  164. }