Direction.cs 534 B

12345678910111213141516171819202122232425262728
  1. using Muchinfo.MTPClient.Data.Helper;
  2. namespace Muchinfo.MTPClient.Data.Enums
  3. {
  4. /// <summary>
  5. /// 建仓方向枚举
  6. /// </summary>
  7. public enum Direction
  8. {
  9. /// <summary>
  10. /// 转换器使用转换时不设置值
  11. /// </summary>
  12. unSet = -1,
  13. /// <summary>
  14. /// 买
  15. /// </summary>
  16. [ItemDisc("Domain_BuyIn")]
  17. Bid = 0,
  18. /// <summary>
  19. /// 卖
  20. /// </summary>
  21. [ItemDisc("Content_SellOut")]
  22. Ask = 1,
  23. }
  24. }