ChartData.h 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //
  2. // ChartData.h
  3. // ChartView
  4. //
  5. // Created by Simon Zhou on 14-6-11.
  6. // Copyright (c) 2014年 muchinfo. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface ChartData : NSObject
  10. @property (nonatomic, strong) NSDecimalNumber *opened; //!< @brief 开盘价
  11. @property (nonatomic, strong) NSDecimalNumber *highest; //!< @brief 最高价
  12. @property (nonatomic, strong) NSDecimalNumber *lowest; //!< @brief 最低价
  13. @property (nonatomic, strong) NSDecimalNumber *closed; //!< @brief 收盘价
  14. @property (nonatomic, strong) NSDate *startTime; //!< @brief 时间
  15. @property (nonatomic, strong) NSDecimalNumber *totleVolume; //!< @brief 总量 8 byte
  16. @property (nonatomic, strong) NSDecimalNumber *totleTurnover; //!< @brief 总额 8 byte
  17. @property (nonatomic, assign) BOOL isSupp; //!< @brief 是否为补数据
  18. //平均线相关
  19. @property (nonatomic,strong) NSDecimalNumber *ma5;
  20. @property (nonatomic,strong) NSDecimalNumber *ma10;
  21. @property (nonatomic,strong) NSDecimalNumber *ma15;
  22. @property (nonatomic,strong) NSDecimalNumber *ma50;
  23. //MACD相关
  24. @property (nonatomic,strong) NSDecimalNumber *ema12;
  25. @property (nonatomic,strong) NSDecimalNumber *ema26;
  26. @property (nonatomic,strong) NSDecimalNumber *dif;
  27. @property (nonatomic,strong) NSDecimalNumber *dea;
  28. @property (nonatomic,strong) NSDecimalNumber *macd;
  29. //KDJ相关
  30. @property (nonatomic,strong) NSDecimalNumber *kt;
  31. @property (nonatomic,strong) NSDecimalNumber *dt;
  32. @property (nonatomic,strong) NSDecimalNumber *jt;
  33. @property (nonatomic,strong) NSDecimalNumber *rsv;
  34. //RSI相关
  35. @property (nonatomic,strong) NSDecimalNumber *rsi1;
  36. @property (nonatomic,strong) NSDecimalNumber *rsi2;
  37. @property (nonatomic,strong) NSDecimalNumber *rsi3;
  38. //CCI相关
  39. @property (nonatomic,strong) NSDecimalNumber *tp;
  40. @property (nonatomic,strong) NSDecimalNumber *ma;
  41. @property (nonatomic,strong) NSDecimalNumber *md;
  42. @property (nonatomic,strong) NSDecimalNumber *cci;
  43. //DMA相关
  44. @property (nonatomic,strong) NSDecimalNumber *dma;
  45. @property (nonatomic,strong) NSDecimalNumber *ama;
  46. //BIAS相关
  47. @property (nonatomic,strong) NSDecimalNumber *bias1;
  48. @property (nonatomic,strong) NSDecimalNumber *bias2;
  49. @property (nonatomic,strong) NSDecimalNumber *bias3;
  50. //PSY相关
  51. @property (nonatomic,strong) NSDecimalNumber *psy;
  52. @property (nonatomic,strong) NSDecimalNumber *psyma;
  53. //WR相关
  54. @property (nonatomic,strong) NSDecimalNumber *wr;
  55. //CR相关
  56. @property (nonatomic,strong) NSDecimalNumber *crma1;
  57. @property (nonatomic,strong) NSDecimalNumber *crma2;
  58. @property (nonatomic,strong) NSDecimalNumber *crma3;
  59. @property (nonatomic,strong) NSDecimalNumber *crma4;
  60. @property (nonatomic,strong) NSDecimalNumber *cr;
  61. //VOL相关
  62. @property (nonatomic,strong) NSDecimalNumber *vol5;
  63. @property (nonatomic,strong) NSDecimalNumber *vol10;
  64. //分时图相关
  65. @property (nonatomic,strong) NSDecimalNumber *tsma;
  66. @end