fund_riskadjret_stats_dolphin.sql 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. USE raw_db;
  2. -- DROP TABLE fund_riskadjret_stats_dolphin;
  3. CREATE TABLE `fund_riskadjret_stats_dolphin` (
  4. `fund_id` varchar(10) NOT NULL COMMENT '基金id',
  5. `end_date` varchar(7) NOT NULL COMMENT '截至日期',
  6. `sharperatio_6m` decimal(22,6) DEFAULT NULL,
  7. `sortinoratio_6m` decimal(22,6) DEFAULT NULL,
  8. `treynorratio_6m` decimal(22,6) DEFAULT NULL,
  9. `jensen_6m` decimal(22,6) DEFAULT NULL,
  10. `calmarratio_6m` decimal(22,6) DEFAULT NULL,
  11. `omegaratio_6m` decimal(22,6) DEFAULT NULL,
  12. `kapparatio_6m` decimal(22,6) DEFAULT NULL,
  13. `sharperatio_1y` decimal(22,6) DEFAULT NULL,
  14. `sortinoratio_1y` decimal(22,6) DEFAULT NULL,
  15. `treynorratio_1y` decimal(22,6) DEFAULT NULL,
  16. `jensen_1y` decimal(22,6) DEFAULT NULL,
  17. `calmarratio_1y` decimal(22,6) DEFAULT NULL,
  18. `omegaratio_1y` decimal(22,6) DEFAULT NULL,
  19. `kapparatio_1y` decimal(22,6) DEFAULT NULL,
  20. `sharperatio_2y` decimal(22,6) DEFAULT NULL,
  21. `sortinoratio_2y` decimal(22,6) DEFAULT NULL,
  22. `treynorratio_2y` decimal(22,6) DEFAULT NULL,
  23. `jensen_2y` decimal(22,6) DEFAULT NULL,
  24. `calmarratio_2y` decimal(22,6) DEFAULT NULL,
  25. `omegaratio_2y` decimal(22,6) DEFAULT NULL,
  26. `kapparatio_2y` decimal(22,6) DEFAULT NULL,
  27. `sharperatio_3y` decimal(22,6) DEFAULT NULL,
  28. `sortinoratio_3y` decimal(22,6) DEFAULT NULL,
  29. `treynorratio_3y` decimal(22,6) DEFAULT NULL,
  30. `jensen_3y` decimal(22,6) DEFAULT NULL,
  31. `calmarratio_3y` decimal(22,6) DEFAULT NULL,
  32. `omegaratio_3y` decimal(22,6) DEFAULT NULL,
  33. `kapparatio_3y` decimal(22,6) DEFAULT NULL,
  34. `sharperatio_4y` decimal(22,6) DEFAULT NULL,
  35. `sortinoratio_4y` decimal(22,6) DEFAULT NULL,
  36. `treynorratio_4y` decimal(22,6) DEFAULT NULL,
  37. `jensen_4y` decimal(22,6) DEFAULT NULL,
  38. `calmarratio_4y` decimal(22,6) DEFAULT NULL,
  39. `omegaratio_4y` decimal(22,6) DEFAULT NULL,
  40. `kapparatio_4y` decimal(22,6) DEFAULT NULL,
  41. `sharperatio_5y` decimal(22,6) DEFAULT NULL,
  42. `sortinoratio_5y` decimal(22,6) DEFAULT NULL,
  43. `treynorratio_5y` decimal(22,6) DEFAULT NULL,
  44. `jensen_5y` decimal(22,6) DEFAULT NULL,
  45. `calmarratio_5y` decimal(22,6) DEFAULT NULL,
  46. `omegaratio_5y` decimal(22,6) DEFAULT NULL,
  47. `kapparatio_5y` decimal(22,6) DEFAULT NULL,
  48. `sharperatio_10y` decimal(22,6) DEFAULT NULL,
  49. `sortinoratio_10y` decimal(22,6) DEFAULT NULL,
  50. `treynorratio_10y` decimal(22,6) DEFAULT NULL,
  51. `jensen_10y` decimal(22,6) DEFAULT NULL,
  52. `calmarratio_10y` decimal(22,6) DEFAULT NULL,
  53. `omegaratio_10y` decimal(22,6) DEFAULT NULL,
  54. `kapparatio_10y` decimal(22,6) DEFAULT NULL,
  55. `sharperatio_ytd` decimal(22,6) DEFAULT NULL,
  56. `sortinoratio_ytd` decimal(22,6) DEFAULT NULL,
  57. `treynorratio_ytd` decimal(22,6) DEFAULT NULL,
  58. `jensen_ytd` decimal(22,6) DEFAULT NULL,
  59. `calmarratio_ytd` decimal(22,6) DEFAULT NULL,
  60. `omegaratio_ytd` decimal(22,6) DEFAULT NULL,
  61. `kapparatio_ytd` decimal(22,6) DEFAULT NULL,
  62. `sharperatio_incep` decimal(22,6) DEFAULT NULL,
  63. `sortinoratio_incep` decimal(22,6) DEFAULT NULL,
  64. `treynorratio_incep` decimal(22,6) DEFAULT NULL,
  65. `jensen_incep` decimal(22,6) DEFAULT NULL,
  66. `calmarratio_incep` decimal(22,6) DEFAULT NULL,
  67. `omegaratio_incep` decimal(22,6) DEFAULT NULL,
  68. `kapparatio_incep` decimal(22,6) DEFAULT NULL,
  69. PRIMARY KEY (`fund_id`,`end_date`)
  70. ) COMMENT='DolphinDB写回的基金历史风险调整收益指标表'