add lastUpdate to candle and maX

This commit is contained in:
zhangkun9038@dingtalk.com 2024-12-18 16:12:19 +08:00
parent b144131770
commit 41e90a2fc5

View File

@ -322,6 +322,7 @@ func MakeMaX(cr *core.Core, cl *core.Candle, count int) (error, int) {
Count: count,
Ts: tsi,
AvgVal: avgLast,
Timestamp: cl.Timestamp,
}
// MaX的Data里包含三个有效信息时间戳平均值计算平均值所采用的数列长度
dt := []interface{}{}