|
@@ -1,5 +1,6 @@
|
|
package com.smppw.analysis.client;
|
|
package com.smppw.analysis.client;
|
|
|
|
|
|
|
|
+import com.smppw.analysis.application.dto.BaseReq;
|
|
import com.smppw.analysis.application.dto.position.*;
|
|
import com.smppw.analysis.application.dto.position.*;
|
|
import com.smppw.analysis.application.service.position.FundFuturesOptionService;
|
|
import com.smppw.analysis.application.service.position.FundFuturesOptionService;
|
|
import com.smppw.analysis.application.service.position.FuturePositionAnalysis;
|
|
import com.smppw.analysis.application.service.position.FuturePositionAnalysis;
|
|
@@ -14,7 +15,10 @@ import com.smppw.analysis.domain.dto.position.synthesize.PositionInfoVO;
|
|
import com.smppw.analysis.domain.dto.position.synthesize.PositionListVO;
|
|
import com.smppw.analysis.domain.dto.position.synthesize.PositionListVO;
|
|
import com.smppw.analysis.domain.manager.position.bond.BondPositionService;
|
|
import com.smppw.analysis.domain.manager.position.bond.BondPositionService;
|
|
import com.smppw.common.pojo.ResultVo;
|
|
import com.smppw.common.pojo.ResultVo;
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
@@ -27,7 +31,6 @@ import java.util.Map;
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/v1/api/position")
|
|
@RequestMapping("/v1/api/position")
|
|
public class FundPositionApi {
|
|
public class FundPositionApi {
|
|
- // private final BondPositionAnalysis bond;
|
|
|
|
private final StockPositionAnalysis stock;
|
|
private final StockPositionAnalysis stock;
|
|
private final FuturePositionAnalysis future;
|
|
private final FuturePositionAnalysis future;
|
|
private final SynthesizePositionAnalysis synthesize;
|
|
private final SynthesizePositionAnalysis synthesize;
|
|
@@ -50,8 +53,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("asset-allocation")
|
|
|
|
- public ResultVo<Map<String, Object>> getAssetAllocation(AssetAllocationReq params) {
|
|
|
|
|
|
+ @PostMapping("asset-allocation")
|
|
|
|
+ public ResultVo<Map<String, Object>> getAssetAllocation(@RequestBody AssetAllocationReq params) {
|
|
return ResultVo.ok(this.synthesize.getAssetAllocation(params));
|
|
return ResultVo.ok(this.synthesize.getAssetAllocation(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -61,8 +64,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("leverage-change")
|
|
|
|
- public ResultVo<List<LeverageChangeVO>> getLeverageChange(LeverageChangeReq params) {
|
|
|
|
|
|
+ @PostMapping("leverage-change")
|
|
|
|
+ public ResultVo<List<LeverageChangeVO>> getLeverageChange(@RequestBody LeverageChangeReq params) {
|
|
return ResultVo.ok(this.synthesize.getLeverageChange(params));
|
|
return ResultVo.ok(this.synthesize.getLeverageChange(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -72,8 +75,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("position-param")
|
|
|
|
- public ResultVo<PositionInfoVO> getPositionParams(PositionInfoReq params) {
|
|
|
|
|
|
+ @PostMapping("position-param")
|
|
|
|
+ public ResultVo<PositionInfoVO> getPositionParams(@RequestBody PositionInfoReq params) {
|
|
return ResultVo.ok(this.synthesize.getPositionParams(params));
|
|
return ResultVo.ok(this.synthesize.getPositionParams(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -83,8 +86,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("position-list")
|
|
|
|
- public ResultVo<List<PositionListVO>> getPosition(PositionListReq params) {
|
|
|
|
|
|
+ @PostMapping("position-list")
|
|
|
|
+ public ResultVo<List<PositionListVO>> getPosition(@RequestBody PositionListReq params) {
|
|
return ResultVo.ok(this.synthesize.getPosition(params));
|
|
return ResultVo.ok(this.synthesize.getPosition(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -94,8 +97,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("holder-info")
|
|
|
|
- public ResultVo<List<HolderInfoVO>> getHolderInfo(HolderInfoReq params) {
|
|
|
|
|
|
+ @PostMapping("holder-info")
|
|
|
|
+ public ResultVo<List<HolderInfoVO>> getHolderInfo(@RequestBody HolderInfoReq params) {
|
|
return ResultVo.ok(this.synthesize.getHolderInfo(params));
|
|
return ResultVo.ok(this.synthesize.getHolderInfo(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -105,8 +108,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/major-change")
|
|
|
|
- public ResultVo<List<MajorChangeVO>> getMajorChange(MajorChangeReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/major-change")
|
|
|
|
+ public ResultVo<List<MajorChangeVO>> getMajorChange(@RequestBody MajorChangeReq params) {
|
|
return ResultVo.ok(this.stock.getMajorChangeList(params));
|
|
return ResultVo.ok(this.stock.getMajorChangeList(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -116,8 +119,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/crn")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockConcentration(ConcentrationReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/crn")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockConcentration(@RequestBody ConcentrationReq params) {
|
|
return ResultVo.ok(this.stock.getConcentration(params));
|
|
return ResultVo.ok(this.stock.getConcentration(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -127,8 +130,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/change-num")
|
|
|
|
- public ResultVo<List<ChangeNumberVO>> getStockChangeNumber(ChangeNumberReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/change-num")
|
|
|
|
+ public ResultVo<List<ChangeNumberVO>> getStockChangeNumber(@RequestBody ChangeNumberReq params) {
|
|
return ResultVo.ok(this.stock.getChangeNumber(params));
|
|
return ResultVo.ok(this.stock.getChangeNumber(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -138,8 +141,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/industry-allocation")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockIndustryAllocation(StockAllocationReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/industry-allocation")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockIndustryAllocation(@RequestBody StockAllocationReq params) {
|
|
return ResultVo.ok(this.stock.getIndustryAllocation(params));
|
|
return ResultVo.ok(this.stock.getIndustryAllocation(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -149,8 +152,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/industry-allocation-preference")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockIndustryAllocationPreference(StockAllocationReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/industry-allocation-preference")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockIndustryAllocationPreference(@RequestBody StockAllocationReq params) {
|
|
return ResultVo.ok(this.stock.getIndustryAllocationPreference(params));
|
|
return ResultVo.ok(this.stock.getIndustryAllocationPreference(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -160,8 +163,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/style-allocation")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockStyleAllocation(StockAllocationReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/style-allocation")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockStyleAllocation(@RequestBody StockAllocationReq params) {
|
|
return ResultVo.ok(this.stock.getStyleAllocation(params));
|
|
return ResultVo.ok(this.stock.getStyleAllocation(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -171,8 +174,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/liquidity-allocation")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockLiquidityAllocation(StockAllocationReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/liquidity-allocation")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockLiquidityAllocation(@RequestBody StockAllocationReq params) {
|
|
return ResultVo.ok(this.stock.getLiquidityAllocation(params));
|
|
return ResultVo.ok(this.stock.getLiquidityAllocation(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -182,8 +185,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/performance-attribution")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockPerformanceAttribution(StockPerformanceAttributionReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/performance-attribution")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockPerformanceAttribution(@RequestBody StockPerformanceAttributionReq params) {
|
|
return ResultVo.ok(this.stock.getPerformanceAttribution(params));
|
|
return ResultVo.ok(this.stock.getPerformanceAttribution(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -193,8 +196,8 @@ public class FundPositionApi {
|
|
* @param params /
|
|
* @param params /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("stock/barra-sensitivity")
|
|
|
|
- public ResultVo<Map<String, Object>> getStockBarraSensitivity(BarraSensitivityReq params) {
|
|
|
|
|
|
+ @PostMapping("stock/barra-sensitivity")
|
|
|
|
+ public ResultVo<Map<String, Object>> getStockBarraSensitivity(@RequestBody BarraSensitivityReq params) {
|
|
return ResultVo.ok(this.stock.getBarraSensitivity(params));
|
|
return ResultVo.ok(this.stock.getBarraSensitivity(params));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -204,8 +207,8 @@ public class FundPositionApi {
|
|
* @param param /
|
|
* @param param /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("bond/sort-allocation")
|
|
|
|
- public ResultVo<Map<String, Object>> getBondSortAllocation(BondSortAllocationParam param) {
|
|
|
|
|
|
+ @PostMapping("bond/sort-allocation")
|
|
|
|
+ public ResultVo<Map<String, Object>> getBondSortAllocation(@RequestBody BondSortAllocationParam param) {
|
|
return ResultVo.ok(bondPositionService.getBondSortAllocation(param));
|
|
return ResultVo.ok(bondPositionService.getBondSortAllocation(param));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -215,8 +218,8 @@ public class FundPositionApi {
|
|
* @param param /
|
|
* @param param /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("bond/crn")
|
|
|
|
- public ResultVo<Map<String, Object>> getBondConcentration(BondSortAllocationParam param) {
|
|
|
|
|
|
+ @PostMapping("bond/crn")
|
|
|
|
+ public ResultVo<Map<String, Object>> getBondConcentration(@RequestBody BondSortAllocationParam param) {
|
|
return ResultVo.ok(bondPositionService.getBondConcentration(param));
|
|
return ResultVo.ok(bondPositionService.getBondConcentration(param));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -226,75 +229,57 @@ public class FundPositionApi {
|
|
* @param param /
|
|
* @param param /
|
|
* @return /
|
|
* @return /
|
|
*/
|
|
*/
|
|
- @GetMapping("/bond/credit-grading")
|
|
|
|
- public ResultVo<Map<String, Object>> getBondCreditGrading(BondSortAllocationParam param) {
|
|
|
|
|
|
+ @PostMapping("/bond/credit-grading")
|
|
|
|
+ public ResultVo<Map<String, Object>> getBondCreditGrading(@RequestBody BondSortAllocationParam param) {
|
|
return ResultVo.ok(bondPositionService.getBondCreditGrading(param));
|
|
return ResultVo.ok(bondPositionService.getBondCreditGrading(param));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @param fundId 基金ID
|
|
|
|
- * @param optionType 板块类别
|
|
|
|
- * @param shType 投机/套期 1-Speculation,2-Hedging
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-futures-option", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> fundFuturesOption(@RequestParam("userId") Integer userId, @RequestParam("fundId") String fundId, @RequestParam("optionType") Integer optionType, @RequestParam(value = "shType", defaultValue = "1") Integer shType,
|
|
|
|
- @RequestParam("startDate") String startDate, @RequestParam("endDate") String endDate) {
|
|
|
|
- return fundFuturesOptionService.fundFuturesOption(userId, fundId, optionType, shType, startDate, endDate);
|
|
|
|
|
|
+ @PostMapping(value = "/fund-futures-option")
|
|
|
|
+ public ResultVo<Map<String, Object>> fundFuturesOption(@RequestBody Map<String, Object> params) {
|
|
|
|
+ return fundFuturesOptionService.fundFuturesOption(params);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @param fundId 基金ID
|
|
|
|
- * @param optionType 板块类别
|
|
|
|
- * @param shType 投机/套期 1-Speculation,2-Hedging
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-futures-option-breed", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> fundFuturesOptionForBreed(@RequestParam("userId") Integer userId, @RequestParam("fundId") String fundId, @RequestParam(value = "optionType", required = false) Integer optionType, @RequestParam(value = "shType", defaultValue = "1") Integer shType,
|
|
|
|
- @RequestParam("startDate") String startDate, @RequestParam("endDate") String endDate) {
|
|
|
|
- return fundFuturesOptionService.fundFuturesOptionForBreed(userId, fundId, optionType, shType, startDate, endDate);
|
|
|
|
|
|
+ @PostMapping(value = "/fund-futures-option-breed")
|
|
|
|
+ public ResultVo<Map<String, Object>> fundFuturesOptionForBreed(@RequestBody Map<String, Object> params) {
|
|
|
|
+ return fundFuturesOptionService.fundFuturesOptionForBreed(params);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 板块持仓分析
|
|
* 板块持仓分析
|
|
*
|
|
*
|
|
- * @param fundId
|
|
|
|
- * @param optionType
|
|
|
|
- * @param shType
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-position-analysis", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> fundPositionAnalysis(@RequestParam("userId") Integer userId, @RequestParam("fundId") String fundId, @RequestParam("optionType") Integer optionType, @RequestParam(value = "shType", defaultValue = "1") Integer shType,
|
|
|
|
- @RequestParam("startDate") String startDate, @RequestParam("endDate") String endDate) {
|
|
|
|
- return fundFuturesOptionService.fundPositionAnalysis(userId, fundId, optionType, shType, startDate, endDate);
|
|
|
|
|
|
+ @PostMapping(value = "/fund-position-analysis")
|
|
|
|
+ public ResultVo<Map<String, Object>> fundPositionAnalysis(@RequestBody Map<String, Object> params) {
|
|
|
|
+ return fundFuturesOptionService.fundPositionAnalysis(params);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* 板块持仓分析
|
|
* 板块持仓分析
|
|
*
|
|
*
|
|
- * @param fundId
|
|
|
|
- * @param optionType
|
|
|
|
- * @param shType
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-position-analysis-line", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> fundPositionAnalysisLine(@RequestParam("userId") Integer userId, @RequestParam("fundId") String fundId, @RequestParam(value = "optionType", required = false, defaultValue = "0") Integer optionType, @RequestParam(value = "shType", defaultValue = "1", required = false) Integer shType,
|
|
|
|
- @RequestParam("startDate") String startDate, @RequestParam("endDate") String endDate) {
|
|
|
|
- return fundFuturesOptionService.fundPositionAnalysisLine(userId, fundId, optionType, shType, startDate, endDate);
|
|
|
|
|
|
+ @PostMapping(value = "/fund-position-analysis-line")
|
|
|
|
+ public ResultVo<Map<String, Object>> fundPositionAnalysisLine(@RequestBody Map<String, Object> params) {
|
|
|
|
+ return fundFuturesOptionService.fundPositionAnalysisLine(params);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
* 衍生品杠杆与保证金
|
|
* 衍生品杠杆与保证金
|
|
*
|
|
*
|
|
- * @param fundId
|
|
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-derivative-leverage-margin", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> fundDerivativeLeverageMargin(@RequestParam("userId") Integer userId, @RequestParam("fundId") String fundId, @RequestParam(value = "shType", required = false) Integer shType,
|
|
|
|
- @RequestParam("startDate") String startDate, @RequestParam("endDate") String endDate) {
|
|
|
|
- return fundFuturesOptionService.fundDerivativeLeverageMargin(userId, fundId, shType, startDate, endDate);
|
|
|
|
|
|
+ @PostMapping(value = "/fund-derivative-leverage-margin")
|
|
|
|
+ public ResultVo<Map<String, Object>> fundDerivativeLeverageMargin(@RequestBody Map<String, Object> params) {
|
|
|
|
+ return fundFuturesOptionService.fundDerivativeLeverageMargin(params);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -304,76 +289,16 @@ public class FundPositionApi {
|
|
* @param params
|
|
* @param params
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-marginal-risk-contribution", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, Object>> getFutureRiskCont(MarginalRiskContributionReq params) {
|
|
|
|
|
|
+ @PostMapping(value = "/fund-marginal-risk-contribution")
|
|
|
|
+ public ResultVo<Map<String, Object>> getFutureRiskCont(@RequestBody MarginalRiskContributionReq params) {
|
|
return ResultVo.ok(this.future.riskCont(params));
|
|
return ResultVo.ok(this.future.riskCont(params));
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @RequestMapping(value = "/fund-futures-option-view", method = RequestMethod.GET)
|
|
|
|
- public ResultVo<Map<String, List<String>>> fundFuturesOptionView() {
|
|
|
|
|
|
+ @PostMapping(value = "/fund-futures-option-view")
|
|
|
|
+ public ResultVo<Map<String, List<String>>> fundFuturesOptionView(@RequestBody BaseReq.DefaultReq req) {
|
|
return fundFuturesOptionService.fundFuturesOptionView();
|
|
return fundFuturesOptionService.fundFuturesOptionView();
|
|
}
|
|
}
|
|
-
|
|
|
|
-// /**
|
|
|
|
-// * 公募私募,债券-久期分析
|
|
|
|
-// *
|
|
|
|
-// * @param params /
|
|
|
|
-// * @return /
|
|
|
|
-// */
|
|
|
|
-// @GetMapping("bond/duration-analysis")
|
|
|
|
-// public ResultVo<List<DurationAnalysisVO>> getBondDurationAnalysis(DurationAnalysisParams params) {
|
|
|
|
-// return null;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// /**
|
|
|
|
-// * 公募私募,债券-收益风险
|
|
|
|
-// *
|
|
|
|
-// * @param params /
|
|
|
|
-// * @return /
|
|
|
|
-// */
|
|
|
|
-// @GetMapping("bond/profit-risk")
|
|
|
|
-// public ResultVo<List<ProfitRiskVO>> getBondProfitRisk(ProfitRiskParams params) {
|
|
|
|
-// return null;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// /**
|
|
|
|
-// * 公募私募,债券-业绩归因
|
|
|
|
-// *
|
|
|
|
-// * @param params /
|
|
|
|
-// * @return /
|
|
|
|
-// */
|
|
|
|
-// @GetMapping("bond/performance-attribution")
|
|
|
|
-// public ResultVo<List<BondPerformanceAttributionVO>> getBondPerformanceAttribution(BondPerformanceAttributionParams params) {
|
|
|
|
-// return null;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// /**
|
|
|
|
-// * 公募私募,债券-债券分类配置及明细
|
|
|
|
-// *
|
|
|
|
-// * @param params /
|
|
|
|
-// * @return /
|
|
|
|
-// */
|
|
|
|
-// @GetMapping("bond/asset-allocation")
|
|
|
|
-// public ResultVo<List<BondAssetAllocationVO>> getBondAssetAllocation(BondAssetAllocationParams params) {
|
|
|
|
-// return null;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// /**
|
|
|
|
-// * 公募私募,债券-集中度
|
|
|
|
-// *
|
|
|
|
-// * @param params /
|
|
|
|
-// * @return /
|
|
|
|
-// */
|
|
|
|
-// @GetMapping("bond/crn")
|
|
|
|
-// public ResultVo<List<ConcentrationVO>> getBondConcentration(ConcentrationParams params) {
|
|
|
|
-// return null;
|
|
|
|
-// }
|
|
|
|
-//
|
|
|
|
-// @GetMapping("future/risk-cont")
|
|
|
|
-// public ResultVo<Map<String, Object>> getFutureRiskCont(MarginalRiskContributionParams params) {
|
|
|
|
-// return ResultVo.ok(this.future.riskCont(params));
|
|
|
|
-// }
|
|
|
|
}
|
|
}
|