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
BaseCurrency
Gets/sets the base currency.
public static string BaseCurrency { get; set; }
Property Value
EnableAuditTrail
Gets/sets whether the audit trail is enabled.
public static bool EnableAuditTrail { get; set; }
Property Value
FXDirectory
Gets/sets the directory used to intialize an FXServer if one isn't specified.
public static string FXDirectory { get; set; }
Property Value
LimitFillModel
Gets/sets the limit fill model used in simulations. Defaults to price cross limit.
public static LimitFillModel LimitFillModel { get; set; }
Property Value
MoneyManagementTemplate
Gets/sets the default money management template file.
public static string MoneyManagementTemplate { get; set; }
Property Value
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
PerformanceStats
Gets/sets the type used to calculate MoneyManager performance statistics.
public static Type PerformanceStats { get; set; }
Property Value
ReportWriter
Gets/sets the report writer type
public static Type ReportWriter { get; set; }
Property Value
StrategyTemplate
Gets/sets the default strategy template file.
public static string StrategyTemplate { get; set; }
Property Value
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