IReportSource
StockSharp.Reporting
The interface for providing data to report generators. Decouples reports from concrete strategy implementation.
Properties
Orders
public IEnumerable<ReportOrder> Orders { get; }
value = iReportSource.Orders
Orders collection.
OwnTrades
public IEnumerable<ReportTrade> OwnTrades { get; }
value = iReportSource.OwnTrades
Own trades collection.
Parameters
public IEnumerable<ValueTuple<string, object>> Parameters { get; }
value = iReportSource.Parameters
Get strategy parameters as name-value pairs.
Positions
public IEnumerable<ReportPosition> Positions { get; }
value = iReportSource.Positions
Position round-trips collection.
StatisticParameters
public IEnumerable<ValueTuple<string, object>> StatisticParameters { get; }
value = iReportSource.StatisticParameters
Statistic parameters as name-value pairs.
TotalWorkingTime
public TimeSpan TotalWorkingTime { get; }
value = iReportSource.TotalWorkingTime
The total time of strategy operation.
Methods
Prepare
public void Prepare()
iReportSource.Prepare()
Prepare data for report generation. Call this before accessing any data to ensure all values are up-to-date.