Class EmulationSettings
Emulation settings.
Implements
Ecng.Serialization.IPersistable
Inherited Members
Namespace: StockSharp.Algo.Strategies.Testing
Assembly: StockSharp.Algo.dll
Syntax
[DisplayNameLoc("Settings")]
[DescriptionLoc("Str1408", false)]
public class EmulationSettings : MarketEmulatorSettings, IPersistable
Constructors
EmulationSettings()
Создать EmulationSettings.
Declaration
public EmulationSettings()
Properties
BatchSize
Number of simultaneously tested strategies.
Declaration
public int BatchSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
CheckTradableDates
Check loading dates are they tradable.
Declaration
public bool CheckTradableDates { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
DepthDataMode
What market depths to use.
Declaration
public EmulationMarketDataModes DepthDataMode { get; set; }
Property Value
Type | Description |
---|---|
EmulationMarketDataModes |
LogLevel
Logging level.
Declaration
[CategoryLoc("Str12")]
public LogLevels LogLevel { get; set; }
Property Value
Type | Description |
---|---|
LogLevels |
MarketTimeChangedInterval
Time change interval.
Declaration
public TimeSpan MarketTimeChangedInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
OrderLogDataMode
Use orders log.
Declaration
public EmulationMarketDataModes OrderLogDataMode { get; set; }
Property Value
Type | Description |
---|---|
EmulationMarketDataModes |
StartTime
Дата в истории, с которой необходимо начать эмуляцию.
Declaration
public DateTime StartTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
StopTime
Дата в истории, на которой необходимо закончить эмуляцию (дата включается).
Declaration
public DateTime StopTime { get; set; }
Property Value
Type | Description |
---|---|
DateTime |
TradeDataMode
What trades to use.
Declaration
public EmulationMarketDataModes TradeDataMode { get; set; }
Property Value
Type | Description |
---|---|
EmulationMarketDataModes |
UnrealizedPnLInterval
Unrealized profit recalculation interval.
Declaration
public Nullable<TimeSpan> UnrealizedPnLInterval { get; set; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
Methods
Load(SettingsStorage)
Загрузить состояние параметров эмуляции.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Storage. |
Overrides
Save(SettingsStorage)
Сохранить состояние параметров эмуляции.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Storage. |
Overrides
Implements
Ecng.Serialization.IPersistable