call findTops

This commit is contained in:
c9s 2021-11-03 00:22:24 +08:00 committed by c9s
parent 147ca9b132
commit f56214699a
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -406,8 +406,9 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
return
}
klines := dataStore.KLineWindows[s.Interval]
_ = klines
kLines := dataStore.KLineWindows[s.Interval]
tops := findTopKLine(kLines, 10)
_ = tops
// TODO: 2) Allocate grid object here