Table of Contents

Class SettingsManager

Namespace
Balsam
Assembly
Balsam.Backtester.dll

A static class for managing default settings.

public static class SettingsManager
Inheritance
SettingsManager
Inherited Members

Properties

AuditTrailOutputFolder

Gets/sets the output folder for the audit trail files.

public static string AuditTrailOutputFolder { get; set; }

Property Value

string

BaseCurrency

Gets/sets the base currency.

public static string BaseCurrency { get; set; }

Property Value

string

EnableAuditTrail

Gets/sets whether the audit trail is enabled.

public static bool EnableAuditTrail { get; set; }

Property Value

bool

FXDirectory

Gets/sets the directory used to intialize an FXServer if one isn't specified.

public static string FXDirectory { get; set; }

Property Value

string

LimitFillModel

Gets/sets the limit fill model used in simulations. Defaults to price cross limit.

public static LimitFillModel LimitFillModel { get; set; }

Property Value

LimitFillModel

MoneyManagementTemplate

Gets/sets the default money management template file.

public static string MoneyManagementTemplate { get; set; }

Property Value

string

OptimizationReportFields

Gets/sets a comma-delimited list of fields to export for optimization reports. See TradeStatFields class for static constants with field names.

public static string OptimizationReportFields { get; set; }

Property Value

string

PerformanceStats

Gets/sets the type used to calculate MoneyManager performance statistics.

public static Type PerformanceStats { get; set; }

Property Value

Type

ReportWriter

Gets/sets the report writer type

public static Type ReportWriter { get; set; }

Property Value

Type

StrategyTemplate

Gets/sets the default strategy template file.

public static string StrategyTemplate { get; set; }

Property Value

string

Methods

Load(string)

Loads the specified xml file setting the static properties of SettingsManager.

public static void Load(string fileName)

Parameters

fileName string

Save()

Saves the settings xml file using the default name.

public static void Save()

Save(string)

Saves the settings file using the specified file name.

public static void Save(string fileName)

Parameters

fileName string