factor_edb_series.go 1.1 KB

12345678910111213141516171819202122232425
  1. package request
  2. import "eta/eta_api/models/data_manage"
  3. // AddFactorEdbSeriesReq 新增因子指标系列
  4. type AddFactorEdbSeriesReq struct {
  5. SeriesName string `description:"系列名称"`
  6. EdbInfoType int `description:"指标类型: 0-普通指标; 1-预测指标"`
  7. Calculates []data_manage.FactorEdbSeriesCalculatePars `description:"多步骤计算方式"`
  8. EdbInfoIds []int `description:"指标IDs"`
  9. }
  10. // EditFactorEdbSeriesReq 编辑因子指标系列
  11. type EditFactorEdbSeriesReq struct {
  12. SeriesId int `description:"系列ID"`
  13. AddFactorEdbSeriesReq
  14. Recalculate bool `description:"是否需要重新计算"`
  15. }
  16. // FactorEdbSeriesCorrelationMatrixReq 因子指标系列-相关性矩阵
  17. type FactorEdbSeriesCorrelationMatrixReq struct {
  18. BaseEdbInfoId int `description:"标的指标ID"`
  19. SeriesIds []int `description:"因子指标系列IDs"`
  20. Correlation data_manage.CorrelationConfig `description:"相关性配置"`
  21. }