mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 23:35:14 +00:00
call findTops
This commit is contained in:
parent
147ca9b132
commit
f56214699a
|
@ -406,8 +406,9 @@ func (s *Strategy) Run(ctx context.Context, orderExecutor bbgo.OrderExecutor, se
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
klines := dataStore.KLineWindows[s.Interval]
|
kLines := dataStore.KLineWindows[s.Interval]
|
||||||
_ = klines
|
tops := findTopKLine(kLines, 10)
|
||||||
|
_ = tops
|
||||||
|
|
||||||
// TODO: 2) Allocate grid object here
|
// TODO: 2) Allocate grid object here
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user