diff --git a/protocol/model_kline.go b/protocol/model_kline.go index abd9dac..26d83a0 100644 --- a/protocol/model_kline.go +++ b/protocol/model_kline.go @@ -293,7 +293,14 @@ func (this Klines) Merge(n int) Klines { if n <= 1 { return this } + ks := Klines(nil) + + if this[0].Time.Hour() == 9 && this[0].Time.Minute() == 30 { + ks = append(ks, this[0]) + this = this[1:] + } + ls := Klines(nil) for i := 0; ; i++ { if len(this) <= i*n {