fund_riskadjret_stats_dolphin.sql 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. USE mfdb;
  2. CREATE TABLE `fund_riskadjret_stats_dolphin` (
  3. `fund_id` varchar(10) NOT NULL COMMENT '基金id',
  4. `end_date` varchar(7) NOT NULL COMMENT '截至日期',
  5. `sharperatio_6m` decimal(22,6) DEFAULT NULL,
  6. `sharperatio_1y` decimal(22,6) DEFAULT NULL,
  7. `sharperatio_2y` decimal(22,6) DEFAULT NULL,
  8. `sharperatio_3y` decimal(22,6) DEFAULT NULL,
  9. `sharperatio_4y` decimal(22,6) DEFAULT NULL,
  10. `sharperatio_5y` decimal(22,6) DEFAULT NULL,
  11. `sharperatio_10y` decimal(22,6) DEFAULT NULL,
  12. `sharperatio_ytd` decimal(22,6) DEFAULT NULL,
  13. `sharperatio_incep` decimal(22,6) DEFAULT NULL,
  14. `sortinoratio_6m` decimal(22,6) DEFAULT NULL,
  15. `sortinoratio_1y` decimal(22,6) DEFAULT NULL,
  16. `sortinoratio_2y` decimal(22,6) DEFAULT NULL,
  17. `sortinoratio_3y` decimal(22,6) DEFAULT NULL,
  18. `sortinoratio_4y` decimal(22,6) DEFAULT NULL,
  19. `sortinoratio_5y` decimal(22,6) DEFAULT NULL,
  20. `sortinoratio_10y` decimal(22,6) DEFAULT NULL,
  21. `sortinoratio_ytd` decimal(22,6) DEFAULT NULL,
  22. `sortinoratio_incep` decimal(22,6) DEFAULT NULL,
  23. `treynorratio_6m` decimal(22,6) DEFAULT NULL,
  24. `treynorratio_1y` decimal(22,6) DEFAULT NULL,
  25. `treynorratio_2y` decimal(22,6) DEFAULT NULL,
  26. `treynorratio_3y` decimal(22,6) DEFAULT NULL,
  27. `treynorratio_4y` decimal(22,6) DEFAULT NULL,
  28. `treynorratio_5y` decimal(22,6) DEFAULT NULL,
  29. `treynorratio_10y` decimal(22,6) DEFAULT NULL,
  30. `treynorratio_ytd` decimal(22,6) DEFAULT NULL,
  31. `treynorratio_incep` decimal(22,6) DEFAULT NULL,
  32. `jensen_6m` decimal(22,6) DEFAULT NULL,
  33. `jensen_1y` decimal(22,6) DEFAULT NULL,
  34. `jensen_2y` decimal(22,6) DEFAULT NULL,
  35. `jensen_3y` decimal(22,6) DEFAULT NULL,
  36. `jensen_4y` decimal(22,6) DEFAULT NULL,
  37. `jensen_5y` decimal(22,6) DEFAULT NULL,
  38. `jensen_10y` decimal(22,6) DEFAULT NULL,
  39. `jensen_ytd` decimal(22,6) DEFAULT NULL,
  40. `jensen_incep` decimal(22,6) DEFAULT NULL,
  41. `calmarratio_6m` decimal(22,6) DEFAULT NULL,
  42. `calmarratio_1y` decimal(22,6) DEFAULT NULL,
  43. `calmarratio_2y` decimal(22,6) DEFAULT NULL,
  44. `calmarratio_3y` decimal(22,6) DEFAULT NULL,
  45. `calmarratio_4y` decimal(22,6) DEFAULT NULL,
  46. `calmarratio_5y` decimal(22,6) DEFAULT NULL,
  47. `calmarratio_10y` decimal(22,6) DEFAULT NULL,
  48. `calmarratio_ytd` decimal(22,6) DEFAULT NULL,
  49. `calmarratio_incep` decimal(22,6) DEFAULT NULL,
  50. `omegaratio_6m` decimal(22,6) DEFAULT NULL,
  51. `omegaratio_1y` decimal(22,6) DEFAULT NULL,
  52. `omegaratio_2y` decimal(22,6) DEFAULT NULL,
  53. `omegaratio_3y` decimal(22,6) DEFAULT NULL,
  54. `omegaratio_4y` decimal(22,6) DEFAULT NULL,
  55. `omegaratio_5y` decimal(22,6) DEFAULT NULL,
  56. `omegaratio_10y` decimal(22,6) DEFAULT NULL,
  57. `omegaratio_ytd` decimal(22,6) DEFAULT NULL,
  58. `omegaratio_incep` decimal(22,6) DEFAULT NULL,
  59. `kapparatio_6m` decimal(22,6) DEFAULT NULL,
  60. `kapparatio_1y` decimal(22,6) DEFAULT NULL,
  61. `kapparatio_2y` decimal(22,6) DEFAULT NULL,
  62. `kapparatio_3y` decimal(22,6) DEFAULT NULL,
  63. `kapparatio_4y` decimal(22,6) DEFAULT NULL,
  64. `kapparatio_5y` decimal(22,6) DEFAULT NULL,
  65. `kapparatio_10y` decimal(22,6) DEFAULT NULL,
  66. `kapparatio_ytd` decimal(22,6) DEFAULT NULL,
  67. `kapparatio_incep` decimal(22,6) DEFAULT NULL,
  68. `creatorid` int DEFAULT NULL COMMENT '创建者Id,默认第一次创建者名称,创建后不变更',
  69. `createtime` datetime DEFAULT NULL COMMENT '创建时间,默认第一次创建的getdate()时间',
  70. `updaterid` int DEFAULT NULL COMMENT '修改者Id;第一次创建时与Creator值相同,修改时与修改人值相同',
  71. `updatetime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间;第一次创建时与CreatTime值相同,修改时与修改时间相同',
  72. `isvalid` tinyint NOT NULL DEFAULT '1' COMMENT '记录的有效性;1-有效;0-无效;',
  73. PRIMARY KEY (`fund_id`,`end_date`),
  74. KEY (`end_date`),
  75. KEY (`updatetime`)
  76. ) COMMENT='DolphinDB写回的基金历史风险调整收益指标表'