Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Increase Report Key Statistics Decimal Places

Open AlexCatarino opened this issue 1 year ago • 0 comments

Expected Behavior

Key statistics values have 3 decimal places.

Actual Behavior

They vary from 0 to 1.

Captura de ecrã 2024-12-16 215138

Proposed Solution

Move format from Element (e.g.: CAGR): https://github.com/QuantConnect/Lean/blob/master/Report/ReportElements/CAGRReportElement.cs#L63 to template. https://github.com/QuantConnect/Lean/blob/master/Report/template.html#L72

Checklist

  • [x] I have completely filled out this template
  • [x] I have confirmed that this issue exists on the current master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues
  • [x] I have provided detailed steps to reproduce the issue

AlexCatarino avatar Dec 16 '24 22:12 AlexCatarino