TradeCloseMode.cs 699 B

12345678910111213141516171819202122232425262728293031
  1. using Muchinfo.MTPClient.Data.Helper;
  2. namespace Muchinfo.MTPClient.Data.Enums
  3. {
  4. public enum TradeCloseMode
  5. {
  6. /// <summary>
  7. /// 有效
  8. /// </summary>
  9. IsVailed = -1,
  10. /// <summary>
  11. /// 平今日
  12. /// </summary>
  13. [ItemDisc("Trade_CloseToday")]
  14. CloseToday = 0,
  15. /// <summary>
  16. /// 平历史
  17. /// </summary>
  18. [ItemDisc("Trade_CloseHistory")]
  19. CloseHistory = 1,
  20. /// <summary>
  21. /// 不区分今仓和历史仓
  22. /// </summary>
  23. CloseAll = 2,
  24. /// <summary>
  25. /// 平仓模式最大值
  26. /// </summary>
  27. MAX = 3,
  28. }
  29. }