Table of Contents

Class BaseReportGenerator

Namespace
StockSharp.Algo.Strategies.Reporting
Assembly
StockSharp.Algo.dll

The base report generator for strategies.

public abstract class BaseReportGenerator : IReportGenerator
Inheritance
BaseReportGenerator
Implements
Derived
Inherited Members
Extension Methods

Constructors

BaseReportGenerator()

Initialize BaseReportGenerator.

protected BaseReportGenerator()

Properties

Extension

Extension without leading dot char.

public abstract string Extension { get; }

Property Value

string

IncludeOrders

To add Order to the report. Order are added by default.

public bool IncludeOrders { get; set; }

Property Value

bool

IncludeTrades

To add MyTrade to the report. MyTrade are added by default.

public bool IncludeTrades { get; set; }

Property Value

bool

Name

Name.

public abstract string Name { get; }

Property Value

string

Methods

Generate(Strategy, string, CancellationToken)

To generate the report.

public abstract ValueTask Generate(Strategy strategy, string fileName, CancellationToken cancellationToken)

Parameters

strategy Strategy

Strategy.

fileName string

The name of the file, in which the report is generated.

cancellationToken CancellationToken

CancellationToken.

Returns

ValueTask