Class MoexLchiMessageAdapter
- Namespace
- StockSharp.MoexLchi
- Assembly
- StockSharp.MoexLchi.dll
The message adapter for StockSharp.MoexLchi.
[MediaIcon("MoexLchi_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Lchi", Description = "MarketDataConnector", GroupName = "Russia")]
[MessageAdapterCategory(MessageAdapterCategories.Russia|MessageAdapterCategories.History|MessageAdapterCategories.Free|MessageAdapterCategories.OrderLog)]
public class MoexLchiMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged
- Inheritance
-
MoexLchiMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
MoexLchiMessageAdapter(IdGenerator)
Initializes a new instance of the MoexLchiMessageAdapter.
public MoexLchiMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Properties
AllYears
All years when the contest held.
public static IEnumerable<DateTime> AllYears { get; }
Property Value
Methods
GetHistoryStepSize(SecurityId, DataType, out TimeSpan)
Get maximum size step allowed for historical download.
public override TimeSpan GetHistoryStepSize(SecurityId securityId, DataType dataType, out TimeSpan iterationInterval)
Parameters
securityId
SecurityIddataType
DataTypeData type info.
iterationInterval
TimeSpanInterval between iterations.
Returns
- TimeSpan
Step.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.