add lastUpdate to candle and max
This commit is contained in:
parent
fe376c6be8
commit
104143800a
1
maX.go
1
maX.go
@ -95,6 +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
|
||||
fmt.Println("did of max:", did)
|
||||
mx0 := MaX{}
|
||||
mx0.InstID = mx.InstID
|
||||
mx0.Period = mx.Period
|
||||
|
Loading…
x
Reference in New Issue
Block a user