IReportSource
StockSharp.Reporting
The interface for providing data to report generators. Decouples reports from concrete strategy implementation.
Eigenschaften
Commission : decimal?
Total commission.
Orders : IEnumerable<ReportOrder>
Orders collection.
OwnTrades : IEnumerable<ReportTrade>
Own trades collection.
Parameters : IEnumerable<ValueTuple<string, object>>
Get strategy parameters as name-value pairs.
Positions : IEnumerable<ReportPosition>
Position round-trips collection.
StatisticParameters : IEnumerable<ValueTuple<string, object>>
Statistic parameters as name-value pairs.
TotalWorkingTime : TimeSpan
The total time of strategy operation.
Methoden
Prepare()
Prepare data for report generation. Call this before accessing any data to ensure all values are up-to-date.