mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +00:00
collect symbols
This commit is contained in:
parent
e196d7dfb1
commit
f3f6e4e68b
|
@ -465,6 +465,7 @@ var BacktestCmd = &cobra.Command{
|
|||
InitialTotalBalances: initTotalBalances,
|
||||
FinalTotalBalances: finalTotalBalances,
|
||||
Manifests: manifests,
|
||||
Symbols: nil,
|
||||
}
|
||||
|
||||
for _, session := range environ.Sessions() {
|
||||
|
@ -474,6 +475,7 @@ var BacktestCmd = &cobra.Command{
|
|||
return err
|
||||
}
|
||||
|
||||
summaryReport.Symbols = append(summaryReport.Symbols, symbol)
|
||||
summaryReport.SymbolReports = append(summaryReport.SymbolReports, *symbolReport)
|
||||
|
||||
// write report to a file
|
||||
|
@ -654,4 +656,3 @@ func rewriteManifestPaths(manifests backtest.Manifests, basePath string) (backte
|
|||
}
|
||||
return filterManifests, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user