The StockSharp.Reporting component can now generate a complete Excel report from scratch. Previously, the generator was primarily designed to populate a prepared file. A template is no longer required to create a finished .xlsx workbook with a complete structure, formatting, and charts.
The report includes a dashboard, run parameters, an equity curve, and statistics. Separate worksheets for trades and orders can be added when enabled. The dashboard contains equity and drawdown charts, while numeric metrics use configurable precision. Worksheet names are localized, and existing English-language templates remain compatible with their standard sheet names.
The generator writes to a stream, so a report can be saved to a file, returned by a web application, or placed in custom storage without using an intermediate path on disk. The IReportSource interface decouples reporting from a specific strategy class: any object that provides parameters, statistics, trades, orders, and a P&L series can serve as a source. Template-based generation remains available for projects with custom layouts.
Comments (0)
Login or Create account, Log in or register to leave a comment
No comments yet. Be the first!