add lastUpdate to candle and maX

This commit is contained in:
zhangkun9038@dingtalk.com 2024-12-18 16:22:12 +08:00
parent 96fe3abe92
commit 5242033e5b

View File

@ -315,6 +315,7 @@ func MakeMaX(cr *core.Core, cl *core.Candle, count int) (error, int) {
}
tm, _ := core.Int64ToTime(tsi)
fmt.Println("max tm:", tm)
mx := core.MaX{
KeyName: keyName,
InstID: cl.InstID,