|
@@ -1479,31 +1479,55 @@ type MaxMinLimits struct {
|
|
|
|
|
|
// 自定义同期均线
|
|
// 自定义同期均线
|
|
type SamePeriodAverage struct {
|
|
type SamePeriodAverage struct {
|
|
- Color string `description:"颜色"`
|
|
|
|
- Year int `description:"均线取值范围"`
|
|
|
|
- Legend string `description:"图例名称"`
|
|
|
|
- LineType string `description:"线型"`
|
|
|
|
- LineWidth int `description:"线宽"`
|
|
|
|
- Value float64 `description:"均线值"`
|
|
|
|
- IsShow bool `description:"是否显示"`
|
|
|
|
|
|
+ Color string `description:"颜色"`
|
|
|
|
+ Year int `description:"均线取值范围"`
|
|
|
|
+ Legend string `description:"图例名称"`
|
|
|
|
+ LineType string `description:"线型"`
|
|
|
|
+ LineWidth int `description:"线宽"`
|
|
|
|
+ IsShow bool `description:"是否显示"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+// 自定义同期均线
|
|
|
|
+type SamePeriodAverageResp struct {
|
|
|
|
+ Color string `description:"颜色"`
|
|
|
|
+ Year int `description:"均线取值范围"`
|
|
|
|
+ Legend string `description:"图例名称"`
|
|
|
|
+ LineType string `description:"线型"`
|
|
|
|
+ LineWidth int `description:"线宽"`
|
|
|
|
+ IsShow bool `description:"是否显示"`
|
|
|
|
+ List []*SamePeriodAverageData `description:"自定义均线列表"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type SamePeriodAverageData struct {
|
|
|
|
+ DataTime string `description:"数据日期"`
|
|
|
|
+ DataTimestamp int64 `description:"数据日期时间戳"`
|
|
|
|
+ Value float64 `description:"均值"`
|
|
}
|
|
}
|
|
|
|
|
|
// 自定义同期标准差
|
|
// 自定义同期标准差
|
|
type SamePeriodStandardDeviation struct {
|
|
type SamePeriodStandardDeviation struct {
|
|
- Color string `description:"颜色"`
|
|
|
|
- Year int `description:"标准差取值范围"`
|
|
|
|
- Legend string `description:"图例名称"`
|
|
|
|
- Multiple int `description:"标准差倍数"`
|
|
|
|
- MaxValue float64 `description:"上限"`
|
|
|
|
- MinValue float64 `description:"上限"`
|
|
|
|
- IsShow bool `description:"是否显示"`
|
|
|
|
|
|
+ Color string `description:"颜色"`
|
|
|
|
+ Year int `description:"标准差取值范围"`
|
|
|
|
+ Legend string `description:"图例名称"`
|
|
|
|
+ Multiple int `description:"标准差倍数"`
|
|
|
|
+ IsShow bool `description:"是否显示"`
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+type SamePeriodStandardDeviationResp struct {
|
|
|
|
+ Color string `description:"颜色"`
|
|
|
|
+ Year int `description:"标准差取值范围"`
|
|
|
|
+ Legend string `description:"图例名称"`
|
|
|
|
+ Multiple int `description:"标准差倍数"`
|
|
|
|
+ IsShow bool `description:"是否显示"`
|
|
|
|
+ List []*MaxMinLimitsData `description:"自定义标准差列表"`
|
|
}
|
|
}
|
|
|
|
|
|
type SeasonChartResp struct {
|
|
type SeasonChartResp struct {
|
|
- MaxMinLimits MaxMinLimitsResp `description:"自定义上下限"`
|
|
|
|
- SamePeriodAverage SamePeriodAverage `description:"自定义同期均线"`
|
|
|
|
- SamePeriodStandardDeviation SamePeriodStandardDeviation `description:"自定义同期标准差线"`
|
|
|
|
|
|
+ MaxMinLimits MaxMinLimitsResp `description:"自定义上下限"`
|
|
|
|
+ SamePeriodAverage SamePeriodAverageResp `description:"自定义同期均线"`
|
|
|
|
+ SamePeriodStandardDeviation SamePeriodStandardDeviationResp `description:"自定义同期标准差线"`
|
|
}
|
|
}
|
|
|
|
+
|
|
type MaxMinLimitsResp struct {
|
|
type MaxMinLimitsResp struct {
|
|
List []*MaxMinLimitsData `description:"自定义上下限列表"`
|
|
List []*MaxMinLimitsData `description:"自定义上下限列表"`
|
|
Color string `description:"颜色"`
|
|
Color string `description:"颜色"`
|
|
@@ -1511,6 +1535,7 @@ type MaxMinLimitsResp struct {
|
|
Legend string `description:"图例名称"`
|
|
Legend string `description:"图例名称"`
|
|
IsShow bool `description:"是否显示"`
|
|
IsShow bool `description:"是否显示"`
|
|
}
|
|
}
|
|
|
|
+
|
|
type MaxMinLimitsData struct {
|
|
type MaxMinLimitsData struct {
|
|
DataTime string `description:"数据日期"`
|
|
DataTime string `description:"数据日期"`
|
|
DataTimestamp int64 `description:"数据日期时间戳"`
|
|
DataTimestamp int64 `description:"数据日期时间戳"`
|