Click or drag to resize

ExcelStrategyReport Class

The report generator for the strategy in the Excel format.
Inheritance Hierarchy
SystemObject
  StockSharp.Algo.Strategies.ReportingStrategyReport
    StockSharp.Algo.Strategies.ReportingExcelStrategyReport

Namespace:  StockSharp.Algo.Strategies.Reporting
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public class ExcelStrategyReport : StrategyReport

The ExcelStrategyReport type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDecimals
The number of decimal places. By default, it equals to 2.
Public propertyExcelVersion
The Excel version. It affects the maximal number of strings. The default value is 2007.
Public propertyFileName
The name of the file, in which the report is generated.
(Inherited from StrategyReport.)
Public propertyIncludeOrders
To add orders to the report. Orders are added by default.
Public propertyStrategies
Strategies, requiring the report generation.
(Inherited from StrategyReport.)
Public propertyTemplate
The template file, to be copied into FileName and filled up with Strategy, Orders and Trades sheets.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFormat(DateTimeOffset)
To format the date in string.
(Inherited from StrategyReport.)
Protected methodFormat(NullableTimeSpan)
To format the date in string.
(Inherited from StrategyReport.)
Protected methodFormat(OrderStates)
Convert order state into string.
(Inherited from StrategyReport.)
Protected methodFormat(NullableOrderTypes)
To format the order type in string.
(Inherited from StrategyReport.)
Protected methodFormat(Sides)
Convert order side into string.
(Inherited from StrategyReport.)
Public methodGenerate
To generate the report.
(Overrides StrategyReportGenerate.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also