HistoryEndMessage
StockSharp.Algo.Testing
The replay holds no more history of a security before the run's stop, so the emulator closes its market.
Inherits: Message
Implements: ISecurityIdMessage, IServerTimeMessage
Constructors
HistoryEndMessage
public HistoryEndMessage()
historyEndMessage = HistoryEndMessage()
Initializes a new instance of the HistoryEndMessage.
Properties
SecurityId
public SecurityId SecurityId { get; set; }
value = historyEndMessage.SecurityId
historyEndMessage.SecurityId = value
Security ID.
ServerTime
public DateTime ServerTime { get; set; }
value = historyEndMessage.ServerTime
historyEndMessage.ServerTime = value
The moment of the replay at which the history ran out.
Methods
Clone
public override Message Clone()
result = historyEndMessage.Clone()
Create a copy of HistoryEndMessage.
Returns: Copy.
ToString
public override string ToString()
result = historyEndMessage.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.