We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Be able to retrieve Statistics.Summary as soon as possible.
Statistics.Summary
Statistics.Summary is empty in live mode (at least on deployment day)
It appears that LEAN doesn't generate statistics because it hasn't sampled the benchmark yet:
charts.TryGetValue(BenchmarkKey, out var benchmarkChart) && benchmarkChart.Series.TryGetValue(BenchmarkKey, out var benchmark)
Lean\Engine\Results\BaseResultsHandler.cs line 859
A potential solution is to sample the benchmark or skip statistics that take it into account.
Live deployment that logs the summary:
statistics = self.Statistics.Summary statisticsStr = "\n\t".join([f"{kvp.Key}: {kvp.Value}" for kvp in statistics])
statisticsStr is an empty string.
statisticsStr
master
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Be able to retrieve
Statistics.Summary
as soon as possible.Actual Behavior
Statistics.Summary
is empty in live mode (at least on deployment day)Potential Solution
It appears that LEAN doesn't generate statistics because it hasn't sampled the benchmark yet:
Lean\Engine\Results\BaseResultsHandler.cs line 859
A potential solution is to sample the benchmark or skip statistics that take it into account.
Reproducing the Problem
Live deployment that logs the summary:
statisticsStr
is an empty string.Checklist
master
branchThe text was updated successfully, but these errors were encountered: