add lastUpdate to candle and max
This commit is contained in:
parent
b835d2c040
commit
fa18553b9c
2
maX.go
2
maX.go
@ -95,7 +95,7 @@ func Int64ToTime(ts int64) (time.Time, error) {
|
||||
func (mx *MaX) PushToWriteLogChan(cr *Core) error {
|
||||
s := strconv.FormatFloat(float64(mx.Ts), 'f', 0, 64)
|
||||
did := mx.InstID + mx.Period + s
|
||||
logrus.Error("did of max:", did)
|
||||
logrus.Debug("did of max:", did)
|
||||
mx0 := MaX{}
|
||||
mx0.InstID = mx.InstID
|
||||
mx0.Period = mx.Period
|
||||
|
Loading…
x
Reference in New Issue
Block a user