From 61b2e737b31bf034a930acc5e1450e66eced96dd Mon Sep 17 00:00:00 2001 From: injoyai <1113655791@qq.com> Date: Mon, 27 Oct 2025 09:09:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E9=9B=86=E5=90=88=E7=AB=9E=E4=BB=B7?= =?UTF-8?q?=E4=BB=8E931=E5=89=A5=E7=A6=BB=E5=87=BA=E6=9D=A5=E5=88=B0930?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/model_kline.go | 7 +++++++ 1 file changed, 7 insertions(+) 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 {