add lastUpdate to candle and max
This commit is contained in:
parent
bcf0347002
commit
49b7411728
@ -249,6 +249,7 @@ func (cl *Candle) ToStruct(core *Core) (*Candle, error) {
|
||||
ncd.Period = cl.Period
|
||||
ncd.InstID = cl.InstID
|
||||
ncd.From = cl.From
|
||||
ncd.LastUpdate = cl.LastUpdate
|
||||
|
||||
// 将字符串转换为 int64 类型的时间戳
|
||||
ts, err := strconv.ParseInt(cl.Data[0].(string), 10, 64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user