summary

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package summary builds and renders backtest summary reports to a terminal.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(acct ReportablePortfolio, writer io.Writer) error

Render builds a complete backtest summary report from acct and writes the lipgloss-styled output to writer.

Types

type ReportablePortfolio

type ReportablePortfolio interface {
	portfolio.Portfolio
	portfolio.PortfolioStats
}

ReportablePortfolio is the interface required by the summary renderer. It composes read-only portfolio access with statistical queries needed for the full report.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL