add lastUpdate to candle and max
This commit is contained in:
parent
bd504831c3
commit
460ccc07e4
2
maX.go
2
maX.go
@ -37,7 +37,7 @@ 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.Timestamp, _ = Int64ToTime(mx.Ts)
|
||||
cstr := strconv.Itoa(mx.Count)
|
||||
tss := strconv.FormatInt(mx.Ts, 10)
|
||||
//校验时间戳是否合法
|
||||
|
Loading…
x
Reference in New Issue
Block a user