mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +00:00
Merge pull request #981 from frin1/fix/optimizer-limit-results
fix optimizer limit
This commit is contained in:
commit
4c0fdee668
|
@ -130,7 +130,7 @@ var optimizeCmd = &cobra.Command{
|
|||
continue
|
||||
}
|
||||
|
||||
if len(values) < resultLimit && resultLimit != 0 {
|
||||
if len(values) > resultLimit && resultLimit != 0 {
|
||||
values = values[:resultLimit]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user