Class HistorySourceMessage
- Namespace
- StockSharp.Algo.Testing
- Assembly
- StockSharp.Algo.dll
Market-data message with historical source.
public class HistorySourceMessage : MarketDataMessage, ISubscriptionIdMessage, ISecurityIdMessage, ISubscriptionMessage, ITransactionIdMessage, IOriginalTransactionIdMessage, IMessage, ILocalTimeMessage, ICloneable, IGeneratedMessage
- Inheritance
-
HistorySourceMessage
- Implements
- Inherited Members
- Extension Methods
Constructors
HistorySourceMessage()
Initializes a new instance of the HistorySourceMessage.
public HistorySourceMessage()
Properties
GetMessages
Callback to retrieve historical data for the specified date.
public Func<DateTimeOffset, IEnumerable<Message>> GetMessages { get; set; }
Property Value
Methods
Clone()
Create a copy of HistorySourceMessage.
public override Message Clone()
Returns
- Message
Copy.
CopyTo(HistorySourceMessage)
Copy the message into the destination
.
public void CopyTo(HistorySourceMessage destination)
Parameters
destination
HistorySourceMessageThe object, to which copied information.