OrderStatus.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. using Muchinfo.MTPClient.Data.Helper;
  2. namespace Muchinfo.MTPClient.Data.Enums
  3. {
  4. /// <summary>
  5. /// 订单状态
  6. /// </summary>
  7. public enum OrderStatus
  8. {
  9. /// <summary>
  10. /// 委托请求
  11. /// </summary>
  12. [ItemDisc("Enum_Request")]
  13. Request = 0,
  14. /// <summary>
  15. /// 冻结保证金
  16. /// </summary>
  17. [ItemDisc("Enum_Freeze")]
  18. Freeze = 1,
  19. /// <summary>
  20. /// 解冻保证金
  21. /// </summary>
  22. [ItemDisc("Enum_Unfreeze")]
  23. Unfreeze = 2,
  24. /// <summary>
  25. /// 订单在市
  26. /// </summary>
  27. [ItemDisc("Enum_InMarket")]
  28. Market =3,
  29. /// <summary>
  30. /// 订单取消
  31. /// </summary>
  32. [ItemDisc("Enum_Cancel")]
  33. Cancel =4,
  34. /// <summary>
  35. /// 订单完成
  36. /// </summary>
  37. [ItemDisc("Enum_Finished")]
  38. Finished = 5,
  39. /// <summary>
  40. /// 止损止盈待触发
  41. /// </summary>
  42. [ItemDisc("Enum_Pending")]
  43. Pending = 6,
  44. /// <summary>
  45. /// 转单中
  46. /// </summary>
  47. [ItemDisc("Enum_Transfering")]
  48. Transfering=7,
  49. /// <summary>
  50. /// 委托成功
  51. /// </summary>
  52. [ItemDisc("Enum_Succeed")]
  53. Succeed = 20,
  54. /// <summary>
  55. /// 委托拒绝
  56. /// </summary>
  57. [ItemDisc("Enum_Failed")]
  58. Failed = 21,
  59. /// <summary>
  60. /// 待撤
  61. /// </summary>
  62. [ItemDisc("Enum_WaitCancel")]
  63. WaitCancel = 22,
  64. /// <summary>
  65. /// 已撤
  66. /// </summary>
  67. [ItemDisc("Enum_Canceled")]
  68. Canceled = 23,
  69. /// <summary>
  70. /// 部成
  71. /// </summary>
  72. [ItemDisc("Enum_PartialDeal")]
  73. PartialDeal = 24,
  74. /// <summary>
  75. /// 已成
  76. /// </summary>
  77. [ItemDisc("Enum_DEALED")]
  78. Dealed = 25,
  79. /// <summary>
  80. /// 部成部撤
  81. /// </summary>
  82. [ItemDisc("Enum_PartialCanceled")]
  83. PartialCanceled = 26,
  84. /// <summary>
  85. /// 待审核
  86. /// </summary>
  87. [ItemDisc("Enum_SaleWaitforcheck")]
  88. SaleWaitforcheck=30,
  89. /// <summary>
  90. /// 审核拒绝
  91. /// </summary>
  92. [ItemDisc("Enum_SaleApplydeny")]
  93. SaleApplydeny=31,
  94. /// <summary>
  95. /// 资金占用请求
  96. /// </summary>
  97. [ItemDisc("Enum_OccupyRequest")]
  98. OccupyRequest=32,
  99. }
  100. }