chart_info_future_good.go 1.1 KB

123456789101112131415161718192021
  1. package data_manage
  2. // FutureGoodProfitChartInfoReq 图表预览请求数据
  3. type FutureGoodProfitChartInfoReq struct {
  4. FutureGoodEdbInfoIdList []EdbInfoFromTag `description:"指标信息"`
  5. CalculateFormula string `description:"计算公式"`
  6. BaseEdbInfoId int `description:"基础的指标id"`
  7. DateList []FutureGoodProfitChartInfoDateReq `description:"日期配置"`
  8. ProfitNameEn string `description:"利润英文名称"`
  9. EdbInfoIdList []int `description:"现货指标ID列表"`
  10. XDataList []XData `description:"横轴配置"`
  11. }
  12. // FutureGoodProfitChartInfoDateReq 图表的日期数据(日期相关)
  13. type FutureGoodProfitChartInfoDateReq struct {
  14. Type int `description:"配置类型"`
  15. Date string `description:"固定日期"`
  16. Value int `description:"N天的值"`
  17. Color string `description:"颜色"`
  18. Name string `description:"别名"`
  19. }