add lastUpdate to candle and max
This commit is contained in:
parent
df06658a2d
commit
bd504831c3
1
maX.go
1
maX.go
@ -38,7 +38,6 @@ type WillMX struct {
|
||||
func (mx MaX) SetToKey(cr *Core) ([]interface{}, error) {
|
||||
// fmt.Println(utils.GetFuncName(), " step1 ", mx.InstID, " ", mx.Period)
|
||||
mx.Timestamp, _ = Int64ToTime(mx.Ts)
|
||||
mx.LastUpdate = time.Now()
|
||||
cstr := strconv.Itoa(mx.Count)
|
||||
tss := strconv.FormatInt(mx.Ts, 10)
|
||||
//校验时间戳是否合法
|
||||
|
Loading…
x
Reference in New Issue
Block a user