AccountStatus.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using Muchinfo.MTPClient.Data.Helper;
  2. namespace Muchinfo.MTPClient.Data.Enums
  3. {
  4. public enum AccountStatus
  5. {
  6. /// <summary>
  7. /// 不使用
  8. /// </summary>
  9. [ItemDisc("AccountStatus_None")]
  10. None = int.MinValue,
  11. /// <summary>
  12. /// 未激活->待激活
  13. /// </summary>
  14. [ItemDisc("AccountStatus_InActive")]
  15. InActive = 0,
  16. /// <summary>
  17. /// 正常
  18. /// </summary>
  19. [ItemDisc("AccountStatus_Normal")]
  20. Normal = 1,
  21. /// <summary>
  22. /// 注销->已注销
  23. /// </summary>
  24. [ItemDisc("AccountStatus_Off")]
  25. Off = 2,
  26. /// <summary>
  27. /// 受限
  28. /// </summary>
  29. [ItemDisc("AccountStatus_Restricted")]
  30. Restricted = 3,
  31. /// <summary>
  32. /// 冻结
  33. /// </summary>
  34. [ItemDisc("AccountStatus_Freeze")]
  35. Freeze = 4,
  36. /// <summary>
  37. /// 禁用->禁止建仓(人工受限)
  38. /// </summary>
  39. [ItemDisc("Domain_Fobidden")]
  40. Forbidden = 5,
  41. /// <summary>
  42. /// 禁止交易(人工冻结)
  43. /// </summary>
  44. [ItemDisc("Domain_FORBIDDENTRADE")]
  45. FORBIDDENTRADE = 6,
  46. /// <summary>
  47. /// 人工冻结
  48. /// </summary>
  49. [ItemDisc("Domain_ArtificalFreeze")]
  50. ManualFreeze = 7,
  51. }
  52. }