EmulationStateMessage

StockSharp.Messages

The message, informing about the emulator state change.

Inherits: Message

Implements: IErrorMessage

Constructors

EmulationStateMessage
public EmulationStateMessage()
emulationStateMessage = EmulationStateMessage()

Initializes a new instance of the EmulationStateMessage.

Properties

Error
public Exception Error { get; set; }
value = emulationStateMessage.Error
emulationStateMessage.Error = value

Error info.

StartDate
public DateTime StartDate { get; set; }
value = emulationStateMessage.StartDate
emulationStateMessage.StartDate = value

Date in history for starting the paper trading.

State
public ChannelStates State { get; set; }
value = emulationStateMessage.State
emulationStateMessage.State = value

State.

StopDate
public DateTime StopDate { get; set; }
value = emulationStateMessage.StopDate
emulationStateMessage.StopDate = value

Date in history to stop the paper trading (date is included).

Methods

Clone
public override Message Clone()
result = emulationStateMessage.Clone()

Create a copy of EmulationStateMessage.

Returns: Copy.